StreamCatTools
StreamCatTools copied to clipboard
R package to work with the StreamCat API within R and access the full suite of StreamCat catchment and watershed scale metrics for all NHDPlusV2 stream reaches and catchments.
Build in asynchronous retrieval for CONUS request
Consider making catchment area and watershed area metrics available in the `metric` argument to `sc_get_data()`. Currently, there is no way to return only catchment/watershed area without also returning another metric.
Forgot to update current legal values in sc_nlcd() to current options
The NLDI service, which `sc_get_data` calls via nhdplusTools::discover_nhdplus_id now rate limits calls to 400 calls / hr per ip address. Add a warning note for users when using function that...
Wrap the passing of a data.frame column of COMIDs to a vectorized list of COMIDs happen within the function - the process I currently show in [the Applications vignette](https://usepa.github.io/StreamCatTools/articles/Applications.html): `comids
sc_get_data() calls readr::read_csv() which prints column types. Consider adding “show_col_types = FALSE” argument to function to quite messages.
It would be really helpful to include some helper functions that make metrics more searchable and usable within R. There are so many metrics at different scales (which is amazing!)...
Function can show image in plot window depicting the various scales (watershed, catchment, riparian) at which StreamCat data are available.