NAME
Geo::TigerLine::Record::3 - TIGER/Line 1998 Complete Chain Geographic Entity Codes
SYNOPSIS
use Geo::TigerLine::Record::3;
@records = Geo::TigerLine::Record::3->parse_file($fh);
@records = Geo::TigerLine::Record::3->parse_file($fh, \&callback);
$record = Geo::TigerLine::Record::3->new(\%fields);
$record->rt();
$record->version();
$record->tlid();
$record->state90l();
$record->state90r();
$record->coun90l();
$record->coun90r();
$record->fmcd90l();
$record->fmcd90r();
$record->fpl90l();
$record->fpl90r();
$record->ctbna90l();
$record->ctbna90r();
$record->air90l();
$record->air90r();
$record->trust90l();
$record->trust90r();
$record->rs1();
$record->blk90l();
$record->blk90r();
$record->airl();
$record->airr();
$record->fanrcl();
$record->fanrcr();
$record->census3();
$record->census4();
$record->rs2();
$record->vtd90l();
$record->vtd90r();
DESCRIPTION
This is a class representing record type 3 of the TIGER/Line 1998 census geographic database. Each object is one record. It also contains methods to parse TIGER/Line record type 3 files and turn them into objects.
This is intended as an intermediate format between pulling the raw data out of the simplistic TIGER/Line data files into something more sophisticated (a process you should only have to do once). As such, its not very fast, but its careful, easy to use and performs some verifications on the data being read.
As this class is autogenerated by mk_parsers, think before you modify this file. Its OO, so consider sub-classing instead.
Accessors
These are simple get/set accessors for each field of a record generated from the TIGER/Line 1998 data dictionary. They perform some data validation.
- rt
-
$data = $record->rt(); $record->rt($data);
Record Type.
Expects alphanumeric data of no more than 1 characters. $data cannot be blank and should be left justified.
- version
-
$data = $record->version(); $record->version($data);
Version Number.
Expects numeric data of no more than 4 characters. $data cannot be blank and should be left justified.
- tlid
-
$data = $record->tlid(); $record->tlid($data);
TIGER/Line ID, Permanent Record Number.
Expects numeric data of no more than 10 characters. $data cannot be blank and should be right justified.
- state90l
-
$data = $record->state90l(); $record->state90l($data);
FIPS State Code, 1990 Left.
Expects numeric data of no more than 2 characters. $data can be blank and should be left justified.
- state90r
-
$data = $record->state90r(); $record->state90r($data);
FIPS State Code, 1990 Right.
Expects numeric data of no more than 2 characters. $data can be blank and should be left justified.
- coun90l
-
$data = $record->coun90l(); $record->coun90l($data);
FIPS County Code, 1990 Left.
Expects numeric data of no more than 3 characters. $data can be blank and should be left justified.
- coun90r
-
$data = $record->coun90r(); $record->coun90r($data);
FIPS County Code, 1990 Right.
Expects numeric data of no more than 3 characters. $data can be blank and should be left justified.
- fmcd90l
-
$data = $record->fmcd90l(); $record->fmcd90l($data);
FIPS 55 Code (MCD/CCD), 1990 Left.
Expects numeric data of no more than 5 characters. $data can be blank and should be left justified.
- fmcd90r
-
$data = $record->fmcd90r(); $record->fmcd90r($data);
FIPS 55 Code (MCD/CCD), 1990 Right.
Expects numeric data of no more than 5 characters. $data can be blank and should be left justified.
- fpl90l
-
$data = $record->fpl90l(); $record->fpl90l($data);
FIPS 55 Code (Place/CDP), 1990 Left.
Expects numeric data of no more than 5 characters. $data can be blank and should be left justified.
- fpl90r
-
$data = $record->fpl90r(); $record->fpl90r($data);
FIPS 55 Code (Place/CDP), 1990 Right.
Expects numeric data of no more than 5 characters. $data can be blank and should be left justified.
- ctbna90l
-
$data = $record->ctbna90l(); $record->ctbna90l($data);
Census Tract/BNA Code, 1990 Left.
Expects numeric data of no more than 6 characters. $data can be blank and should be left justified.
- ctbna90r
-
$data = $record->ctbna90r(); $record->ctbna90r($data);
Census Tract/BNA Code, 1990 Right.
Expects numeric data of no more than 6 characters. $data can be blank and should be left justified.
- air90l
-
$data = $record->air90l(); $record->air90l($data);
Census American Indian/Alaska Native Area Code 1990, Left.
Expects numeric data of no more than 4 characters. $data can be blank and should be left justified.
- air90r
-
$data = $record->air90r(); $record->air90r($data);
Census American Indian/Alaska Native Area Code 1990, Right.
Expects numeric data of no more than 4 characters. $data can be blank and should be left justified.
- trust90l
-
$data = $record->trust90l(); $record->trust90l($data);
American Indian Trust Land Flag 1990, Left.
Expects alphanumeric data of no more than 1 characters. $data can be blank and should be left justified.
- trust90r
-
$data = $record->trust90r(); $record->trust90r($data);
American Indian Trust Land Flag 1990, Right.
Expects alphanumeric data of no more than 1 characters. $data can be blank and should be left justified.
- rs1
-
$data = $record->rs1(); $record->rs1($data);
Reserved Space 1.
Expects alphanumeric data of no more than 2 characters. $data can be blank and should be left justified.
- blk90l
-
$data = $record->blk90l(); $record->blk90l($data);
Census Block Number, 1990 Left.
Expects alphanumeric data of no more than 4 characters. $data can be blank and should be left justified.
- blk90r
-
$data = $record->blk90r(); $record->blk90r($data);
Census Block Number, 1990 Right.
Expects alphanumeric data of no more than 4 characters. $data can be blank and should be left justified.
- airl
-
$data = $record->airl(); $record->airl($data);
Census American Indian/Alaska Native Area Code, Current Left.
Expects numeric data of no more than 4 characters. $data can be blank and should be left justified.
- airr
-
$data = $record->airr(); $record->airr($data);
Census American Indian/Alaska Native Area Code, Current Right.
Expects numeric data of no more than 4 characters. $data can be blank and should be left justified.
- fanrcl
-
$data = $record->fanrcl(); $record->fanrcl($data);
FIPS 55 Code (ANRC), Current Left.
Expects numeric data of no more than 5 characters. $data can be blank and should be left justified.
- fanrcr
-
$data = $record->fanrcr(); $record->fanrcr($data);
FIPS 55 Code (ANRC), Current Right.
Expects numeric data of no more than 5 characters. $data can be blank and should be left justified.
- census3
-
$data = $record->census3(); $record->census3($data);
Census Use 3.
Expects numeric data of no more than 3 characters. $data can be blank and should be left justified.
- census4
-
$data = $record->census4(); $record->census4($data);
Census Use 4.
Expects numeric data of no more than 3 characters. $data can be blank and should be left justified.
- rs2
-
$data = $record->rs2(); $record->rs2($data);
Reserved Space 2.
Expects alphanumeric data of no more than 2 characters. $data can be blank and should be left justified.
- vtd90l
-
$data = $record->vtd90l(); $record->vtd90l($data);
Voting District Code, 1990 Left.
Expects alphanumeric data of no more than 4 characters. $data can be blank and should be left justified.
- vtd90r
-
$data = $record->vtd90r(); $record->vtd90r($data);
Voting District Code, 1990 Right.
Expects alphanumeric data of no more than 4 characters. $data can be blank and should be left justified.
Data dictionary
This is the original TIGER/Line 1998 data dictionary from which this class was generated.
Record Type 3 - Complete Chain Geographic Entity Codes
Field BV Fmt Type Beg End Len Description
RT No L A 1 1 1 Record Type
VERSION No L N 2 5 4 Version Number
TLID No R N 6 15 10 TIGER/Line ID, Permanent Record Number
STATE90L Yes L N 16 17 2 FIPS State Code, 1990 Left
STATE90R Yes L N 18 19 2 FIPS State Code, 1990 Right
COUN90L Yes L N 20 22 3 FIPS County Code, 1990 Left
COUN90R Yes L N 23 25 3 FIPS County Code, 1990 Right
FMCD90L Yes L N 26 30 5 FIPS 55 Code (MCD/CCD), 1990 Left
FMCD90R Yes L N 31 35 5 FIPS 55 Code (MCD/CCD), 1990 Right
FPL90L Yes L N 36 40 5 FIPS 55 Code (Place/CDP), 1990 Left
FPL90R Yes L N 41 45 5 FIPS 55 Code (Place/CDP), 1990 Right
CTBNA90L Yes L N 46 51 6 Census Tract/BNA Code, 1990 Left
CTBNA90R Yes L N 52 57 6 Census Tract/BNA Code, 1990 Right
AIR90L Yes L N 58 61 4 Census American Indian/Alaska Native Area Code 1990, Left
AIR90R Yes L N 62 65 4 Census American Indian/Alaska Native Area Code 1990, Right
TRUST90L Yes L A 66 66 1 American Indian Trust Land Flag 1990, Left
TRUST90R Yes L A 67 67 1 American Indian Trust Land Flag 1990, Right
RS1 Yes L A 68 69 2 Reserved Space 1
BLK90L Yes L A 70 73 4 Census Block Number, 1990 Left
BLK90R Yes L A 74 77 4 Census Block Number, 1990 Right
AIRL Yes L N 78 81 4 Census American Indian/Alaska Native Area Code, Current Left
AIRR Yes L N 82 85 4 Census American Indian/Alaska Native Area Code, Current Right
FANRCL Yes L N 86 90 5 FIPS 55 Code (ANRC), Current Left
FANRCR Yes L N 91 95 5 FIPS 55 Code (ANRC), Current Right
CENSUS3 Yes L N 96 98 3 Census Use 3
CENSUS4 Yes L N 99 101 3 Census Use 4
RS2 Yes L A 102 103 2 Reserved Space 2
VTD90L Yes L A 104 107 4 Voting District Code, 1990 Left
VTD90R Yes L A 108 111 4 Voting District Code, 1990 Right
AUTHOR
Michael G Schwern <schwern@pobox.com>