getArthroCollections {vectorsurvR} | R Documentation |
Get arthropod collections data
Description
'getArthroCollections()' obtains collections data on a year range [start_year, end_year] for authorized VectorSurv Gateway accounts.
Usage
getArthroCollections(token, start_year, end_year, arthropod, agency_id = NULL)
Arguments
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_id |
Filter on agency id, default to NULL for all available agencies, otherwise specify a single agency by code |
Value
A dataframe of collections data specific to users account
Examples
## Not run:
token = getToken()
collections = getArthroCollections(token, 2021, 2022, 'mosquito')
## End(Not run)
[Package vectorsurvR version 0.2.0 Index]