View source: R/tmdl_export_attains.R
tmdl_export_attains | R Documentation |
Exports all or a subset of the Oregon TMDL assessment unit data table (tmdl_au
)
as csv files formatted for batch upload into ATTAINS. The actions and parameters csv files are produced.
The format is based on EPA's Non-TMDL action template version 1.4, released on 7/18/2022.
Exports all or a subset of the Oregon TMDL database
action table (tmdl_actions
), assessment unit table (tmdl_au
),
and NPDES permittee WLA table (tmdl_wla
) as csv files formatted
for batch upload into ATTAINS. The actions, parameters, permits, and pollutants csv files are produced.
The format is based on EPA's TMDL action template version 1.4, released on 2022-07-18.
tmdl_export_attains(
out_dir,
df_tmdl_actions = NULL,
df_tmdl_au = NULL,
df_tmdl_wla = NULL,
AU_IDs = NULL,
status_attains = NULL,
action_ids = NULL,
TMDL_param = NULL,
TMDL_pollu = NULL
)
tmdl_export_attains(
out_dir,
df_tmdl_actions = NULL,
df_tmdl_au = NULL,
df_tmdl_wla = NULL,
AU_IDs = NULL,
status_attains = NULL,
action_ids = NULL,
TMDL_param = NULL,
TMDL_pollu = NULL
)
out_dir: |
The directory to save the output csv files. |
df_tmdl_actions: |
Data frame formatted the same as |
df_tmdl_au: |
Data frame formatted the same as |
df_tmdl_wla: |
Data frame formatted the same as |
AU_IDs: |
Vector of assessment units used to filter 'tmdl_au'. Default is NULL and all AU IDs are included. |
status_attains: |
Vector of the attains status used to filter 'tmdl_au'. Default is NULL and all statuses are included. |
action_ids: |
Vector of action IDs used to filter 'tmdl_au'. Default is NULL and all action IDs are included. |
TMDL_param: |
Vector of water quality parameter names used to filter 'tmdl_au'. The output will include TMDLs that addressed that water quality parameter. Default is NULL and all parameters are included. |
TMDL_pollu: |
Vector of TMDL pollutant parameter names used to filter the TMDLs. The output will include TMDLs that addressed that pollutant parameter. Default is NULL and all pollutants are included. |
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.