TransWikia.com

Edit GISJOIN attribute ID from census data

Geographic Information Systems Asked by user65127 on November 16, 2020

I have two dataframes d1 and d2. My data frames are census data from 2010. I want to merge them using a common attribute (merge (d1, d2, by.x="GEOID", by.y= "GISJOIN").

d1 has the common id as GEOID (for eg. 310019654001) while d2 has the same id attribute as GISJOIN (for eg. 31000109654001). I need to remove the 3rd and 7th 0 from the GISJOIN attribute. Is it possible to do that in R? Also, any other way to make a common attribute?

Add your own answers!

Ask a Question

Get help from others!

© 2024 TransWikia.com. All rights reserved. Sites we Love: PCI Database, UKBizDB, Menu Kuliner, Sharing RPP