load_test_preds: Test data predictions loader

Description Usage Arguments Value Examples

View source: R/ebirdst-loading.R

Description

Loads the model predictions for each checklist in the test dataset. Median, and upper and lower confidence intervals are provided for predicted occurrence, count, and relative abundance.

Usage

1
load_test_preds(path, return_sf = FALSE)

Arguments

path

character; full path to the directory containing single species eBird Status and Trends products.

return_sf

logical; whether to return an sf object of spatial points rather then the default data frame.

Value

data.frame containing median, and upper and lower confidence intervals are provided for predicted occurrence, count, and relativce abundance.

Examples

1
2
3
4
5
6
7
8
9
## Not run: 
# download example data
sp_path <- ebirdst_download("example_data", tifs_only = FALSE)

# test data
test_preds <- load_test_preds(sp_path)
dplyr::glimpse(test_preds)

## End(Not run)

ebirdst documentation built on Jan. 16, 2021, 5:16 p.m.