View source: R/get_finna_records.R
get_finna_records | R Documentation |
This function retrieves multiple Finna records based on a vector of record IDs. You can specify which fields to return, the language, and the pagination options.
get_finna_records(
ids,
field = NULL,
prettyPrint = FALSE,
lng = "fi",
page = 1,
limit = 100
)
ids |
A vector of record IDs to retrieve. |
field |
A vector of fields to return. Defaults to NULL, which returns all default fields. |
prettyPrint |
Logical; whether to pretty-print the response. Defaults to FALSE. |
lng |
Language for returned translated strings. Defaults to "fi". |
page |
The page number to retrieve. Defaults to 1. |
limit |
The number of records to return per page. Defaults to 20. |
A tibble containing the retrieved records data with provenance information.
records <- get_finna_records("fikka.3405646", field = "title", prettyPrint = TRUE, lng = "en-gb")
print(records)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.