R/data.R

#' Example roads
#'
#' A dataset containing roads near Clearwater Lake, Manitoba.
#'
#' Roads are from the Canadian National Road Network (NRN) with all
#' corresponding fields.
#'
#' @format An `sf` (see [sf::st_sf()]) object with 172 roads and 48 variables.
#' See the source below for details.
#'
#' @source <https://open.canada.ca/data/en/dataset/3d282116-e556-400c-9306-ca1a3cada77f>
#' @examples
#' library(sf)
#' data(clearwater_lake_roads)
#' plot(clearwater_lake_roads)
"clearwater_lake_roads"


#' Example hydrology features
#'
#' A dataset containing hydrology features (in this case, major lakes)
#' near Clearwater Lake, Manitoba.
#'
#' Hydrology features are from Open Street Map, downloaded using the {osmdata}
#' package.
#'
#' @format An `sf` (see [sf::st_sf()]) object with 5 features and 8 fields.
#' See the source below for details.
#'
#' @source  Mark Padgham, Bob Rudis, Robin Lovelace, Maëlle Salmon (2017).
#' “osmdata.” _Journal of Open Source Software_, *2*(14), 305.
#' doi:10.21105/joss.00305 <https://doi.org/10.21105/joss.00305>,
#' <https://joss.theoj.org/papers/10.21105/joss.00305>.
#' @examples
#' library(sf)
#' data(clearwater_lake_hydro)
#' plot(clearwater_lake_hydro)
"clearwater_lake_hydro"



#' Example wetland features
#'
#' A dataset containing wetland features near Clearwater Lake, Manitoba.
#'
#' Hydrology features are from Open Street Map, downloaded using the {osmdata}
#' package.
#'
#' @format An `sf` (see [sf::st_sf()]) object with 5 features and 8 fields.
#' See the source below for details.
#'
#' @source  Mark Padgham, Bob Rudis, Robin Lovelace, Maëlle Salmon (2017).
#' “osmdata.” _Journal of Open Source Software_, *2*(14), 305.
#' doi:10.21105/joss.00305 <https://doi.org/10.21105/joss.00305>,
#' <https://joss.theoj.org/papers/10.21105/joss.00305>.
#' @examples
#' library(sf)
#' data(clearwater_lake_wetlands)
#' plot(clearwater_lake_wetlands)
"clearwater_lake_wetlands"



#' Example species density
#'
#' A dataset containing simulated species density near Clearwater Lake, Manitoba.
#'
#' Simulated species density with three levels "High", "Medium", Low" with
#' probabilities 0.1, 0.3, 0.6. Grid size is 2 km x 2 km.
#'
#' @format An `sf` (see [sf::st_sf()]) object with 272 features and 1 variable
#'  "density".
#'
#' @examples
#' library(sf)
#' data(clearwater_lake_density)
#' plot(clearwater_lake_density)
"clearwater_lake_density"


#' Example extent
#'
#' A dataset containing the extent near Clearwater Lake, Manitoba.
#'
#'
#' @format An `sf` (see [sf::st_sf()]) object with 2 points.
#'
#' @examples
#' library(sf)
#' data(clearwater_lake_extent)
#' plot(clearwater_lake_extent)
"clearwater_lake_extent"
robitalec/wildcam documentation built on July 4, 2024, 1:55 a.m.