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

Pass reachcode and measure through in findNLDI #587

Closed dblodgett-usgs closed 2 years ago

dblodgett-usgs commented 2 years ago

It would be helpful to pass the reachcode and measure through into the response from findNLDI.

As in: https://labs.waterdata.usgs.gov/api/nldi/linked-data/nwissite/USGS-06287800/navigation/UT/ref_gage?f=json&distance=10

This needs to be changed here. https://github.com/USGS-R/dataRetrieval/blob/629d82953fa385a5511a4baf4d7057e6e732952e/R/findNLDI.R#L20

I'll submit a PR for this shortly.

New features should include all of the following work:

Feel free to create independent issues for each of these subtasks. This task should not be considered completed until all of the above boxes are checked, or a reasonable argument is made for ignoring a section (ie...not appropriate for top-level README overview).