-
Notifications
You must be signed in to change notification settings - Fork 3
/
Copy pathindex.html
144 lines (121 loc) · 7.43 KB
/
index.html
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
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
<html lang="en">
<head>
<meta http-equiv="content-type" content="text/html; charset=UTF-8">
<meta charset="utf-8">
<meta name="generator" content="pandoc" />
<meta name="author" content="Tessera" />
<title>Tessera Tutorial at useR! 2015</title>
<script src="assets/jquery-1.11.0/jquery.min.js"></script>
<link href="assets/bootstrap-3.3.2/css/bootstrap.min.css" rel="stylesheet" />
<script src="assets/bootstrap-3.3.2/js/bootstrap.min.js"></script>
<script src="assets/bootstrap-3.3.2/shim/html5shiv.min.js"></script>
<script src="assets/bootstrap-3.3.2/shim/respond.min.js"></script>
<link href="assets/highlight-8.4/tomorrow.css" rel="stylesheet" />
<script src="assets/highlight-8.4/highlight.pack.js"></script>
<link href="assets/fontawesome-4.3.0/css/font-awesome.min.css" rel="stylesheet" />
<script src="assets/stickykit-1.1.1/sticky-kit.min.js"></script>
<script src="assets/jqueryeasing-1.3/jquery.easing.min.js"></script>
<link href="assets/packagedocs-0.0.1/pd.css" rel="stylesheet" />
<script src="assets/packagedocs-0.0.1/pd.js"></script>
<script src="assets/packagedocs-0.0.1/pd-sticky-toc.js"></script>
<meta name="viewport" content="width=device-width, initial-scale=1, maximum-scale=1">
</head>
<body>
<header class="navbar navbar-white navbar-fixed-top" role="banner" id="header">
<div class="container">
<div class="navbar-header">
<button class="navbar-toggle" type="button" data-toggle="collapse" data-target=".navbar-collapse">
<span class="sr-only">Toggle navigation</span>
<span class="icon-bar"></span>
<span class="icon-bar"></span>
<span class="icon-bar"></span>
</button>
<span class="navbar-brand">
<a href="http://tessera.io"> <img src='figures/icon.png' alt='tessera icon' width='30px' height='30px' style='margin-top: -3px;'> </a>
</span>
<a href="#content-top" class="navbar-brand page-scroll">
Tessera Tutorial at useR! 2015
</a>
</div>
</div>
</header>
<!-- Begin Body -->
<div class="container">
<div class="row">
<div class="col-md-12">
<div id="content-top"></div>
<div id="tessera-tutorial-at-user-2015" class="section level1">
<h1>Tessera Tutorial at useR! 2015</h1>
<p>The Tessera team will be presenting an interactive tutorial at <a href="http://user2015.math.aau.dk">useR! 2015</a> in Aalborg Denmark on June 30, 2015.</p>
<div id="links-for-the-tutorial" class="section level2">
<h2>Links for the Tutorial</h2>
<ul>
<li><a href="http://ml.stat.purdue.edu/user2015/Tessera-aalborg-slides.html">Slides</a></li>
<li><a href="https://raw.githubusercontent.com/tesseradata/docs-UseR2015/gh-pages/R/housing.R">Housing example code</a> (note that you can equivalently use the code in the slides)</li>
<li><a href="https://raw.githubusercontent.com/tesseradata/docs-UseR2015/gh-pages/R/taxi.R">Taxi example code</a> and link to <a href="http://www.nyc.gov/html/tlc/html/passenger/taxicab_rate.shtml">rate code information</a></li>
</ul>
</div>
<div id="download-tutorial-materials" class="section level2">
<h2>Download Tutorial Materials</h2>
<p>To avoid network issues at the tutorial and to help get things started off smoothly, please download the required packages and data sets listed below prior to the tutorial. Additional materials such as slides and example code will be made available at the time of the tutorial.</p>
<ol style="list-style-type: decimal">
<li><p>If you do not already have the most recent version of R, (version 3.2), please <a href="http://cran.r-project.org">download</a> and install it.</p></li>
<li><p>You will need a recent version of the Firefox or Chrome browser installed on your computer.</p></li>
<li><p>Open R and execute the following commands to install Tessera and other libraries you’ll need for the tutorials:</p></li>
</ol>
<pre class="r"><code>install.packages(c("maps", "ggplot2", "gridExtra", "lubridate", "geosphere", "devtools"))
devtools::install_github("tesseradata/datadr")
devtools::install_github("tesseradata/trelliscope")
devtools::install_github("hafen/housingData")
devtools::install_github("bokeh/rbokeh")</code></pre>
<p><span class="label label-success"><strong>Update:</strong></span> it appears there may be some issues with github rate limiting at the conference. If you try the above <code>install_github</code> commands and get an error to the effect of “(403) Forbidden”, we have made the github packages available at another location:</p>
<pre class="r"><code># only run this if the install commands above were not successful
install.packages(c("maps", "ggplot2", "gridExtra", "lubridate", "geosphere", "devtools"))
packages <- c("datadr_0.7.5.8", "housingData_0.2", "rbokeh_0.2.3.1", "trelliscope_0.8.4")
urls <- sprintf("http://ml.stat.purdue.edu/user2015/packages/%s.tar.gz", packages)
devtools::install_url(urls)</code></pre>
<p><strong>For Windows users:</strong> when installing <code>devtools</code>, you may notice the following warning, which you can ignore:</p>
<pre class="r"><code>> library(devtools)
WARNING: Rtools is required to build R packages, but no version of Rtools compatible with R 3.x was found. (Only the following incompatible version(s) of Rtools were found:3.2)
Please download and install Rtools 3.1 from http://cran.r-project.org/bin/windows/Rtools/ and then run find_rtools().</code></pre>
<p>To test your installation, you can load R and try the following commands:</p>
<pre class="r"><code>library(trelliscope)
library(rbokeh)
library(housingData)
panel <- function(x)
figure() %>% ly_points(time, medListPriceSqft, data = x)
housing %>%
qtrellis(by = c("county", "state"), panel, layout = c(2, 4))</code></pre>
<p>This should bring up an interactive trelliscope display in your web browser.</p>
<ol start="4" style="list-style-type: decimal">
<li>Download the NYC Taxi sample data and unzip it on your computer: <a href="http://ml.stat.purdue.edu/user2015/taxiOneWeek.csv.zip">taxiOneWeek.csv.zip</a></li>
</ol>
</div>
<div id="additional-reading-material" class="section level2">
<h2>Additional Reading Material</h2>
<p>If you want to read up on any of the Tessera components prior to the tutorial, you can look at the <a href="http://tessera.io/#references">references section on tessera.io</a>.</p>
<!-- 6. The zip file contains a folder called **exercises**. Set your working directory in R to this folder,
using something like `setwd("mypaths/exercises")`. The **exercises** folder
contains a folder for each of the three exercises: **power_exercise**, **netflow_exercise**, and **housing_exercise**.
Each exercise folder has a single **.R** file which contains the code for the exercise. Open that
file in your editor of choice and begin! -->
<div id="we-look-forward-to-seeing-you-at-user" class="section level4">
<h4>We look forward to seeing you at useR!</h4>
</div>
</div>
</div>
</div>
</div>
</div>
<div id="footer">
<div class="container">
<div class="col-md-6">
<p>© Tessera, 2015</p>
</div>
<div class="col-md-6">
<p class="pull-right">created with <a href="https://github.com/hafen/packagedocs">packagedocs</a></p>
</div>
</div>
</div>
</body>
</html>