View source: R/fetch_viola_records.R
fetch_viola_records | R Documentation |
This function fetches records from the Finna API in chunks divided by year ranges, handling missing date values.
fetch_viola_records(
base_query = "*",
base_filters = c("collection:\"VIO\""),
year_ranges = list(c(0, as.numeric(format(Sys.Date(), "%Y")))),
include_na = TRUE,
limit_per_query = 1e+05,
total_limit = Inf,
delay_after_query = 5
)
base_query |
The base query string, defaults to "*". |
base_filters |
A character vector of filters for the search, e.g., |
year_ranges |
A list of numeric vectors specifying year ranges, e.g., |
include_na |
Whether to include records with missing |
limit_per_query |
Maximum number of records to fetch per query. Default is 100000. |
total_limit |
Maximum number of records to fetch overall. Default is |
delay_after_query |
Delay in seconds between queries. Default is 5. |
A tibble containing all fetched records.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.