Simple features in R

Would you like to make a color-coded choropleth map in R? Until recently, working with geospatial objects was a bit more complex than with many other types of data. That’s because R “Spatial Polygons Data Frames” objects were structured something like this if you ran an R str() command to see their structure:

Simple features structure Screen shot of an R object structure

The more human-readable structure of a simple features R object.

To read this article in full or to leave a comment, please click here

Source: COMPUTER WORLD