2313 search results for "map"

maps and the art of survey-weighted maintenance

December 9, 2014
By
maps and the art of survey-weighted maintenance

introducing swmap: cartography with complex survey data. this collection of publicly-available r syntax implements granular geographic variation visualizations similar to those seen in the popular press without compromising on survey methodology.thanks to david rae, paul regular, joseph larmarange, djalma pessoa, hadley wickham, thomas lumley, john baumgartner, viviane quintaes,

Read more »

Mucking around with maps, schools and ethnicity in NZ

December 7, 2014
By
Mucking around with maps, schools and ethnicity in NZ

I’ve been having a conversation for a while with @kamal_hothi and @aschiff on maps, schools, census, making NZ data available, etc. This post documents some basic steps I used for creating a map on ethnic diversity in schools at the census-area-unit level. This “el quicko” version requires 3 ingredients: Census area units shape files (available

Read more »

Cindy Brewer: helping you choose better color scales for maps

December 5, 2014
By
Cindy Brewer: helping you choose better color scales for maps

The choice of colors you use in a statistical graphic isn't just about making your chart look good: the colors you choose are often critical to interpretation. For example, you wouldn't want to use a scale like this to represent, say, average income on a map: That palette would be suitable for qualitative data without implicit ordering (say, political...

Read more »

Basic mapping and attribute joins in R

November 9, 2014
By
Basic mapping and attribute joins in R

This post is based on the free and open source Creating-maps-in-R teaching resource for introducing R as a command-line GIS. R is well known as an language ideally suited for data processing, statistics and modelling. R has a number of spatial packages, allowing analyses that would require hundreds of lines of code in other languages to be implemented with...

Read more »

Quarterback Completion Heatmap Using dplyr

October 26, 2014
By
Quarterback Completion Heatmap Using dplyr

Several months ago, I found Bryan Povlinkski's (really nicely cleaned) dataset with 2013 NFL play-by-play information, based on data released by Brian Burke at Advanced Football Analytics. I decided to browse QB completion rates based on Pass Location (Left, Middle, Right), Pass Distance (Short or Deep), and Down....

Read more »

Make a KML-File from an OpenStreetMap Trail

September 26, 2014
By
Make a KML-File from an OpenStreetMap Trail

Ever wished to use a trail on OSM on your GPS or smartphone? With this neat little R-Script this can easily be done. You'll just need to search OpenStreetMap for the ID of the trail (way), put this as argument to osmar::get_osm, convert to KML and you're good to go! # get OSM...

Read more »

Adding Google Drive Times and Distance Coefficients to Regression Models with ggmap and sp

September 24, 2014
By
Adding Google Drive Times and Distance Coefficients to Regression Models with ggmap and sp

Space, a wise man once said, is the final frontier. Not the Buzz Alrdin/Light Year, Neil deGrasse Tyson kind (but seriously, have you seen Cosmos?). Geographic space. Distances have been finding their way into metrics since the cavemen (probably). GIS seem to make nearly every science way more fun…and accurate! Most of my research deals with

Read more »

H2O, Domino & Kaggle Quick-Start Guide and RUGSMAPS2

September 22, 2014
By
H2O, Domino & Kaggle Quick-Start Guide and RUGSMAPS2

Following up on my previous posts about H2O Deep Learning (TTTAR1) and RUGSMAPS (TTTAR2), here is a quick update on two interesting things I have been working on: a Kaggle tutorial and a new RUGSMAPS app.Short Tutorials based on a Kaggle CompetitionFirst of all, I would like to share with...

Read more »

Charting/Mapping the Scottish Vote with R (an rvest/dplyr/tidyr/TopoJSON/ggplot tutorial)

September 20, 2014
By
Charting/Mapping the Scottish Vote with R (an rvest/dplyr/tidyr/TopoJSON/ggplot tutorial)

The BBC did a pretty good job live tracking the Scotland secession vote, but I really didn’t like the color scheme they chose and decided to use the final tally site as the basis for another tutorial using the tools from the Hadleyverse and taking advantage of the fact that newer gdal libraries can read

Read more »

Animated choropleths to visualize mortality rates of children under 5 and gender differences using rMaps

September 17, 2014
By

This post displays two animated choropleths. One for global mortality rates for children under 5 (per 1000 live births) and the second for the difference in global mortality rates for males and female children under 5 (per 1000). Please click here:&nbs...

Read more »