Created
February 5, 2019 10:47
-
-
Save andybega/c9dfce216ae0cb7d217a4f6f9b6cb04f to your computer and use it in GitHub Desktop.
cshapes with sf
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
library(cshapes) | |
library(sf) | |
states <- cshp(as.Date("2016-01-01"), useGW = TRUE) | |
states <- st_as_sf(states) | |
yemen <- states[states$CNTRY_NAME=="Yemen", ] | |
plot(yemen[, 1]) |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment