Skip to content
This repository has been archived by the owner on May 1, 2021. It is now read-only.

Metro areas? #12

Open
tiernanmartin opened this issue Mar 10, 2017 · 2 comments
Open

Metro areas? #12

tiernanmartin opened this issue Mar 10, 2017 · 2 comments

Comments

@tiernanmartin
Copy link

Is there a plan to include a US Metro Areas sf object?

@sctyner
Copy link

sctyner commented Oct 2, 2019

You can do this pretty easily with the tigris + sf packages.

# install.packages("tigris")
library(tigris)
library(dplyr)
library(sf)
urban <- urban_areas(cb = T, year = 2018)
urban_sf <- st_as_sf(urban)
metro_areas <- filter(urban_sf, UATYP10 == "U")

According to the Census, I think the UAs are what you're looking for! Now if only we could mutate census areas onto the shifted Alaska-Hawaii areas. (That's why I'm lurking here.)

@tiernanmartin
Copy link
Author

You and I are after the same thing.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants