View source: R/save_for_offline.R
load_offline_data | R Documentation |
This function loads previously saved 'Finna' search results from a local .rds
file for offline access.
load_offline_data(file_name = "offline_search_results")
file_name |
A string representing the name of the file to load. The function automatically appends ".rds" if not already included. |
A tibble or data frame containing the loaded search results.
## Not run:
search_results <- search_finna("sibelius")
save_for_offline(search_results, "sibelius_search_results")
offline_data <- load_offline_data("sibelius_search_results")
print(offline_data)
## End(Not run)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.