tmdl_remove: Remove information from the TMDL package tables

View source: R/tmdl_remove.R

tmdl_removeR Documentation

Remove information from the TMDL package tables

Description

Removes TMDL information from the odeqtmdl package tables. Removes all rows in existing package tables with the same 'action_id' identified in action_ids. There is no filtering for specific parameters or pollutants. All information attributed to the action_id is removed. Use tmdl_update to update or add new information. Removes rows from the following package tables:

  • tmdl_actions

  • tmdl_targets

  • tmdl_geo_id

  • tmdl_wqstd

  • tmdl_reaches

  • tmdl_au

  • tmdl_au_gnis

  • tmdl_parameters

Usage

tmdl_remove(action_ids = NULL, package_path)

Arguments

action_ids

vector of TMDL action IDs to be removed. Required.

package_path

Path to the top level directory of the odeqtmdl R package. The 'data', data_raw', and 'inst/extdata' folders must exist.


DEQcdonald/odeqtmdl documentation built on Feb. 9, 2025, 10:13 a.m.