View source: R/getArthroCollections.R
getArthroCollections | R Documentation |
'getArthroCollections()' obtains collections data on a year range [start_year, end_year] for authorized VectorSurv Gateway accounts.
getArthroCollections(
token,
start_year,
end_year,
arthropod,
agency_ids = NULL,
spatial_features = NULL
)
token |
A valid access token returned from 'getToken()' |
start_year |
Start year of data |
end_year |
End year of data |
arthropod |
Specify arthropod type from: 'mosquito', 'tick' |
agency_ids |
Filter on agency id, default to NULL for all available agencies,otherwise provide a vector of agency ids, such as 'agency_ids = c(55,56)' |
spatial_features |
Filter data by spatial feature |
A dataframe of collections data
## Not run:
token = getToken()
collections = getArthroCollections(token, 2021, 2022, 'mosquito',c(55,56), TRUE)
## End(Not run)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.