export_pmf_input_data: Function to export a data table for use with the EPA PMF...

View source: R/export_pmf_input_data.R

export_pmf_input_dataR Documentation

Function to export a data table for use with the EPA PMF tool.

Description

Function to export a data table for use with the EPA PMF tool.

Usage

export_pmf_input_data(
  df,
  file,
  date_check = TRUE,
  format_date = TRUE,
  zero_check = TRUE,
  id_variable = NA
)

Arguments

df

Data frame to export.

file

File name to export data to.

date_check

Should dates be checked? Dates are not strictly required for the EPA PMF tool so this checking logic can be disabled if desired.

format_date

Should the dates be formatted?

zero_check

Should the table be checked for values less than and equal to 0?

id_variable

Variable name in df which contains an identifying variable. This is optional.

Value

Invisible df.

Author(s)

Stuart K. Grange


skgrange/pmfr documentation built on June 30, 2022, 12:28 a.m.