powered by
This function retrieves data from the Finna API and formats it as a tidy tibble.
fetch_finna( query = NULL, limit = 0, facets = "building", lng = "fi", prettyPrint = TRUE )
A tibble containing the fetched data with relevant fields.
The query string for filtering results. Defaults to NULL, which fetches data without a specific search term.
Maximum number of results to fetch. Defaults to 0.
Facet to retrieve, defaults to "building".
Language for results, defaults to "fi".
Logical, whether to pretty-print JSON responses.
if (FALSE) { fetch_finna(query = "record_format:ead", limit = 0) fetch_finna() # Fetches data with no specific query }
Run the code above in your browser using DataLab