merge - R: left_join creating two extra rows -


i'm working own dataset spatial data set. in spatial data set,

    >nrow(bmorehoods@data)     > [1] 278 

and data set has 78 rows.

after

    >a<-left_join(bmorehoods@data,mydata)     >nrow(a)     >[1] 280 

then

    >head(bmorehoods@data) 

then row names appear

    0     1     2     3      ... 

and

head(mydata) row names appear

    1     2     3     4     ... 

so source of problem? or there other ways merge these data can use them?


Comments

Popular posts from this blog

html - Firefox flex bug applied to buttons? -

html - Missing border-right in select on Firefox -

c# - two queries in same method -