query_data | R Documentation |
query racebase
query_data(region, species, yrs = NULL, afsc_user, afsc_pwd, nbs = FALSE)
region |
specific region for data ('GOA', 'AI') |
species |
species_codes e.g., c(10110, 21740) |
yrs |
minimum year to consider (default: NULL) |
afsc_user |
afsc database username |
afsc_pwd |
afsc database password |
nbs |
switch to include northern Bering Sea data (default: FALSE) |
csv files of length, specimen, cpue, strata data and species codes will be stored in 'data/' folder
query_date(region = 'AI',
species = c(30060,21740,10110,30420,21921,21720,10130,30020),
yrs = 2015,
afsc_user = 'your_username',
afsc_pwd = 'your_password')
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.