Load summary data for eBird Status and Trends stixels

Description

eBird Status and Trends divides space and time into variably sized "stixels" within which individual base models are fit. The process of stixelization is performed many times and the prediction at any given point is the median of the predictions from all the stixels that that point falls in. This function loads summary statistics for each stixel, for example, the size of the stixels and the number of observations within each stixel.

Usage

load_stixels(path, ext, return_sf = FALSE)


Arguments

 path character; directory that the Status and Trends data for a given species was downloaded to. This path is returned by ebirdst_download() or get_species_path(). ext ebirdst_extent object; the spatiotemporal extent to filter the data to. The spatial component of the extent object must be provided in unprojected, latitude-longitude coordinates. return_sf logical; whether to return an sf object of spatial points rather then the default data frame.

Value

Data frame, or sf object if return_sf = TRUE, containing stixel summary data. Data are organized with one stixel per row and each stixel identified by a unique stixel_id, the centroid of each stixel in space and time is specified by lat, lon, and date.

Examples

## Not run: