I have a data table with columns of county and state names as well as FIPS codes for 1990 U.S. counties.
I cannot easily merge shape data into the data (e.g. the Census ones), but CartoDB does not recognize the "administrative regions" being these counties at all when I ask to georeference this data.
Is there a way around this?
Answer
Follow these steps:
Download a us counties shapefile. Here's one that will work.
Import the zipped UScounties file into CartoDB as a new table.
Change the
fips
column's data type to number. (click on the word 'string' right below 'fips' and select number).Click the merge tables button on the right side of the tool bar when you are in data view.
Choose 'column join' as the merge type.
Select the
fips
column for the U.S. Counties and thecounty_fips_code
column from your CSV file.
This worked for me and I'm including screen shots below. You can also follow this tutorial from CartoDB on how to do a merge using their software.
No comments:
Post a Comment