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

Description Usage Arguments Examples

View source: R/repair_ts.R

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

1
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

1
2
3
4
## Not run: 
repair_ts("wtr_nwis", "nwis_01374019")

## End(Not run)

USGS-R/mda.streams documentation built on Dec. 19, 2017, 10:25 p.m.