added example figure and put river site IDs in a seperate csv

This commit is contained in:
Ben Varick 2023-06-08 10:53:59 -05:00
parent 009f600cc9
commit 97300ddc4f
Signed by: ben
SSH Key Fingerprint: SHA256:jWnpFDAcacYM5aPFpYRqlsamlDyKNpSj3jj+k4ojtUo
3 changed files with 17 additions and 7 deletions

View File

@ -1,14 +1,13 @@
library(dataRetrieval, quietly = TRUE)
library(tidyverse, quietly = TRUE)
library(RColorBrewer, quietly = TRUE)
library(scales, quietly = TRUE)
library(dataRetrieval)
library(tidyverse)
library(RColorBrewer)
library(scales)
setwd("/home/ben/Documents/dataProjects/USGS_NWIS")
rivers <- data.frame(names = c("Elwha", "Calawah", "Hoh", "Dungeness", "Duckabush", "Wenatchee", "Snake", "Wisconsin", "Cedar", "Colorado"),
siteNumber = c("12045500", "12043000", "12041200", "12048000", "12054000", "12462500", "13013650", "05407000", "12119000", "09380000"))
rivers <- read_csv(file = "river_IDs.csv", col_types = c("c", "c"))
#rivers <- rivers %>% filter(names %in% c("Elwha"))
rivers <- rivers %>% filter(names %in% c("Elwha"))
#rivers <- rivers %>% filter(names %in% c("Duckabush"))
#rivers <- rivers %>% filter(names %in% c("Hoh"))

BIN
example_last_6_months.png Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 587 KiB

11
river_IDs.csv Normal file
View File

@ -0,0 +1,11 @@
names,siteNumber
Elwha,12045500
Calawah,12043000
Hoh,12041200
Dungeness,12048000
Duckabush,12054000
Wenatchee,12462500
Snake,13013650
Wisconsin,05407000
Cedar,12119000
Colorado,09380000
1 names siteNumber
2 Elwha 12045500
3 Calawah 12043000
4 Hoh 12041200
5 Dungeness 12048000
6 Duckabush 12054000
7 Wenatchee 12462500
8 Snake 13013650
9 Wisconsin 05407000
10 Cedar 12119000
11 Colorado 09380000