load_ranges | R Documentation |
Range polygons are defined as the boundaries of non-zero seasonal relative
abundance estimates, which are then (optionally) smoothed to produce more
aesthetically pleasing polygons using the smoothr
package.
load_ranges(path, resolution = c("mr", "lr"), smoothed = TRUE)
path |
character; directory that the Status and Trends data for a given
species was downloaded to. This path is returned by |
resolution |
character; the raster resolution from which the range polygons were derived. |
smoothed |
logical; whether smoothed or unsmoothed ranges should be loaded. |
An sf
update containing the seasonal range boundaries, with each
season provided as a different feature.
## Not run: # download example data path <- ebirdst_download("example_data") # or get the path if you already have the data downloaded path <- get_species_path("example_data") # load smoothed ranges # note that only low res data are provided for the example data ranges <- load_range(path, resolution = "lr") ## End(Not run)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.