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
259 stars 84 forks source link

Add convertType to WQP functions #610

Closed ldecicco-USGS closed 1 year ago

ldecicco-USGS commented 2 years ago

Just like the NWIS functions, there should be an argument in the WQP functions to bring in everything as character instead of having dataRetrieval try to make the correct dates/numerics/etc.

alkrall commented 2 years ago

1) Added:

convertType=TRUE

if statement to importWQP. 2) Added convertType to function call in importWQP, readWQPdata, readWQPqw, whatWQPdata. 3) Set:

convertType=convertType 

to importWQP function call within readWQPdata, readWQPqw, and whatWQPdata. 4) Added reoxygen documentation to importWQP, readWQPdata, readWQPqw, whatWQPdata. 5) Added tests to testthat.R. -Test issues raised in whatWQPsamples and whatWQPmetrics with importWQP.