Skip to content

Releases: USEPA/StreamCatTools

StreamCatTools 0.11.0

Choose a tag to compare

@mhweber mhweber released this 15 May 22:53
496c72c
  • Adds new lc_get_watershed function to return a lake watershed as an sf
    feature for a LakeCat (NHDPlusV2 Waterbody) COMID from an S3-hosted,
    HUC2-partitioned GeoParquet dataset
  • Uses optional HUC2 query as well as retries, multi-threading and duckdb
    to speed up retrieval of spatial data from AWS S3 bucket

StreamCatTools 0.10.0

Choose a tag to compare

@mhweber mhweber released this 03 Feb 21:03
75cfb82
  • Adds new functions sc_get_nni() and lc_get_nni() for ease of access to
    National Nutrient Inventory data in StreamCat
  • Adds new functions sc_plot() and lc_plot for plotting nitrogen and
    phosphorus budgets for watersheds
  • Adds a new article describing functions for plotting National Nutrient
    Inventory data in StreamCat

StreamCatTools 0.9.1

Choose a tag to compare

@mhweber mhweber released this 13 Nov 18:07
  • Handles a web service being down in testing using testthat::skip_on_cran()
  • Converts most vignettes to articles and adds one new Start Here vignette

StreamCatTools 0.9.0

Choose a tag to compare

@mhweber mhweber released this 16 Oct 16:54
  • Addresses CRAN error generated by tests that is
  • Adds tryCatch handling for functions calling web services in order to fail
    gracefully and not produce errors
  • Adds documentation to vignettes for two new functions added to the package

StreamCatTools 0.8.0

Choose a tag to compare

@mhweber mhweber released this 16 Oct 16:44
  • Added code coverage to the package
  • Added two new functions - sc_get_metric_names and lc_get_metric_names
    to make metric names and descriptions more searchable and slightly updated
    parameters in both sc_get_params and lc_get_params functions
  • Both sc_get_data and lc_get_data now accept vectors as well as comma-
    separated strings for the metric, state, county and region parameters

StreamCatTools 0.7.0

Choose a tag to compare

@mhweber mhweber released this 16 Sep 15:45
  • Updated both sc_get_data and lc_get_data to pass parameters in
    POST request body rather than header, providing ability to pass lengthy
    lists of COMIDS to those requests
  • Fixed a bug in package tests that was causing an error when
    running testthat

CRAN Release v0.6.0

Choose a tag to compare

@mhweber mhweber released this 03 Sep 20:43
  • CRAN Release of StreamCatTools

StreamCatTools 0.5.0

Choose a tag to compare

@mhweber mhweber released this 01 May 23:09
a40ef04
  • Overhauled sc_get_data and lc_get_data functions to be able to pull all metrics from StreamCat or LakeCat for an area of interest
  • Updated sc_get_data and lc_get_data to be able to pass hundreds of COMIDs at a time as a function parameter and not error out in call to server
  • Updated sc_get_params and lc_get_params to now return variable information, as well as just metric names and full names, and return tables of state and county abbreviations, names and FIPS codes

StreamCatTools 0.4.0

Choose a tag to compare

@mhweber mhweber released this 03 Jan 01:19
  • Overhauled all functions to use the new epa.api.gov endpoints for StreamCat described in swagger documentation
  • Streamlined sc_get_data and lc_get_data requests with httr2
  • Adopted functionality in all package functions to use the Oracle ORDs Database REST API rather than previous JAVA REST service

StreamCatTools 0.3.0

Choose a tag to compare

@mhweber mhweber released this 10 Apr 23:30
9bb404a
  • updated sc_get_data and lc_get_data to use POST requests with httr2 to accommodate many COMIDs
  • updated logo
  • built vignette page for new LakeCat functions