cfpb/mapusaurus — pull request #73 by cmc333333 (2014-08-04 19:40:42+00:00)
Title: Update geos in place + add script for associating tracts to CBSAs

Presently, if you run the geo loading script twice, you'll get duplicate key error. This is particularly cumbersome, as fields are occasionally added to the import scripts. Deleting rows is a pain because multiple other types of records are keyed to the geos.

This changeset allows the records to be updated in place (if present; created fresh if not). We can run the import scripts as often as needed.

Further, census tract shape files to not include the CSA or CBSA that the tracts are a part of, though they do include this information at the county level. Therefore, this adds a new management command for tying up this loose end by associating tracts with the CSA/CBSA of their county.