census-postgres icon indicating copy to clipboard operation
census-postgres copied to clipboard

PostgreSQL schema and import scripts for recent US Census data

Results 8 census-postgres issues
Sort by recently updated
recently updated
newest added

Hello! I'm wondering what kind of license are this data/product attached to? Thank you :)

Several census tables (B24121 to B24126) span multiple sequences and the corresponding views created in view_stored_by_tables are missing the relevant JOINs. There are also several hundred views which are duplicated...

acs2009_5yr/insert_into_tables.sql missing alias for temp_seq tables and is creating conflict with the geoheader table

acs2009_5yr/store_by_tables.sql is missing GeoID for all the tables except for the first one.

WITH ENCODING 'latin1'; missing while improting 2009_5yr geoheader text files.

The script tries to import the same geoheaders from both group1 and group2 directories and thus creates duplicate records. This is only for 2009_5yr datasets.

For each of the releases I've had to clean up the `census_table_metadata` with these `UPDATE`s: - `update acs2011_5yr.census_table_metadata set table_title=initcap(table_title);` - `update acs2011_5yr.census_table_metadata set table_title=replace(table_title, 'Ct, Me, Ma, Mi, Mn,...