Skip to content

Commit

Permalink
add portal_data to data items
Browse files Browse the repository at this point in the history
  • Loading branch information
nicholasjclark committed Jun 5, 2023
1 parent c1bce6a commit a230f90
Show file tree
Hide file tree
Showing 7 changed files with 172 additions and 0 deletions.
9 changes: 9 additions & 0 deletions R/globals.R
Original file line number Diff line number Diff line change
@@ -0,0 +1,9 @@
#' Prevent R CMD Check notes about missing global variables due to
#' dplyr mutates etc...
#' @noRd
utils::globalVariables(c("y", "year", "smooth_vals", "smooth_num",
"series", "season", "rowid", "row_number",
"nsp", "last_assim", "index", "in_interval",
"assimilated", "eval_horizon", "label",
"mod_call", "particles", "obs", "mgcv_model",
"param_name", "outcome", "mgcv_plottable"))
20 changes: 20 additions & 0 deletions R/portal_data.R
Original file line number Diff line number Diff line change
@@ -0,0 +1,20 @@
#' Portal Project rodent capture survey data
#'
#' A dataset containing timeseries of select rodent species captures in control plots from the Portal Project
#'
#' @format A dataframe containing the following fields:
#' \describe{
#' \item{moon}{time of sampling in lunar cycles}
#' \item{DM}{Total captures of species DM}
#' \item{DO}{Total captures of species DO}
#' \item{DM}{Total captures of species PP}
#' \item{DM}{Total captures of species OT}
#' \item{year}{Sampling year}
#' \item{month}{Sampling month}
#' \item{mintemp}{Monthly mean minimum temperature}
#' \item{precipitation}{Monthly mean precipitation}
#' \item{ndvi}{Monthly mean Normalised Difference Vegetation Index}
#' }
#' @source \url{https://www.weecology.org/data-projects/portal/}
"portal_data"

Binary file added data/portal_data.rda
Binary file not shown.
112 changes: 112 additions & 0 deletions docs/reference/portal_data.html

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Binary file added docs/reference/sim_mvgam-1.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added docs/reference/sim_mvgam-2.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
31 changes: 31 additions & 0 deletions man/portal_data.Rd

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

0 comments on commit a230f90

Please sign in to comment.