Learn R Programming

vectorsurvR (version 1.3.2)

getPools: Get Pools data

Description

Retrieves VectorSurv pools data for desired year range

Usage

getPools(token, start_year, end_year, arthropod, agency_ids = NULL)

Value

Dataframe of pools data

Arguments

token

access token retrived 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

Examples

Run this code
if (FALSE) {
token = getToken()
getPools(token, start_year = 2020, end_year = 2021, arthropod = 'tick', 55)}

Run the code above in your browser using DataLab