Skip to content
Prev 3051 / 29559 Next

merging data with SpatialPolygonsDataFrame

On Thursday 24 January 2008, Roger Bivand wrote:
I think so. 

I was (trying to) describe the process of joining, either 1:1 or many:1, the 
att table associated with an sp object and some other data frame.

merge() seems to work fine, but the order of the rows are different from the 
original data frame attached to the sp object.

My question was on the best way to 'update' the data frame attached to an sp 
object, based on the results from a merge() with some other data.

does that help?

cheers,

Dylan