R/get_copcs.R

Defines functions get_copcs

Documented in get_copcs

#' get_copcs
#'
#' MNRISKS pollutants / COPCs (chemicals of potential concern) and parameters 
#' @param year The MNRISKS results year. Default value is 2014.
#' @keywords copc pollutant mnrisks
#' @export
#' @examples
#' # COPC parameters for 2014
#' copcs <- get_copcs(year = 2014)
#' 
# 

get_copcs <- function(year = 2014) {
 
  # Load COPC data frame
  e <- new.env()
  
  copc <- get(data(list = paste0("copc_", year), envir = e), envir = e)
  
  return(copc)
  
}

get_copc <- get_copcs
dKvale/mnrisks2011 documentation built on Feb. 18, 2022, 5:43 a.m.