save_response_rds | R Documentation |
Save the query object as an RDS file, which stores the entire state of the query and can be loaded at a later time.
save_response_rds(query, filename)
query |
The query object to be saved. |
filename |
(character) Name of the file to be saved. |
Nothing.
library(ArctosR)
if (interactive()) {
# Request to download all available data
query <- get_records(
scientific_name = "Canis lupus", guid_prefix = "MSB:Mamm",
columns = list("guid", "parts", "partdetail")
)
# Save the data in a .RDS file
save_response_rds(query, "wolves.RDS")
}
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.