make_ebird_spatial: Create an SF object for eBird Observations

View source: R/make_ebird_spatial.R

make_ebird_spatialR Documentation

Create an SF object for eBird Observations

Description

Converts eBird (preferably zero-filled data) into a simple features spatial object.

Usage

make_ebird_spatial(
  df,
  crs.target = 4326,
  dir.out = NULL,
  max.checklists = 10,
  grid = NULL,
  overwrite = FALSE
)

Arguments

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


trashbirdecology/bbsebird documentation built on June 30, 2022, 12:18 a.m.