Skip to content

Commit

Permalink
Merge pull request #688 from ldecicco-USGS/main
Browse files Browse the repository at this point in the history
Add status page and update warning.
  • Loading branch information
ldecicco-USGS authored Jan 26, 2024
2 parents fb273bf + 5315858 commit ed4ca1e
Show file tree
Hide file tree
Showing 7 changed files with 89 additions and 9 deletions.
4 changes: 2 additions & 2 deletions DESCRIPTION
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
Package: dataRetrieval
Type: Package
Title: Retrieval Functions for USGS and EPA Hydrology and Water Quality Data
Version: 2.7.14
Version: 2.7.14.1
Authors@R: c(
person("Laura", "DeCicco", role = c("aut","cre"),
email = "[email protected]",
Expand Down Expand Up @@ -59,4 +59,4 @@ BuildVignettes: true
VignetteBuilder: knitr
BugReports: https://github.com/DOI-USGS/dataRetrieval/issues
URL: https://code.usgs.gov/water/dataRetrieval
RoxygenNote: 7.2.3
RoxygenNote: 7.3.1
4 changes: 4 additions & 0 deletions NEWS
Original file line number Diff line number Diff line change
@@ -1,3 +1,7 @@
dataRetrieval 2.7.15
===================
* Update warning about upcoming changes to USGS water quality data.

dataRetrieval 2.7.14
===================
* Package documentation updated due to roxygen changes
Expand Down
3 changes: 2 additions & 1 deletion R/dataRetrievals-package.R
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,8 @@ Extended Documentation: https://doi-usgs.github.io/dataRetrieval")
#' @aliases dataRetrieval-package
#' @docType package
#' @author Laura De Cicco \email{ldecicco@@usgs.gov}
NULL
#' @keywords internal
"_PACKAGE"

#' List of USGS parameter codes
#'
Expand Down
11 changes: 7 additions & 4 deletions R/readNWISqw.R
Original file line number Diff line number Diff line change
Expand Up @@ -106,10 +106,13 @@ readNWISqw <- function(siteNumbers,
tz = "UTC") {
.Deprecated(
new = "readWQPqw", package = "dataRetrieval",
msg = "NWIS qw web services are being retired.
Please see vignette('qwdata_changes', package = 'dataRetrieval')
for more information.
https://cran.r-project.org/web/packages/dataRetrieval/vignettes/qwdata_changes.html"
msg = "WARNING: Beginning in February 2024 the NWIS qw data endpoint will not deliver new data or updates to existing data.
Eventually the endpoint will be retired. For updated information visit:
https://waterdata.usgs.gov/nwis/qwdata
For additional details, see vignettes:
https://doi-usgs.github.io/dataRetrieval/articles/Status.html
https://doi-usgs.github.io/dataRetrieval/articles/qwdata_changes.html
If you have additional questions about the qw data service, email [email protected]."
)

pgrp <- c(
Expand Down
10 changes: 8 additions & 2 deletions _pkgdown.yml
Original file line number Diff line number Diff line change
Expand Up @@ -22,13 +22,19 @@ navbar:
href: articles/dataRetrieval.html
- text: Function Help
href: reference/index.html
- text: Large Data Pull Examples
- text: Large Data Pulls
menu:
- text: Scripting Approach
href: articles/wqp_large_pull_script.html
- text: Pipeline Approach
href: articles/wqp_large_pull_targets.html
- text: Articles
- text: Water Quality Changes
menu:
- text: Changes to QW
href: articles/qwdata_changes.html
- text: USGS QW Status
href: articles/Status.html
- text: Additional Articles
menu:
- text: Tutorial
href: articles/tutorial.html
Expand Down
9 changes: 9 additions & 0 deletions man/dataRetrieval.Rd

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

57 changes: 57 additions & 0 deletions vignettes/Status.Rmd
Original file line number Diff line number Diff line change
@@ -0,0 +1,57 @@
---
title: "dataRetrieval Status"
date: Sys.Date()
output:
rmarkdown::html_vignette:
toc: true
fig_caption: yes
fig_height: 7
fig_width: 7
vignette: >
%\VignetteIndexEntry{dataRetrieval Status}
\usepackage[utf8]{inputenc}
%\VignetteEngine{knitr::rmarkdown}
editor_options:
chunk_output_type: console
---

This page will be updated frequently with information about the status of dataRetrieval services.

# Current Status

## readNWISqw

Functions normally, includes new data. This function is deprecated, so consider switching to `readWQPqw`

## WQP

Functioning normally, includes new USGS data. See below for upcoming information.

# Overview of changes

## NWIS qw services

Discrete water samples data are undergoing modernization, and NWIS services will no longer be updated with the latest data starting in February 2024, with a full decommission expected 6 months later. Learn more about the upcoming change and where to find the new samples data in our [blog](https://waterdata.usgs.gov/blog/changes-to-sample-data/).


For updated information visit:
[https://waterdata.usgs.gov/nwis/qwdata](https://waterdata.usgs.gov/nwis/qwdata)

For additional details, see vignette:
[https://doi-usgs.github.io/dataRetrieval/articles/qwdata_changes.html](https://doi-usgs.github.io/dataRetrieval/articles/qwdata_changes.html)

If you have additional questions about the qw data service, email [email protected].

When NWIS qw service is shut down - the `readNWISqw` will be removed from dataRetrieval.


See [Changes to NWIS QW services](articles/qwdata_changes.html) for information on how to convert your workflows from `readNWISqw` to `readWQPqw`.

## WQP: USGS Data

Limited availability of **new** USGS data: starting approximately February 12, 2024, there will be a period when new USGS data will not be accessible on the Water Quality Portal. Data will still be collected but will not be publicly available. This limited availability is expected to last a few weeks.

Recent USGS data will be accessible again upon release of the new Data Profiles, which will be in the WQX 3.0 format. These profiles should be available starting in March, 2024.

These profiles are not yet available to test. When they are, we will update this page with recommendations.

0 comments on commit ed4ca1e

Please sign in to comment.