new_aerscreen: Create AERSCREEN input tables

View source: R/new_aerscreen.R

new_aerscreenR Documentation

Create AERSCREEN input tables

Description

Create default AERSCREEN input data frames: (1) Control options (2) Source parameters (3) Building parameters (4) Surface characteristics

Usage

new_aerscreen(aerscreen = "aerscreen_inp", as_one_df = TRUE,
  add_to_envir = FALSE, control = "control", sources = "sources",
  buildings = "buildings", surface = "surface")

Arguments

aerscreen

Name for AERSCREEN input data frame added to Global Environment. Default is "aerscreen_inp". Ignored if as_one_df is FALSE.

as_one_df

TRUE or FALSE. Return all inputs in a single wide data frame. If FALSE, return 4 data frames in a list: (1) control (2) sources (3) buildings (4) surface

add_to_envir

TRUE or FALSE. Exports tables directly to the Global Environment.

control

Name for control options data frame added to Global Environment. Default is "sources". Ignored if as_one_df is TRUE.

sources

Name for emission source data frame added to Global Environment. Default is "sources". Ignored if as_one_df is TRUE.

buildings

Name for buildings data frame added to Global Environment. Default is "buildings". Ignored if as_one_df is TRUE.

surface

Name for surface characteristics data frame added to Global Environment. Default is "surface". Ignored if as_one_df is TRUE.

Examples

input_tbl <- new_aerscreen(as_one_df = TRUE)

new_aerscreen(as_one_df = FALSE, add_to_envir = TRUE, surface = "surface_chars")

input_list <- new_aerscreen(as_one_df = FALSE)

dKvale/aerscreen documentation built on Aug. 30, 2022, 2:05 a.m.