load_data_factory | R Documentation |
Factory to create loading functions for various species
load_data_factory(species_name, file)
species_name |
The species name as can be used in extraction with gfdata::get_commercial_samples and similar functions |
file |
The filename to load from |
A function which can be used to load data automatically
## Not run:
load_data_pcod <- load_data_factory("pacific cod",
file = here::here(
"generated-data",
"pacific-cod.rds"
)
)
## End(Not run)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.