DOI-USGS / dataRetrieval

This R package is designed to obtain USGS or EPA water quality sample data, streamflow data, and metadata directly from web services.
https://doi-usgs.github.io/dataRetrieval/
Other
260 stars 84 forks source link

Unify arguments across WQP/NWIS #644

Closed ldecicco-USGS closed 9 months ago

ldecicco-USGS commented 1 year ago

Go through each read/what...data function and make it so that a user could use the official arguments OR the equivalent from opposite services. For example:

NWIS uses "sites", WQP uses "siteid", the original readNWISdv/readWQPqw type functions uses "siteNumbers". So all of c("sites", "siteid", "siteNumbers") should be allowed for a site or list of sites.

ldecicco-USGS commented 1 year ago

Similarly, "all" and "All" should be allowed in parameterCd arguments.