getPools | R Documentation |
Retrieves VectorSurv pools data for desired year range
getPools(token, start_year, end_year, arthropod, agency_ids = NULL)
token |
access token retrieved from 'getToken()' |
start_year |
Beginning of year range |
end_year |
End of year range |
arthropod |
Specify arthropod type from: 'mosquito', 'tick', 'nontick' |
agency_ids |
Filter on agency id, default to NULL for all available agencies, otherwise provide a vector of agency ids |
Dataframe of pools data
## Not run:
token = getToken()
getPools(token, start_year = 2020, end_year = 2021, arthropod = 'tick', 55)
## End(Not run)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.