2371 search results for "map"

Mapping San Francisco crime

December 30, 2014
By
Mapping San Francisco crime

When I was working as a data scientist at Apple in Silicon Valley, I’d drive up to San Francisco on nights and weekends to meet a girl for dinner or go to a meetup. I sort of fell in love with the city, and ... The post Mapping San Francisco crime appeared first on SHARP SIGHT LABS.

Read more »

WrightMap and TAM – Example continued…

December 29, 2014
By
WrightMap and TAM – Example continued…

As a follow up on the previous about integrating the TAM and WrightMap packages, we received a message from one of the TAM developers, Alexander Robitzsch, suggesting that it is possible to generate the Wright Map directly from the MML estimated distribution (instead of using the WLE estimates used in the previous post). Let’s start with the same setup: library(TAM) library(WrightMap) data( sim.rasch...

Read more »

Making Static & Interactive Maps With ggvis (+ using ggvis maps w/shiny)

December 29, 2014
By
Making Static & Interactive Maps With ggvis (+ using ggvis maps w/shiny)

Even though it’s still at version 0.4, the ggvis package has quite a bit of functionality and is highly useful for exploratory data analysis (EDA). I wanted to see how geographical visualizations would work under it, so I put together six examples that show how to use various features of ggvis for presenting static &

Read more »

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 »

Using WrightMap with the TAM package

October 24, 2014
By
Using WrightMap with the TAM package

WrightMap features close integration with Conquest, allowing you to easily read from its output files. However, this is just a nice convenience for Conquest users, as WrightMap was designed to create beautiful item-person plots simply reading standard R matrices; all you need is a matrix of item parameters and a matrix of person estimates and you can start creating...

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 »