This function retrieves data from the Finna API and formats it as a tidy tibble.
Arguments
- query
The query string for filtering results. Defaults to NULL, which fetches data without a specific search term.
- limit
Maximum number of results to fetch. Defaults to 0.
- facets
Facet to retrieve, defaults to "building".
- lng
Language for results, defaults to "fi".
- prettyPrint
Logical, whether to pretty-print JSON responses.