adjusted influxdb api key location

This commit is contained in:
Ben Varick 2024-11-22 12:22:43 -06:00
parent 51806c81d4
commit a0c8508737
No known key found for this signature in database
2 changed files with 4 additions and 6 deletions

View File

@ -5,16 +5,12 @@ library(ggmap)
library(sf) library(sf)
# parameters needed to make connection to Database # parameters needed to make connection to Database
#token <- substr(read_file(file = 'api_keys/influxdb_madison-metro'), 1, 88) 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)
org <- "32b7fde0efd8a3b3" org <- "32b7fde0efd8a3b3"
bucket <- "metro_vehicles" bucket <- "metro_vehicles"
days <- 1 days <- 7
influx_connection <- InfluxDBClient$new(url = "https://influxdb.dendroalsia.net", influx_connection <- InfluxDBClient$new(url = "https://influxdb.dendroalsia.net",
token = token, token = token,

View File

@ -9,3 +9,5 @@ A_East,1277
B_North,1276 B_North,1276
B_North,1280 B_North,1280
B_South,503010 B_South,503010
A_West,372
A_West,463

1 name pid
9 B_North 1276
10 B_North 1280
11 B_South 503010
12 A_West 372
13 A_West 463