-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathtest.R
More file actions
30 lines (24 loc) · 790 Bytes
/
Copy pathtest.R
File metadata and controls
30 lines (24 loc) · 790 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
# Script for testing everything
# library("devtools")
# install_github("ouzor/Rforecastio")
# Load data
load("drytrip-shiny/helsinki_map_stamen-toner.RData")
fio.api.key <- scan(file="drytrip-shiny/dark_sky_api.txt", what="character")
fmi.api.key <- scan(file="drytrip-shiny/fmi_api.txt", what="character")
# Source aux functions
source("drytrip-shiny/functions.R")
input = list()
input$start.address = "Kamppi"
input$end.address = "Kamppi"
input$via.addresses = "Olari_Nuuksio_Leppävaara"
input$cycling.speed = 20
input$forecast.length=5
input = list()
input$start.address = "Kamppi"
input$end.address = "kalevanvainio"
input$via.addresses = ""
input$cycling.speed = 20
input$forecast.length=5
# Try changing time zone
Sys.setenv(TZ="Europe/Paris")
Sys.setenv(TZ="Europe/Helsinki")