View source: R/make_ebird_spatial.R
make_ebird_spatial | R Documentation |
Converts eBird (preferably zero-filled data) into a simple features spatial object.
make_ebird_spatial( df, crs.target = 4326, dir.out = NULL, max.checklists = 10, grid = NULL, overwrite = FALSE )
df |
A data frame with columns c(lat, lon) and optional attributes (columns). |
crs.target |
the integer representing the target CRS. |
dir.out |
path to where the resulting spatial data frame will be saved. If NULL will not save to file. |
max.checklists |
Maximum number of eBird checklists to retain within a single grid cell and year combination. |
grid |
a spatial grid over which the eBird data will be overlaid. |
overwrite |
logical if TRUE will overwrite any existing file named "ebird_spatial.rds" in path dir.out |
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.