From a0c85087370e341d7024d8f1c9e115731e4a7204 Mon Sep 17 00:00:00 2001 From: Ben Varick Date: Fri, 22 Nov 2024 12:22:43 -0600 Subject: [PATCH] adjusted influxdb api key location --- madison-metro.R | 8 ++------ routes_categorized.csv | 2 ++ 2 files changed, 4 insertions(+), 6 deletions(-) diff --git a/madison-metro.R b/madison-metro.R index c33f3db..287ce08 100644 --- a/madison-metro.R +++ b/madison-metro.R @@ -5,16 +5,12 @@ library(ggmap) library(sf) # parameters needed to make connection to Database -#token <- substr(read_file(file = 'api_keys/influxdb_madison-metro'), 1, 88) -#org <- "e2581d54779b077f" -#bucket <- "madison-metro" - -token <- substr(read_file(file = 'api_keys/influxdb_madison-metro_new'), 1, 88) +token <- substr(read_file(file = 'api_keys/influxdb_madison-metro'), 1, 88) org <- "32b7fde0efd8a3b3" bucket <- "metro_vehicles" -days <- 1 +days <- 7 influx_connection <- InfluxDBClient$new(url = "https://influxdb.dendroalsia.net", token = token, diff --git a/routes_categorized.csv b/routes_categorized.csv index 3393f25..d6626ef 100644 --- a/routes_categorized.csv +++ b/routes_categorized.csv @@ -9,3 +9,5 @@ A_East,1277 B_North,1276 B_North,1280 B_South,503010 +A_West,372 +A_West,463