Permalink
Find file
Fetching contributors…
Cannot retrieve contributors at this time
32 lines (31 sloc) 748 Bytes
-- P2. URBAN AND RURAL
-- designed to work with the IRE Census bulk data exports
-- see http://census.ire.org/data/bulkdata.html
CREATE TABLE ire_p2 (
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,
p002001 INTEGER,
p002001_2000 INTEGER,
p002002 INTEGER,
p002002_2000 INTEGER,
p002003 INTEGER,
p002003_2000 INTEGER,
p002004 INTEGER,
p002004_2000 INTEGER,
p002005 INTEGER,
p002005_2000 INTEGER,
p002006 INTEGER,
p002006_2000 INTEGER,
PRIMARY KEY (geoid)
);