View source: R/utils-canada-extract-samples-from-db.R
canada_extract_samples_from_db | R Documentation |
Extract the Canadian biological sample data from the GFBIOSQL
database
The data frame returned will be raw and unfiltered
canada_extract_samples_from_db(
dr = "/srv/hake/other/samples",
ret_df = FALSE,
overwrite = FALSE,
unsorted_only = FALSE,
species_code = 225
)
dr |
The directory to save the samples RDS file in |
ret_df |
Logical. If |
overwrite |
Logical. Overwrite the RDS file for sample data if it exists |
unsorted_only |
Only include unsorted samples. For hake in Canada,
this needs to be |
species_code |
The DFO Groundfish database species code; default: 225 (hake) |
If ret_df
is TRUE
, return the sample data frame. If ret_df
is FALSE
, return nothing, write an RDS file instead
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.