r - Combining spatial data -
r - Combining spatial data -
i trying combine 2 datasets found here:
one world map taken map_data('world') , other lat/lon of black carbon emissions in 1960. merge 2 can summarize emissions based on country. far have been unsuccessful.
my impression sp bundle right tool here. specifically, over() function world map beingness spatialpolygonsdataframe , emissions info beingness spatialpointsdataframe can't seem things work.
any help much appreciated. happy hear of suggestions solid references on gis , r.
edit: ended using data(countriescoarse) rworldmap bundle instead of map_data('world'). had advantage of beingness spatialpolygonsdataframe. over() appears working desired. took downwards broken link data.
r gis sp rworldmap
Comments
Post a Comment