View source: R/nabat_gql_queries.R
get_nightly_data | R Documentation |
Returns a dataframe with Detection history (long format) that can be used to create a wide format per species
get_nightly_data(
token,
sp_code,
survey_type = "bulk_sae",
sample_frame = NULL,
project_id = NULL,
years = NULL,
branch = "prod",
url = NULL,
aws_gql = NULL,
aws_alb = NULL,
docker = FALSE
)
token |
List token created from get_nabat_gql_token() or get_refresh_token() |
sp_code |
Character NABat species code/s from get_species() |
survey_type |
(optional) String 'bulk_sae' | 'bulk_mae' | 'bulk_hib' | 'bulk_mat' |
sample_frame |
(optional) String 'CONUS' | 'Alaska' | 'Canada' | 'Mexico' | 'Pureto Rico' | 'Hawaii' |
project_id |
Numeric for a project id or multiple project ids |
years |
(optional) Numeric for all years to be extracted for this data |
branch |
(optional) String that defaults to 'prod' but can also be 'dev'|'beta'|'local' |
url |
(optional) String url to use for GQL |
aws_gql |
(optional) String url to use in aws |
aws_alb |
(optional) String url to use in aws |
docker |
(optional) Boolean if being run in docker container or not |
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.