-
-
Save sckott/9fd7e8e36ec5614e343f to your computer and use it in GitHub Desktop.
This file contains 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
devtools::install_github("ropensci/togeojson@reworkapi") | |
library('togeojson') | |
library('maps') | |
data(us.cities) | |
to_geo_json(us.cities[1:2,], lat='lat', lon='long') | |
to_geojson(us.cities[1:2,], lat='lat', lon='long') |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment