misQ05054000: Daily mean streamflow with missing values

Description Usage Format Details Source References Examples

Description

Daily mean streamflow data with randomly generated missing values. Red River of the North, North Dakota, 
  streamflow, in cubic feet per second, on a logarithmic scale, with missing 
  values.

Usage

1

Format

A dataframe containing 4,018 observations of daily mean streamflow. There are four variables, staid, the USGS streamgage station number; val, the daily mean streamflow value in cubic feet per second; dates, the dates of the observations; and qualcode, the USGS data qualification code.

Name Type Description
staid factor USGS station identification number
val numberic Daily mean streamflow
dates Date Date of daily mean
qualcode factor Qualification code

Details

Streamflow data for USGS streamgage 05054000, Red River of the North at Fargo, North Dakota, from January 1, 2000, to December 31, 2010, were downloaded and then 2,000 of the 4,018 daily values were randomly replaced with NAs. This provides a dataset with slightly less than 50 percent of the values missing; however, the blocks of missing values are less than 30 days long. Definitions of the daily data qualification codes can be found at http://help.waterdata.usgs.gov/codes-and-parameters/daily-value-qualification-code-dv_rmk_cd (U.S. Geological Survey, 2011).

Source

Imported from the USGS Daily Values Site Web Service http://waterservices.usgs.gov/rest/DV-Service.html (U.S. Geological Survey, 2012) using the function importDVs, with random replacements of data with NAs.

References

U.S. Geological Survey, 2011, Daily value qualification code (dv_rmk_cd): National Water Information System: Help System, accessed September 7, 2012, at http://help.waterdata.usgs.gov/codes-and-parameters/daily-value-qualification-code-dv_rmk_cd.

U.S. Geological Survey, 2012, National Water Information System (NWISWeb): U.S. Geological Survey database, accessed May 2, 2012, at http://waterservices.usgs.gov/.

Examples

 1
 2
 3
 4
 5
 6
 7
 8
 9
10
data(exampleWaterData)
par(las=1, tck=0.02, mar=c(5,5,4,2), mex=1.2, cex.axis=.9)
plot(misQ05054000$dates, misQ05054000$val, type="l", log="y", 
     ylab="Streamflow, in cubic feet per second", 
     xlab="", yaxs='i', xaxs='i', 
     xlim=c(as.Date("2000-01-01"), as.Date("2012-01-01")), ylim=c(10,50000), 
     yaxt="n")
axis(2, axTicks(2), format(axTicks(2), big.mark=","))
title("Red River of the North at Fargo, North Dakota")
summary(misQ05054000$val)

Example output

   Min. 1st Qu.  Median    Mean 3rd Qu.    Max.    NA's 
   46.0   522.0   939.5  1797.8  1910.0 27400.0    2000 

waterData documentation built on May 2, 2019, 3:38 p.m.