Skip to content

Add code to remove non-useful NWIS columns from USGS service imports #294

@JamesBisese

Description

@JamesBisese

Is your feature request related to a problem? Please describe.

When loading data from the USGS services additional columns are included that are not
used in the TADA workflow. These should be removed from the import data before
it is loaded into the tadat$raw dataset.

Describe the solution you'd like

TADA or TADAShiny needs to maintain a list of 'useful' columns that are recognized and used in the workflow.
Columns not in this list should be graciously removed.

library(TADAShiny)
cols_to_remove <- c("colB", "colD")

new_df <- original_df[, !(names(original_df) %in% cols_to_remove)]

Describe alternatives you've considered

Leave the columns in the dataset. Their only issue is that the exported excel file is getting really wide.

Additional context

Add any other context or screenshots about the feature request here.

Metadata

Metadata

Assignees

Labels

No labels
No labels

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions