USGS-R / lakeReport

Scripts and report generator
Other
0 stars 4 forks source link

Add filepaths to plotNames_by_site.csv #56

Closed lindsayplatt closed 7 years ago

lindsayplatt commented 8 years ago
  1. Stage height data needs to be csv files w/ dateTime (yyyy-mm-dd) and gageHeight columns.
  2. Add file paths to plotNames_by_site.csv (within text editor, like notepad ++). Use column name gageHeight_files
  3. Add code to grab gageHeight_files and use instead of NWIS.
sbmarsh-USGS commented 7 years ago

df <- read_excel("M:/Lakes/9KB25/Silver_Cumberland/Stage/silver_cumberland_stage.xlsx")

Do decimalDate workaround for Lake Winnebago.

lindsayplatt commented 7 years ago

Code changes (don't need csv, can use Excel w/ readxl package):

gage_height <- gage_height %>% 
  mutate(decimal.date = as.numeric(decimal.date),
         dateTime = date_decimal(decimal.date))