diff --git a/tutorials/basic_slides_deck.qmd b/tutorials/basic_slides_deck.qmd index ad3464b1..ea6b8e71 100644 --- a/tutorials/basic_slides_deck.qmd +++ b/tutorials/basic_slides_deck.qmd @@ -490,7 +490,7 @@ dt_me(df |> ## Workflow 1: Plot Daily Data -In our next session, we will dive into using `ggplot2` to visualize the data. Here is a sneak peak at a very simple plot: +Let's use `ggplot2` to visualize the data. ```{r} #| echo: true @@ -610,7 +610,7 @@ qw_data <- read_waterdata_samples(monitoringLocationIdentifier = site, ncol(qw_data) ``` -That's a LOT of columns that come back. We won't look at them here, but if you run it locally, use `View` to inspect within RStudio. +That's a LOT of columns that come back. We won't look at them here, but you can use `View` in RStudio to explore on your own. ::: footer @@ -649,7 +649,7 @@ dt_me(df, escape = FALSE, paging = FALSE) ## Workflow 2: Discrete data censoring -Let's pull just a few columns out and look at those: +Let's pull a few columns out and look at those: ```{r} library(dplyr) @@ -731,7 +731,7 @@ qw_data_joined <- qw_data |> by = c("Activity_StartDate" = "time")) ``` -* "Activity_StartDate" (on the left side data frame) and "time" (on the right side data frame) need to be the same type. +* "Activity_StartDate" (on the left side data frame) and "time" (on the right side data frame) need to be the same type (in this case, both are Date objects). ::: footer @@ -926,7 +926,7 @@ ggplot(data = closest_dt) + ``` -## Data Discovery (if enough time!) +## Data Discovery The process for discovering data is a bit in flux with NWIS retiring. I expect a new process will be introduced soon. For now here are some options. @@ -981,8 +981,6 @@ dt_me(discrete_available |> ## characteristicUserSupplied {.smaller} -* The column "characteristicUserSupplied" is internally referred to as "observed property". - * characteristicUserSupplied can be an input to `read_waterdata_sample` ```{r} @@ -992,7 +990,6 @@ nrow(discrete1) ``` -* `summarize_waterdata_samples` may be adding a parameter code to the output in the future. ## More Information {.smaller} diff --git a/tutorials/changes_slides_deck.qmd b/tutorials/changes_slides_deck.qmd index a725c343..0f2ab644 100644 --- a/tutorials/changes_slides_deck.qmd +++ b/tutorials/changes_slides_deck.qmd @@ -84,8 +84,6 @@ New to `dataRetrieval`? [Introduction to dataRetrieval](https://water.code-pages - Timeline is very uncertain, so we wanted to get information out on replacement functions ASAP. - - Latest rumor: not before 2026, but performance degradation happening now - * New `dataRetrieval` functions are available to replace the NWIS functions - `read_waterdata_` functions are the modern functions @@ -123,26 +121,6 @@ The "develop" branch WILL change frequently, and there are no promises of future ::: -## External Documentation - -![](images/documentation_1.png){width="1000" height="500"} - -::: footer - -::: - -## External Documentation - -![](images/documentation_2.png){width="1000" height="500"} - -::: footer - -::: - -## External Documentation - -![](images/documentation_3.png){width="1000" height="500"} - ## USGS Water Data OGC APIs: Current Functions {.smaller} Open Geospatial Consortium (OGC), a non-profit international organization that develops and promotes open standards for geospatial information. OGC-compliant interfaces to USGS water data: @@ -175,8 +153,8 @@ Open Geospatial Consortium (OGC), a non-profit international organization that d * You **might** run into errors quickly. If you (or your IP!) have exceeded the quota, you will see: ``` -error: HTTP 403 Forbidden. -* Query request denied. Possible reasons include query exceeding server limits. +! HTTP 429 Too Many Requests. + • You have exceeded your rate limit. Make sure you provided your API key from https://api.waterdata.usgs.gov/signup/, then either try again later or contact us at https://waterdata.usgs.gov/questions-comments/?referrerUrl=https://api.waterdata.usgs.gov for assistance. ``` ## USGS Water Data API Token