Marcelo O. S. GuimarĂ£es
2016-12-11
seq(1,43,2)
[1] 1 3 5 7 9 11 13 15 17 19 21 23 25 27 29 31 33 35 37 39 41 43
source("getGraphs.R")
source("functions.R")
library(data.table)
fullDb=getData()
[1] "Took 5.00715827941895 secs to collect the data"
+ temperature, pressure,both
choose(fullDb,mx=39,my=29,mz=1,mt=1,
mvariable="temperature")
Inside R studio you set set the above options interactively via the package manipulate. A helper function getFilter deals with it all and you just need to worry with the database fullDb that can be obtained through the getData() function. The interactive output can only be show inside the rstudio.
#This may take a long time since you may download 3.5G of data.
fullDb=getData()
getFilter(fullDb)