Skip to content

Commit

Permalink
Played with station data length change to double number of hours of d…
Browse files Browse the repository at this point in the history
…ata.

Signed-off-by: Faron S. Anslow <fanslow@uvic.ca>
  • Loading branch information
Faron S. Anslow committed Nov 15, 2019
1 parent e66f64f commit 30a6b86
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion R/shiny/server.R
Original file line number Diff line number Diff line change
Expand Up @@ -279,7 +279,7 @@ server <- function(input, output) {
"Pink Mountain"="300234065506710/temp/300234065506710"
)
filename <- paste("https://datagarrison.com/users/300234062103550/",garrison_stnids_dict[input$rtmap_marker_click$id],"_live.txt",sep="")
df <- tail(read.csv(filename,sep = "\t", skip = 2, header = T), 168)
df <- tail(read.csv(filename,sep = "\t", skip = 2, header = T), 336)

#need to find the column for each needed variable and then reorg
generic_names <- c('Date_Time','Rain','Pressure','Temperature','RH','Wind.Speed','Gust.Speed','Wind.Direction','Solar.Radiation')
Expand Down

0 comments on commit 30a6b86

Please sign in to comment.