diff --git a/.Rbuildignore b/.Rbuildignore index b6677507..d7d37f06 100644 --- a/.Rbuildignore +++ b/.Rbuildignore @@ -105,3 +105,5 @@ vignettes/qwdata_changes.Rmd vignettes/nwisData.rds vignettes/wqpData.rds _quarto.yml +vignettes/basic_slides.Rmd +vignettes/changes_slides.Rmd diff --git a/tutorials/changes_slides_deck.qmd b/tutorials/changes_slides_deck.qmd index 0f2ab644..a6da0b65 100644 --- a/tutorials/changes_slides_deck.qmd +++ b/tutorials/changes_slides_deck.qmd @@ -681,6 +681,29 @@ unique(what_huc_sites$hydrologic_unit_code) ``` +## read_waterdata_metadata {.smaller} + +The function `read_waterdata_metadata` gives access to the metadata collections from the USGS Water Data API. Note these do not use the CQL syntax: + +```{r} +#| eval: false +agency_codes <- read_waterdata_metadata("agency-codes") +altitude_datums <- read_waterdata_metadata("altitude-datums") +aquifer_codes <- read_waterdata_metadata("aquifer-codes") +aquifer_types <- read_waterdata_metadata("aquifer-types") +coordinate_accuracy_codes <- read_waterdata_metadata("coordinate-accuracy-codes") +coordinate_datum_codes <- read_waterdata_metadata("coordinate-datum-codes") +coordinate_method_codes <- read_waterdata_metadata("coordinate-method-codes") +huc_codes <- read_waterdata_metadata("hydrologic-unit-codes") +national_aquifer_codes <- read_waterdata_metadata("national-aquifer-codes") +parameter_codes <- read_waterdata_metadata("parameter-codes") +reliability_codes <- read_waterdata_metadata("reliability-codes") +site_types <- read_waterdata_metadata("site-types") +statistic_codes <- read_waterdata_metadata("statistic-codes") +topographic_codes <- read_waterdata_metadata("topographic-codes") +time_zone_codes <- read_waterdata_metadata("time-zone-codes") +``` + ## General New Features of Water Data OGC APIs {.smaller} * Flexible Queries diff --git a/tutorials/images/documentation_1.png b/tutorials/images/documentation_1.png index cdfa4061..e2b45838 100644 Binary files a/tutorials/images/documentation_1.png and b/tutorials/images/documentation_1.png differ diff --git a/tutorials/images/documentation_2.png b/tutorials/images/documentation_2.png index e046a45f..ce3c8f52 100644 Binary files a/tutorials/images/documentation_2.png and b/tutorials/images/documentation_2.png differ diff --git a/tutorials/images/documentation_3.png b/tutorials/images/documentation_3.png index b5a1b2a2..a10c137b 100644 Binary files a/tutorials/images/documentation_3.png and b/tutorials/images/documentation_3.png differ diff --git a/vignettes/tutorial.Rmd b/vignettes/tutorial.Rmd index eb446cc8..c77bdb7f 100644 --- a/vignettes/tutorial.Rmd +++ b/vignettes/tutorial.Rmd @@ -112,14 +112,14 @@ There are many types of data served from NWIS. To understand how the services ar |--------|:-------|------:|-------:| |uv|[readNWISuv](https://doi-usgs.github.io/dataRetrieval/reference/readNWISuv.html)|Continuous data| None yet | |dv|[readNWISdv](https://doi-usgs.github.io/dataRetrieval/reference/readNWISdv.html)|Daily aggregated | [read_waterdata_daily](https://doi-usgs.github.io/dataRetrieval/reference/read_waterdata_daily.html) | -|gwlevels|[readNWISgwl](https://doi-usgs.github.io/dataRetrieval/reference/readNWISgwl.html)|Groundwater levels | [read_waterdata_field_measurements.html](https://doi-usgs.github.io/dataRetrieval/reference/read_waterdata_field_measurements.html) | +|gwlevels|[readNWISgwl](https://doi-usgs.github.io/dataRetrieval/reference/readNWISgwl.html)|Groundwater levels | [read_waterdata_field_measurements](https://doi-usgs.github.io/dataRetrieval/reference/read_waterdata_field_measurements.html) | |site|[readNWISsite](https://doi-usgs.github.io/dataRetrieval/reference/readNWISsite.html)|Site metadata| [read_waterdata_monitoring_location](https://doi-usgs.github.io/dataRetrieval/reference/read_waterdata_monitoring_location.html) | |pcode|[readNWISpCode](https://doi-usgs.github.io/dataRetrieval/reference/readNWISpCode.html)|Parameter code metadata | [read_waterdata_parameter_codes](https://doi-usgs.github.io/dataRetrieval/reference/read_waterdata_parameter_codes.html) | |stat|[readNWISstat](https://doi-usgs.github.io/dataRetrieval/reference/readNWISstat.html)| Site statistics | None yet | |rating|[readNWISrating](https://doi-usgs.github.io/dataRetrieval/reference/readNWISrating.html)| Rating curves| None yet | |peak|[readNWISpeak](https://doi-usgs.github.io/dataRetrieval/reference/readNWISpeak.html)|Peak flow| None yet | |use|[readNWISuse](https://doi-usgs.github.io/dataRetrieval/reference/readNWISuse.html)|Water Use| None yet | -|meas|[readNWISmeas](https://doi-usgs.github.io/dataRetrieval/reference/readNWISmeas.html)|Discrete surface water| [read_waterdata_field_measurements.html](https://doi-usgs.github.io/dataRetrieval/reference/read_waterdata_field_measurements.html)| +|meas|[readNWISmeas](https://doi-usgs.github.io/dataRetrieval/reference/readNWISmeas.html)|Discrete surface water| [read_waterdata_field_measurements](https://doi-usgs.github.io/dataRetrieval/reference/read_waterdata_field_measurements.html)| | | [readNWISdata](https://doi-usgs.github.io/dataRetrieval/reference/readNWISdata.html) | General data import for NWIS| [read_waterdata](https://doi-usgs.github.io/dataRetrieval/reference/read_waterdata.html) |