Download USA-NPN data using the API interface
pr_dl_npn(
species = 3,
phenophase = 371,
start = "2000-01-01",
end = "2017-01-01",
extent = NULL,
internal = TRUE,
path = tempdir()
)
A species to download, either specified by its species number or species name. list species numbers and names with check_npn_species(list = TRUE)
A phenophase number to filter for, a list of phenophases is provided by check_npn_phenophases()
start date in YYYY-MM-DD format
end date in YYYY-MM-DD format
geographic coordinates constraining the output, defined as bottom left, top right c(lon1, lat1, lon2, lat2) if null returns all data (default = NULL)
completes download internally in a temporary directory
the path where to save the downloaded data
will return a data farme for the selected species, phenophase, temporal and spatial extent or save the data to an RDS file
if (FALSE) {
pr_dl_npn(species = 3, internal = FALSE)
}