Skip to content

Commit 0a602cc

Browse files
committed
make leaflet work with github
Merge branch 'master' of https://github.com/randomjohn/randomjohn.github.io # Conflicts: # _posts/2017-07-21-r-maps-with-leaflet.md
2 parents 13b4fe0 + 2e5419a commit 0a602cc

File tree

2 files changed

+1
-26
lines changed

2 files changed

+1
-26
lines changed

_posts/2017-07-21-r-maps-with-leaflet.md

Lines changed: 1 addition & 26 deletions
Original file line numberDiff line numberDiff line change
@@ -80,32 +80,7 @@ gvl_value %>%
8080
addLayersControl(overlayGroups = c("Parks","Median home value"))
8181
{% endhighlight %}
8282

83-
84-
85-
{% highlight text %}
86-
## PhantomJS not found. You can install it with webshot::install_phantomjs(). If it is installed, please make sure the phantomjs executable can be found via the PATH variable.
87-
{% endhighlight %}
88-
89-
90-
91-
{% highlight text %}
92-
## Warning in normalizePath(path.expand(path), winslash, mustWork): path[1]=".
93-
## \webshot373038b9640a.png": The system cannot find the file specified
94-
{% endhighlight %}
95-
96-
97-
98-
{% highlight text %}
99-
## Warning in file(con, "rb"): cannot open file 'C:\Users\johnd\AppData\Local
100-
## \Temp\RtmpaiScuL\file373053433dd\webshot373038b9640a.png': No such file or
101-
## directory
102-
{% endhighlight %}
103-
104-
105-
106-
{% highlight text %}
107-
## Error in file(con, "rb"): cannot open the connection
108-
{% endhighlight %}
83+
![plot of chunk unnamed-chunk-4](/figures//2017-07-21-r-maps-with-leaflet.Rmdunnamed-chunk-4-1.png)
10984
# Discussion
11085

11186
I'm just starting to learn about the `leaflet` package, but in just a couple of hours (and standing on the shoulders of giants) I was able to put together an interactive map combining Census data (median home value by census tract) and locally-generated data (park locations). Such combinations can be effectively used to examine local situations in the context of rich data already collected at a federal level (assuming the instability at the U.S. Census Bureau is temporary).

0 commit comments

Comments
 (0)