Permalink
Switch branches/tags
Nothing to show
Find file Copy path
Fetching contributors…
Cannot retrieve contributors at this time
38 lines (37 sloc) 930 Bytes
-- P18G. HOUSEHOLD TYPE (TWO OR MORE RACES HOUSEHOLDER)
-- designed to work with the IRE Census bulk data exports
-- see http://census.ire.org/data/bulkdata.html
CREATE TABLE ire_p18g (
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,
p018g001 INTEGER,
p018g001_2000 INTEGER,
p018g002 INTEGER,
p018g002_2000 INTEGER,
p018g003 INTEGER,
p018g003_2000 INTEGER,
p018g004 INTEGER,
p018g004_2000 INTEGER,
p018g005 INTEGER,
p018g005_2000 INTEGER,
p018g006 INTEGER,
p018g006_2000 INTEGER,
p018g007 INTEGER,
p018g007_2000 INTEGER,
p018g008 INTEGER,
p018g008_2000 INTEGER,
p018g009 INTEGER,
p018g009_2000 INTEGER,
PRIMARY KEY (geoid)
);