ts_has_file: Seek specific file types within a ts sbitem

View source: R/ts_has_file.R

ts_has_fileR Documentation

Seek specific file types within a ts sbitem

Description

Converts a list of ts sbitems into a vector of T/Fs for whether the item as a file meeting the criteria

Usage

ts_has_file(ts_items, with_ts_version = c("rds", "tsv"),
  with_ts_archived = c(TRUE, FALSE), with_ts_uploaded_after = "2015-01-01")

Arguments

ts_items

a list of timeseries sbitems

with_ts_version

one or more of c('rds','tsv') to limit the dataset extension to anything in with_ts_version (if the dataset is a ts)

with_ts_archived

one or more of c(TRUE,FALSE) to limit the list to sites that have a ts that's archived, not archived, or either

with_ts_uploaded_after

POSIXct, or convertible to POSIXct, giving date after which a ts must have been uploaded to count


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