repair_ts: Repair a ts item that is missing its identifier tags

View source: R/repair_ts.R

repair_tsR Documentation

Repair a ts item that is missing its identifier tags

Description

Sometimes ts items/files get posted but the identifiers don't get updated, making it harder to search for the ts item. This function gives ScienceBase another chance to add tags.

Usage

repair_ts(var_src, site_name, limit = 5000)

Arguments

var_src

one or more var_src strings, e.g., "doobs_nwis"

site_name

one or more site names, e.g., "nwis_040871488"

limit

the maximum number of items to return in the SB query to find all listed var_src:site_name combinations

Examples

## Not run: 
repair_ts("wtr_nwis", "nwis_01374019")

## End(Not run)

USGS-R/mda.streams documentation built on June 3, 2023, 8:43 a.m.