dbhydro.stn.batch: A wrapper for 'dbhydro.stn'

View source: R/dbhydro_stn_batch.R

dbhydro.stn.batchR Documentation

A wrapper for dbhydro.stn

Description

Downloads DBHYDRO water quality data for specified stations. Avoids the problem of complete failure if a single station is invalid.

Usage

dbhydro.stn.batch(codes, ...)

Arguments

codes

a character vector of station names. If one station in the list returns no data, the entire url request fails.

...

additional arguments supplied to dbhydro.stn

Value

dataframe dbhydro.stn.batch saves a csv of DBHYDRO water quality data to disk.

See Also

dbhydro.stn

Examples

## Not run: 
head(dbh.stn.batch(codes = c("S333", "S151"))

## End(Not run)


troyhill/SFNRC documentation built on Dec. 30, 2024, 4:32 p.m.