Permalink
Switch branches/tags
Nothing to show
Find file
Fetching contributors…
Cannot retrieve contributors at this time
40 lines (39 sloc) 955 Bytes
-- P42. GROUP QUARTERS POPULATION BY GROUP QUARTERS TYPE
-- designed to work with the IRE Census bulk data exports
-- see http://census.ire.org/data/bulkdata.html
CREATE TABLE ire_p42 (
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,
p042001 INTEGER,
p042001_2000 INTEGER,
p042002 INTEGER,
p042002_2000 INTEGER,
p042003 INTEGER,
p042003_2000 INTEGER,
p042004 INTEGER,
p042004_2000 INTEGER,
p042005 INTEGER,
p042005_2000 INTEGER,
p042006 INTEGER,
p042006_2000 INTEGER,
p042007 INTEGER,
p042007_2000 INTEGER,
p042008 INTEGER,
p042008_2000 INTEGER,
p042009 INTEGER,
p042009_2000 INTEGER,
p042010 INTEGER,
p042010_2000 INTEGER,
PRIMARY KEY (geoid)
);