Blog Archives

Getting data for every Census tract in the US with purrr and tidycensus

May 31, 2017
By

Interested in more tips on working with Census data? Click here to join my email list! Last week, I published the development version of my new R package, tidycensus. You can read through the documentation and some examples at https://walkerke.github.io/tidycensus/. I’m working on getting the package CRAN-ready with better error handling; in the meantime, I’m sharing a few examples to...

Read more »

Generating metropolitan subsets of Census data with R and tigris

May 18, 2017
By
Generating metropolitan subsets of Census data with R and tigris

Need help working with Census data in your project? Contact me at [email protected] to discuss consulting support or a training workshop! Commonly, studies that use US Census data focus on topics at the scale of the metropolitan area. However, subsetting Census geographic data by metropolitan area is not always straightforward. Such a workflow for Census tracts might look something like: Manually...

Read more »

New in the tigris package: simple features support and historic shapefiles

May 2, 2017
By
New in the tigris package: simple features support and historic shapefiles

I am excited to announce that tigris 0.5 is now on CRAN. This is a major release that has been in the works for several months. Get it with install.packages("tigris"). One major new feature is support for the simple features data model via the sf R package. sf allows for the representation of spatial objects in R like data frames,...

Read more »

Spatial analysis pipelines with simple features in R

December 27, 2016
By

In November, the new simple features package for R sf hit CRAN. The package is like rgdal, sp, and rgeos rolled into one, is much faster, and allows for data processing with dplyr verbs! Also, as sf objects are represented in a much simpler way than sp objects, it allows for spatial analysis in R within magrittr pipelines. This post...

Read more »

Spatial analysis pipelines with simple features in R

December 27, 2016
By

In November, the new simple features package for R sf hit CRAN. The package is like rgdal, sp, and rgeos rolled into one, is much faster, and allows for data processing with dplyr verbs! Also, as sf objects are represented in a much simpler way than sp objects, it allows for spatial analysis in R within magrittr pipelines. This post...

Read more »

Dropdown menus in R Markdown with bsselectR

December 14, 2016
By

I strongly believe that interactive reports, presentations, and scholarly articles are going to become much more prominent in the years ahead. Whereas a PDF article or presentation can often only show a limited aspect of a research project, interactive documents can allow a reader or presenter to explore project content in a much broader sense. For dynamic research documents, an...

Read more »

Dropdown menus in R Markdown with bsselectR

December 14, 2016
By

I strongly believe that interactive reports, presentations, and scholarly articles are going to become much more prominent in the years ahead. Whereas a PDF article or presentation can often only show a limited aspect of a research project, interactive documents can allow a reader or presenter to explore project content in a much broader sense. For dynamic research documents, an...

Read more »

Reproducing the Washington Post housing price maps with R and ggplot2

June 29, 2016
By
Reproducing the Washington Post housing price maps with R and ggplot2

This week, Emily Badger and Darla Cameron at The Washington Post’s Wonkblog published an article (linked here) discussing data from the Federal Housing Finance Agency that suggest that the greatest increase in house prices in large metropolitan areas tend to be found in urban rather than suburban areas. Wonkblog published a series of maps illustrating this for Washington DC,...

Read more »

Reproducing the Washington Post housing price maps with R and ggplot2

June 29, 2016
By
Reproducing the Washington Post housing price maps with R and ggplot2

This week, Emily Badger and Darla Cameron at The Washington Post’s Wonkblog published an article (linked here) discussing data from the Federal Housing Finance Agency that suggest that the greatest increase in house prices in large metropolitan areas tend to be found in urban rather than suburban areas. Wonkblog published a series of maps illustrating this for Washington DC,...

Read more »

Interactive flow visualization in R

June 26, 2016
By

Exploring flows between origins and destinations visually is a common task, but can be difficult to get right. In R, there are many tutorials on the web that show how to produce static flow maps (see here, here, here, and here, among others). Over the past couple years, R developers have created an infrastructure to bridge R with JavaScript using...

Read more »

Search R-bloggers


Sponsors

Never miss an update!
Subscribe to R-bloggers to receive
e-mails with the latest R posts.
(You will not see this message again.)

Click here to close (This popup will not appear again)