if (FALSE) {
# Basic usage with default parameters
token <- getToken()
plot <- plotVectorAbundance(
token = token,
interval = "Week",
target_year = 2024,
species = "Cx pipiens",
trap = "CO2"
)
# Compare multiple years with custom date range
plot <- plotVectorAbundance(
token = token,
interval = "Month",
target_year = 2024,
start_year = 2020,
end_year = 2024,
species = "Ae aegypti",
trap = c("BG", "CDC"),
sex = "female",
trapnight_min = 3
)
}
Run the code above in your browser using DataLab