Skip to main content
U.S. flag

An official website of the United States government

Official websites use .gov
A .gov website belongs to an official government organization in the United States.

Secure .gov websites use HTTPS
A lock ( ) or https:// means you’ve safely connected to the .gov website. Share sensitive information only on official, secure websites.

Skip to content

Scripts to run R–QWTREND models and produce results

Metadata Updated: July 27, 2024

This child page contains a zipped folder which contains all files necessary to run trend models and produce results. The file structure is organized to track data provenance by clearly denoting how files that were input to the analysis generate the output files. Upon downloading the folder, there are two subdirectories: "01_input", which contains the input total selenium concentration and streamflow data for the models and "02_protocol", which contains the scripts required to run the R–QWTREND analysis tool. Results in the "04_product" folder can be produced by running the "02_protocol/QWTREND_runs.RMD" file, and the user should start with this file and follow instructions on how to run the trend models. By running this script, two additional subdirectories will be created: "03_incremental", which contains all model results for each site regardless of whether those models were included in the journal article associated with this data release, and "04_product", which only contains model results that were included in the article ("final" models). The model results files are briefly described in the "02_protocol/QWTREND_runs.RMD" file, follow the format of files exported by the R–QWTREND software, and are further described in the R-QWTREND documentation (Vecchia and Nustad, 2020). R–QWTREND is a software package for analyzing trends in stream-water quality, and files associated with this package are in "02_protocol/QWTREND2018V4." The package is a collection of functions written in R (R Core Team, 2019), an open source language and a general environment for statistical computing and graphics. The following system requirements are necessary for using R–QWTREND: • Windows 10 operating system • R (version 3.4 or later; 64 bit recommended) • RStudio (version 1.1.456 or later). A report (Vecchia and Nustad, 2020) serves as the formal documentation for R–QWTREND.

Access & Use Information

Public: This dataset is intended for public access and use. License: No license information was provided. If this work was prepared by an officer or employee of the United States government as part of that person's official duties it is considered a U.S. Government Work.

Downloads & Resources

Dates

Metadata Created Date July 27, 2024
Metadata Updated Date July 27, 2024

Metadata Source

Harvested from DOI EDI

Additional Metadata

Resource Type Dataset
Metadata Created Date July 27, 2024
Metadata Updated Date July 27, 2024
Publisher U.S. Geological Survey
Maintainer
@Id http://datainventory.doi.gov/id/dataset/b73138dca454851cd4ed99b1a3c92910
Identifier USGS:65e23522d34e5855ff4cf8f3
Data Last Modified 20240724
Category geospatial
Public Access Level public
Bureau Code 010:12
Metadata Context https://project-open-data.cio.gov/v1.1/schema/catalog.jsonld
Metadata Catalog ID https://datainventory.doi.gov/data.json
Schema Version https://project-open-data.cio.gov/v1.1/schema
Catalog Describedby https://project-open-data.cio.gov/v1.1/schema/catalog.json
Harvest Object Id 737c78b8-476a-4a1c-8729-0cf9824cd17b
Harvest Source Id 52bfcc16-6e15-478f-809a-b1bc76f1aeda
Harvest Source Title DOI EDI
Metadata Type geospatial
Old Spatial -117.7576,49.0018,-114.7,49.8008
Publisher Hierarchy White House > U.S. Department of the Interior > U.S. Geological Survey
Source Datajson Identifier True
Source Hash c2211fd409a749afaf5af1f97b6d3c6ce90d7b7ee6dc2575f5de3074626f1357
Source Schema Version 1.1
Spatial {"type": "Polygon", "coordinates": -117.7576, 49.0018, -117.7576, 49.8008, -114.7, 49.8008, -114.7, 49.0018, -117.7576, 49.0018}

Didn't find what you're looking for? Suggest a dataset here.