Skip to content

Commit 8f82413

Browse files
author
Nick Heyek
committed
Merge branch 'feature' of https://github.com/terraref/reference-data into feature
2 parents 763366c + 6d5b331 commit 8f82413

2 files changed

Lines changed: 14 additions & 8 deletions

File tree

experiment-trait-data-visualizer/README.md

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,9 +3,9 @@
33
#### Time series box, line plots and heatmaps for every available season
44

55
#### Dependencies
6+
67
- shiny
78
- shinythemes
8-
- tools
99
- lubridate
1010
- dplyr
1111
- ggplot2
@@ -18,6 +18,7 @@
1818
#### BETYdb remote access uses ssh tunnel: ssh -Nf -L 5432:localhost:5432 bety6.ncsa.illinois.edu
1919
#### [Request access](https://identity.ncsa.illinois.edu/join/TU49BUUEDM)
2020
#### Set the following environment variables
21+
2122
- bety_dbname ('bety')
2223
- bety_password
2324
- bety_host ('localhost')

experiment-trait-data-visualizer/cache-refresh.R

Lines changed: 12 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -4,13 +4,18 @@ library(lubridate)
44
options(scipen=999)
55

66
# set up remote connection to BETYdb
7-
bety_src <- src_postgres(
8-
dbname = Sys.getenv('bety_dbname'),
9-
password = Sys.getenv('bety_password'),
10-
host = Sys.getenv('bety_host'),
11-
port = Sys.getenv('bety_port'),
12-
user = Sys.getenv('bety_user')
13-
)
7+
# bety_src <- src_postgres(
8+
# dbname = Sys.getenv('bety_dbname'),
9+
# password = Sys.getenv('bety_password'),
10+
# host = Sys.getenv('bety_host'),
11+
# port = Sys.getenv('bety_port'),
12+
# user = Sys.getenv('bety_user')
13+
# )
14+
bety_src <- src_postgres(dbname = "bety",
15+
password = 'bety',
16+
host = 'terra-bety.default',
17+
user = 'bety',
18+
port = 5432)
1419

1520
# get all relevant data from BETYdb for a given season, write to cache file
1621
get_data_for_season <- function(season) {

0 commit comments

Comments
 (0)