Permalink
Find file
Fetching contributors…
Cannot retrieve contributors at this time
46 lines (45 sloc) 1.19 KB
-- HCT4. TENURE BY PRESENCE AND AGE OF PEOPLE UNDER 18 YEARS BY HOUSEHOLD TYPE (EXCLUDING HOUSEHOLDERS, SPOUSES, AND UNMARRIED PARTNERS)
-- designed to work with the IRE Census bulk data exports
-- see http://census.ire.org/data/bulkdata.html
CREATE TABLE ire_hct4 (
geoid VARCHAR(11) NOT NULL,
sumlev VARCHAR(3) NOT NULL,
state VARCHAR(2) NOT NULL,
county VARCHAR(3),
cbsa VARCHAR(5),
csa VARCHAR(3),
necta VARCHAR(5),
cnecta VARCHAR(3),
name VARCHAR(90) NOT NULL,
pop100 INTEGER NOT NULL,
hu100 INTEGER NOT NULL,
pop100_2000 INTEGER,
hu100_2000 INTEGER,
hct004001 INTEGER,
hct004001_2000 INTEGER,
hct004002 INTEGER,
hct004002_2000 INTEGER,
hct004003 INTEGER,
hct004003_2000 INTEGER,
hct004004 INTEGER,
hct004004_2000 INTEGER,
hct004005 INTEGER,
hct004005_2000 INTEGER,
hct004006 INTEGER,
hct004006_2000 INTEGER,
hct004007 INTEGER,
hct004007_2000 INTEGER,
hct004008 INTEGER,
hct004008_2000 INTEGER,
hct004009 INTEGER,
hct004009_2000 INTEGER,
hct004010 INTEGER,
hct004010_2000 INTEGER,
hct004011 INTEGER,
hct004011_2000 INTEGER,
hct004012 INTEGER,
hct004012_2000 INTEGER,
hct004013 INTEGER,
hct004013_2000 INTEGER,
PRIMARY KEY (geoid)
);