File tree Expand file tree Collapse file tree
experiment-trait-data-visualizer Expand file tree Collapse file tree Original file line number Diff line number Diff line change 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
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')
Original file line number Diff line number Diff line change @@ -4,13 +4,18 @@ library(lubridate)
44options(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
1621get_data_for_season <- function (season ) {
You can’t perform that action at this time.
0 commit comments