TigerLine/Record/S.pm untested

filter: Statementstmt 0.0% 0 / 68 Branchbran n/a Conditioncond n/a MC/DCmcdc n/a Subroutinesub 0.0% 0 / 4 Podpod n/a totaltotal 0.0% 0 / 72 CC 1 SCAR 6.9
CC
1
Cov
0%
BEGIN
2.0
BEGIN
2.0
BEGIN
2.0
CRAP 2.0
1 package Geo::TigerLine::Record::S;
2  
3 use strict;
4  
5 use Carp::Assert;
6 use base qw(Geo::TigerLine::Record::Parser Geo::TigerLine::Record::Accessor
7 Geo::TigerLine::Record Class::Data::Inheritable);
8  
9 use vars qw($VERSION);
10 $VERSION = '0.03';
11  
12  
13 # Auto-generated data dictionary.
14 my %Data_Dict = (
15 'ua' => {
16 'len' => 5,
17 'beg' => 146,
18 'bv' => 'Yes',
19 'fieldnum' => 35,
20 'type' => 'N',
21 'description' => 'Urban Area, 2000',
22 'end' => 150,
23 'fmt' => 'L',
24 'field' => 'ua'
25 },
26 'necma' => {
27 'len' => 4,
28 'beg' => 108,
29 'bv' => 'Yes',
30 'fieldnum' => 26,
31 'type' => 'N',
32 'description' => 'FIPS New England County Metropolitan Area (NECMA) Code, 2000',
33 'end' => 111,
34 'fmt' => 'L',
35 'field' => 'necma'
36 },
37 'file' => {
38 'len' => 5,
39 'beg' => 6,
40 'bv' => 'No',
41 'fieldnum' => 3,
42 'type' => 'N',
43 'description' => 'File Code',
44 'end' => 10,
45 'fmt' => 'L',
46 'field' => 'file'
47 },
48 'sldu' => {
49 'len' => 3,
50 'beg' => 158,
51 'bv' => 'Yes',
52 'fieldnum' => 38,
53 'type' => 'A',
54 'description' => 'State Legislative District Code (Upper Chamber), 2000',
55 'end' => 160,
56 'fmt' => 'R',
57 'field' => 'sldu'
58 },
59 'sdelm' => {
60 'len' => 5,
61 'beg' => 85,
62 'bv' => 'Yes',
63 'fieldnum' => 21,
64 'type' => 'N',
65 'description' => 'Elementary School District Code, 2000',
66 'end' => 89,
67 'fmt' => 'L',
68 'field' => 'sdelm'
69 },
70 'aianhhfp' => {
71 'len' => 5,
72 'beg' => 42,
73 'bv' => 'Yes',
74 'fieldnum' => 11,
75 'type' => 'N',
76 'description' => 'FIPS 55 Code (American Indian/Alaska Native Area/Hawaiian Home Land), 2000',
77 'end' => 46,
78 'fmt' => 'L',
79 'field' => 'aianhhfp'
80 },
81 'tract' => {
82 'len' => 6,
83 'beg' => 31,
84 'bv' => 'No',
85 'fieldnum' => 8,
86 'type' => 'N',
87 'description' => 'Census Tract, 2000',
88 'end' => 36,
89 'fmt' => 'L',
90 'field' => 'tract'
91 },
92 'state' => {
93 'len' => 2,
94 'beg' => 26,
95 'bv' => 'No',
96 'fieldnum' => 6,
97 'type' => 'N',
98 'description' => 'FIPS State Code, 2000',
99 'end' => 27,
100 'fmt' => 'L',
101 'field' => 'state'
102 },
103 'submcd' => {
104 'len' => 5,
105 'beg' => 75,
106 'bv' => 'Yes',
107 'fieldnum' => 19,
108 'type' => 'N',
109 'description' => 'FIPS 55 Code (Subbarrio), 2000',
110 'end' => 79,
111 'fmt' => 'L',
112 'field' => 'submcd'
113 },
114 'rt' => {
115 'len' => 1,
116 'beg' => 1,
117 'bv' => 'No',
118 'fieldnum' => 1,
119 'type' => 'A',
120 'description' => 'Record Type',
121 'end' => 1,
122 'fmt' => 'L',
123 'field' => 'rt'
124 },
125 'puma1' => {
126 'len' => 5,
127 'beg' => 121,
128 'bv' => 'Yes',
129 'fieldnum' => 30,
130 'type' => 'N',
131 'description' => 'Public Use Microdata Area 1% File, 2000',
132 'end' => 125,
133 'fmt' => 'L',
134 'field' => 'puma1'
135 },
136 'aitsce' => {
137 'len' => 3,
138 'beg' => 57,
139 'bv' => 'Yes',
140 'fieldnum' => 15,
141 'type' => 'N',
142 'description' => 'Census Code (American Indian Tribal Subdivision), 2000',
143 'end' => 59,
144 'fmt' => 'L',
145 'field' => 'aitsce'
146 },
147 'polyid' => {
148 'len' => 10,
149 'beg' => 16,
150 'bv' => 'No',
151 'fieldnum' => 5,
152 'type' => 'N',
153 'description' => 'Polygon Identification Code',
154 'end' => 25,
155 'fmt' => 'R',
156 'field' => 'polyid'
157 },
158 'pmsa' => {
159 'len' => 4,
160 'beg' => 104,
161 'bv' => 'Yes',
162 'fieldnum' => 25,
163 'type' => 'N',
164 'description' => 'FIPS Primary Metropolitan Statistical Area Code, 2000',
165 'end' => 107,
166 'fmt' => 'L',
167 'field' => 'pmsa'
168 },
169 'tazcomb' => {
170 'len' => 6,
171 'beg' => 140,
172 'bv' => 'Yes',
173 'fieldnum' => 34,
174 'type' => 'A',
175 'description' => 'Traffic Analysis Zone Code-State Combined, 2000 (not filled)',
176 'end' => 145,
177 'fmt' => 'L',
178 'field' => 'tazcomb'
179 },
180 'concit' => {
181 'len' => 5,
182 'beg' => 65,
183 'bv' => 'Yes',
184 'fieldnum' => 17,
185 'type' => 'N',
186 'description' => 'FIPS 55 Code (Consolidated City), 2000',
187 'end' => 69,
188 'fmt' => 'L',
189 'field' => 'concit'
190 },
191 'county' => {
192 'len' => 3,
193 'beg' => 28,
194 'bv' => 'No',
195 'fieldnum' => 7,
196 'type' => 'N',
197 'description' => 'FIPS County Code, 2000',
198 'end' => 30,
199 'fmt' => 'L',
200 'field' => 'county'
201 },
202 'ur' => {
203 'len' => 1,
204 'beg' => 151,
205 'bv' => 'Yes',
206 'fieldnum' => 36,
207 'type' => 'A',
208 'description' => 'Urban/Rural Indicator, 2000',
209 'end' => 151,
210 'fmt' => 'L',
211 'field' => 'ur'
212 },
213 'place' => {
214 'len' => 5,
215 'beg' => 80,
216 'bv' => 'Yes',
217 'fieldnum' => 20,
218 'type' => 'N',
219 'description' => 'FIPS 55 Code (Incorporated Place/CDP), 2000',
220 'end' => 84,
221 'fmt' => 'L',
222 'field' => 'place'
223 },
224 'blkgrp' => {
225 'len' => 1,
226 'beg' => 41,
227 'bv' => 'No',
228 'fieldnum' => 10,
229 'type' => 'N',
230 'description' => 'Census Block Group, 2000',
231 'end' => 41,
232 'fmt' => 'L',
233 'field' => 'blkgrp'
234 },
235 'cenid' => {
236 'len' => 5,
237 'beg' => 11,
238 'bv' => 'No',
239 'fieldnum' => 4,
240 'type' => 'A',
241 'description' => 'Census File Identification Code',
242 'end' => 15,
243 'fmt' => 'L',
244 'field' => 'cenid'
245 },
246 'aits' => {
247 'len' => 5,
248 'beg' => 60,
249 'bv' => 'Yes',
250 'fieldnum' => 16,
251 'type' => 'N',
252 'description' => 'FIPS 55 Code (American Indian Tribal Subdivision), 2000',
253 'end' => 64,
254 'fmt' => 'L',
255 'field' => 'aits'
256 },
257 'sldl' => {
258 'len' => 3,
259 'beg' => 161,
260 'bv' => 'Yes',
261 'fieldnum' => 39,
262 'type' => 'A',
263 'description' => 'State Legislative District Code (Lower Chamber), 2000',
264 'end' => 163,
265 'fmt' => 'R',
266 'field' => 'sldl'
267 },
268 'sdsec' => {
269 'len' => 5,
270 'beg' => 90,
271 'bv' => 'Yes',
272 'fieldnum' => 22,
273 'type' => 'N',
274 'description' => 'Secondary School District Code, 2000',
275 'end' => 94,
276 'fmt' => 'L',
277 'field' => 'sdsec'
278 },
279 'cousub' => {
280 'len' => 5,
281 'beg' => 70,
282 'bv' => 'No',
283 'fieldnum' => 18,
284 'type' => 'N',
285 'description' => 'FIPS 55 Code (County Subdivision), 2000',
286 'end' => 74,
287 'fmt' => 'L',
288 'field' => 'cousub'
289 },
290 'aihhtli' => {
291 'len' => 1,
292 'beg' => 51,
293 'bv' => 'Yes',
294 'fieldnum' => 13,
295 'type' => 'A',
296 'description' => 'American Indian/Hawaiian Home Land Trust Land Indicator, 2000',
297 'end' => 51,
298 'fmt' => 'L',
299 'field' => 'aihhtli'
300 },
301 'version' => {
302 'len' => 4,
303 'beg' => 2,
304 'bv' => 'No',
305 'fieldnum' => 2,
306 'type' => 'N',
307 'description' => 'Version Number',
308 'end' => 5,
309 'fmt' => 'L',
310 'field' => 'version'
311 },
312 'sduni' => {
313 'len' => 5,
314 'beg' => 95,
315 'bv' => 'Yes',
316 'fieldnum' => 23,
317 'type' => 'N',
318 'description' => 'Unified School District Code, 2000',
319 'end' => 99,
320 'fmt' => 'L',
321 'field' => 'sduni'
322 },
323 'uga' => {
324 'len' => 5,
325 'beg' => 164,
326 'bv' => 'Yes',
327 'fieldnum' => 40,
328 'type' => 'A',
329 'description' => 'Oregon Urban Growth Area, 2000',
330 'end' => 168,
331 'fmt' => 'L',
332 'field' => 'uga'
333 },
334 'msacmsa' => {
335 'len' => 4,
336 'beg' => 100,
337 'bv' => 'Yes',
338 'fieldnum' => 24,
339 'type' => 'N',
340 'description' => 'FIPS Consolidated Metropolitan Statistical Area/Metropolitan Statistical Area Code, 2000',
341 'end' => 103,
342 'fmt' => 'L',
343 'field' => 'msacmsa'
344 },
345 'cd106' => {
346 'len' => 2,
347 'beg' => 112,
348 'bv' => 'No',
349 'fieldnum' => 27,
350 'type' => 'N',
351 'description' => 'Congressional District Code, 106th',
352 'end' => 113,
353 'fmt' => 'R',
354 'field' => 'cd106'
355 },
356 'vtd' => {
357 'len' => 6,
358 'beg' => 152,
359 'bv' => 'Yes',
360 'fieldnum' => 37,
361 'type' => 'A',
362 'description' => 'Census Voting District Code, 2000',
363 'end' => 157,
364 'fmt' => 'R',
365 'field' => 'vtd'
366 },
367 'puma5' => {
368 'len' => 5,
369 'beg' => 116,
370 'bv' => 'Yes',
371 'fieldnum' => 29,
372 'type' => 'N',
373 'description' => 'Public Use Microdata Area 5% File, 2000',
374 'end' => 120,
375 'fmt' => 'L',
376 'field' => 'puma5'
377 },
378 'taz' => {
379 'len' => 6,
380 'beg' => 134,
381 'bv' => 'Yes',
382 'fieldnum' => 33,
383 'type' => 'A',
384 'description' => 'Traffic Analysis Zone Code, 2000',
385 'end' => 139,
386 'fmt' => 'L',
387 'field' => 'taz'
388 },
389 'aianhh' => {
390 'len' => 4,
391 'beg' => 47,
392 'bv' => 'Yes',
393 'fieldnum' => 12,
394 'type' => 'N',
395 'description' => 'Census Code (American Indian/ Alaska Native Area/Hawaiian Home Land), 2000',
396 'end' => 50,
397 'fmt' => 'L',
398 'field' => 'aianhh'
399 },
400 'zcta3' => {
401 'len' => 3,
402 'beg' => 131,
403 'bv' => 'Yes',
404 'fieldnum' => 32,
405 'type' => 'A',
406 'description' => '3-Digit ZIP Code Tabulation Area, 2000',
407 'end' => 133,
408 'fmt' => 'L',
409 'field' => 'zcta3'
410 },
411 'anrc' => {
412 'len' => 5,
413 'beg' => 52,
414 'bv' => 'Yes',
415 'fieldnum' => 14,
416 'type' => 'N',
417 'description' => 'FIPS 55 Code (ANRC), 2000',
418 'end' => 56,
419 'fmt' => 'L',
420 'field' => 'anrc'
421 },
422 'block' => {
423 'len' => 4,
424 'beg' => 37,
425 'bv' => 'No',
426 'fieldnum' => 9,
427 'type' => 'N',
428 'description' => 'Census Block Number, 2000',
429 'end' => 40,
430 'fmt' => 'L',
431 'field' => 'block'
432 },
433 'cd108' => {
434 'len' => 2,
435 'beg' => 114,
436 'bv' => 'Yes',
437 'fieldnum' => 28,
438 'type' => 'N',
439 'description' => 'Congressional District Code, 108th',
440 'end' => 115,
441 'fmt' => 'R',
442 'field' => 'cd108'
443 },
444 'zcta5' => {
445 'len' => 5,
446 'beg' => 126,
447 'bv' => 'Yes',
448 'fieldnum' => 31,
449 'type' => 'A',
450 'description' => '5-Digit ZIP Code Tabulation Area, 2000',
451 'end' => 130,
452 'fmt' => 'L',
453 'field' => 'zcta5'
454 }
455 );
456  
457  
458 my @Data_Fields = (
459 'rt',
460 'version',
461 'file',
462 'cenid',
463 'polyid',
464 'state',
465 'county',
466 'tract',
467 'block',
468 'blkgrp',
469 'aianhhfp',
470 'aianhh',
471 'aihhtli',
472 'anrc',
473 'aitsce',
474 'aits',
475 'concit',
476 'cousub',
477 'submcd',
478 'place',
479 'sdelm',
480 'sdsec',
481 'sduni',
482 'msacmsa',
483 'pmsa',
484 'necma',
485 'cd106',
486 'cd108',
487 'puma5',
488 'puma1',
489 'zcta5',
490 'zcta3',
491 'taz',
492 'tazcomb',
493 'ua',
494 'ur',
495 'vtd',
496 'sldu',
497 'sldl',
498 'uga'
499 );
500  
501  
502 assert(keys %Data_Dict == @Data_Fields);
503  
504 # Turn the data dictionary into class data
505 __PACKAGE__->mk_classdata('Fields');
506 __PACKAGE__->mk_classdata('Dict');
507 __PACKAGE__->mk_classdata('Pack_Tmpl');
508  
509 __PACKAGE__->Dict(\%Data_Dict);
510 __PACKAGE__->Fields(\@Data_Fields);
511  
512 # Generate a pack template for parsing and turn it into class data.
513 my $pack_tmpl = join ' ', map { "A$_" } map { $_->{len} }
514 @Data_Dict{@Data_Fields};
515 __PACKAGE__->Pack_Tmpl($pack_tmpl);
516  
517 # Generate accessors for each data field
518 foreach my $def (@Data_Dict{@Data_Fields}) {
519 __PACKAGE__->mk_accessor($def);
520 }
521  
522  
523 =pod
524  
525 =head1 NAME
526  
527 Geo::TigerLine::Record::S - TIGER/Line 2006 Polygon Additional Geographic Entity Codes
528  
529 =head1 SYNOPSIS
530  
531 use Geo::TigerLine::Record::S;
532  
533 @records = Geo::TigerLine::Record::S->parse_file($fh);
534 @records = Geo::TigerLine::Record::S->parse_file($fh, \&callback);
535  
536 $record = Geo::TigerLine::Record::S->new(\%fields);
537  
538 $record->rt();
539 $record->version();
540 $record->file();
541 $record->cenid();
542 $record->polyid();
543 $record->state();
544 $record->county();
545 $record->tract();
546 $record->block();
547 $record->blkgrp();
548 $record->aianhhfp();
549 $record->aianhh();
550 $record->aihhtli();
551 $record->anrc();
552 $record->aitsce();
553 $record->aits();
554 $record->concit();
555 $record->cousub();
556 $record->submcd();
557 $record->place();
558 $record->sdelm();
559 $record->sdsec();
560 $record->sduni();
561 $record->msacmsa();
562 $record->pmsa();
563 $record->necma();
564 $record->cd106();
565 $record->cd108();
566 $record->puma5();
567 $record->puma1();
568 $record->zcta5();
569 $record->zcta3();
570 $record->taz();
571 $record->tazcomb();
572 $record->ua();
573 $record->ur();
574 $record->vtd();
575 $record->sldu();
576 $record->sldl();
577 $record->uga();
578  
579  
580 =head1 DESCRIPTION
581  
582 This is a class representing record type S of the TIGER/Line 2006
583 census geographic database. Each object is one record. It also
584 contains methods to parse TIGER/Line record type S files and turn them
585 into objects.
586  
587 This is intended as an intermediate format between pulling the raw
588 data out of the simplistic TIGER/Line data files into something more
589 sophisticated (a process you should only have to do once). As such,
590 it's not very fast, but its careful, easy to use and performs some
591 verifications on the data being read.
592  
593 As this class is autogenerated by mk_parsers, think before you modify this
594 file. It's OO, so consider sub-classing instead.
595  
596  
597 =head2 Accessors
598  
599 These are simple get/set accessors for each field of a record
600 generated from the TIGER/Line 2006 data dictionary. They perform some
601 data validation.
602  
603 =over 4
604  
605 =item B<rt>
606  
607 $data = $record->rt();
608 $record->rt($data);
609  
610 Record Type.
611  
612 Expects alphanumeric data of no more than 1 characters. $data cannot be blank
613 and should be left justified.
614  
615  
616 =item B<version>
617  
618 $data = $record->version();
619 $record->version($data);
620  
621 Version Number.
622  
623 Expects numeric data of no more than 4 characters. $data cannot be blank
624 and should be left justified.
625  
626  
627 =item B<file>
628  
629 $data = $record->file();
630 $record->file($data);
631  
632 File Code.
633  
634 Expects numeric data of no more than 5 characters. $data cannot be blank
635 and should be left justified.
636  
637  
638 =item B<cenid>
639  
640 $data = $record->cenid();
641 $record->cenid($data);
642  
643 Census File Identification Code.
644  
645 Expects alphanumeric data of no more than 5 characters. $data cannot be blank
646 and should be left justified.
647  
648  
649 =item B<polyid>
650  
651 $data = $record->polyid();
652 $record->polyid($data);
653  
654 Polygon Identification Code.
655  
656 Expects numeric data of no more than 10 characters. $data cannot be blank
657 and should be right justified.
658  
659  
660 =item B<state>
661  
662 $data = $record->state();
663 $record->state($data);
664  
665 FIPS State Code, 2000.
666  
667 Expects numeric data of no more than 2 characters. $data cannot be blank
668 and should be left justified.
669  
670  
671 =item B<county>
672  
673 $data = $record->county();
674 $record->county($data);
675  
676 FIPS County Code, 2000.
677  
678 Expects numeric data of no more than 3 characters. $data cannot be blank
679 and should be left justified.
680  
681  
682 =item B<tract>
683  
684 $data = $record->tract();
685 $record->tract($data);
686  
687 Census Tract, 2000.
688  
689 Expects numeric data of no more than 6 characters. $data cannot be blank
690 and should be left justified.
691  
692  
693 =item B<block>
694  
695 $data = $record->block();
696 $record->block($data);
697  
698 Census Block Number, 2000.
699  
700 Expects numeric data of no more than 4 characters. $data cannot be blank
701 and should be left justified.
702  
703  
704 =item B<blkgrp>
705  
706 $data = $record->blkgrp();
707 $record->blkgrp($data);
708  
709 Census Block Group, 2000.
710  
711 Expects numeric data of no more than 1 characters. $data cannot be blank
712 and should be left justified.
713  
714  
715 =item B<aianhhfp>
716  
717 $data = $record->aianhhfp();
718 $record->aianhhfp($data);
719  
720 FIPS 55 Code (American Indian/Alaska Native Area/Hawaiian Home Land), 2000.
721  
722 Expects numeric data of no more than 5 characters. $data can be blank
723 and should be left justified.
724  
725  
726 =item B<aianhh>
727  
728 $data = $record->aianhh();
729 $record->aianhh($data);
730  
731 Census Code (American Indian/ Alaska Native Area/Hawaiian Home Land), 2000.
732  
733 Expects numeric data of no more than 4 characters. $data can be blank
734 and should be left justified.
735  
736  
737 =item B<aihhtli>
738  
739 $data = $record->aihhtli();
740 $record->aihhtli($data);
741  
742 American Indian/Hawaiian Home Land Trust Land Indicator, 2000.
743  
744 Expects alphanumeric data of no more than 1 characters. $data can be blank
745 and should be left justified.
746  
747  
748 =item B<anrc>
749  
750 $data = $record->anrc();
751 $record->anrc($data);
752  
753 FIPS 55 Code (ANRC), 2000.
754  
755 Expects numeric data of no more than 5 characters. $data can be blank
756 and should be left justified.
757  
758  
759 =item B<aitsce>
760  
761 $data = $record->aitsce();
762 $record->aitsce($data);
763  
764 Census Code (American Indian Tribal Subdivision), 2000.
765  
766 Expects numeric data of no more than 3 characters. $data can be blank
767 and should be left justified.
768  
769  
770 =item B<aits>
771  
772 $data = $record->aits();
773 $record->aits($data);
774  
775 FIPS 55 Code (American Indian Tribal Subdivision), 2000.
776  
777 Expects numeric data of no more than 5 characters. $data can be blank
778 and should be left justified.
779  
780  
781 =item B<concit>
782  
783 $data = $record->concit();
784 $record->concit($data);
785  
786 FIPS 55 Code (Consolidated City), 2000.
787  
788 Expects numeric data of no more than 5 characters. $data can be blank
789 and should be left justified.
790  
791  
792 =item B<cousub>
793  
794 $data = $record->cousub();
795 $record->cousub($data);
796  
797 FIPS 55 Code (County Subdivision), 2000.
798  
799 Expects numeric data of no more than 5 characters. $data cannot be blank
800 and should be left justified.
801  
802  
803 =item B<submcd>
804  
805 $data = $record->submcd();
806 $record->submcd($data);
807  
808 FIPS 55 Code (Subbarrio), 2000.
809  
810 Expects numeric data of no more than 5 characters. $data can be blank
811 and should be left justified.
812  
813  
814 =item B<place>
815  
816 $data = $record->place();
817 $record->place($data);
818  
819 FIPS 55 Code (Incorporated Place/CDP), 2000.
820  
821 Expects numeric data of no more than 5 characters. $data can be blank
822 and should be left justified.
823  
824  
825 =item B<sdelm>
826  
827 $data = $record->sdelm();
828 $record->sdelm($data);
829  
830 Elementary School District Code, 2000.
831  
832 Expects numeric data of no more than 5 characters. $data can be blank
833 and should be left justified.
834  
835  
836 =item B<sdsec>
837  
838 $data = $record->sdsec();
839 $record->sdsec($data);
840  
841 Secondary School District Code, 2000.
842  
843 Expects numeric data of no more than 5 characters. $data can be blank
844 and should be left justified.
845  
846  
847 =item B<sduni>
848  
849 $data = $record->sduni();
850 $record->sduni($data);
851  
852 Unified School District Code, 2000.
853  
854 Expects numeric data of no more than 5 characters. $data can be blank
855 and should be left justified.
856  
857  
858 =item B<msacmsa>
859  
860 $data = $record->msacmsa();
861 $record->msacmsa($data);
862  
863 FIPS Consolidated Metropolitan Statistical Area/Metropolitan Statistical Area Code, 2000.
864  
865 Expects numeric data of no more than 4 characters. $data can be blank
866 and should be left justified.
867  
868  
869 =item B<pmsa>
870  
871 $data = $record->pmsa();
872 $record->pmsa($data);
873  
874 FIPS Primary Metropolitan Statistical Area Code, 2000.
875  
876 Expects numeric data of no more than 4 characters. $data can be blank
877 and should be left justified.
878  
879  
880 =item B<necma>
881  
882 $data = $record->necma();
883 $record->necma($data);
884  
885 FIPS New England County Metropolitan Area (NECMA) Code, 2000.
886  
887 Expects numeric data of no more than 4 characters. $data can be blank
888 and should be left justified.
889  
890  
891 =item B<cd106>
892  
893 $data = $record->cd106();
894 $record->cd106($data);
895  
896 Congressional District Code, 106th.
897  
898 Expects numeric data of no more than 2 characters. $data cannot be blank
899 and should be right justified.
900  
901  
902 =item B<cd108>
903  
904 $data = $record->cd108();
905 $record->cd108($data);
906  
907 Congressional District Code, 108th.
908  
909 Expects numeric data of no more than 2 characters. $data can be blank
910 and should be right justified.
911  
912  
913 =item B<puma5>
914  
915 $data = $record->puma5();
916 $record->puma5($data);
917  
918 Public Use Microdata Area 5% File, 2000.
919  
920 Expects numeric data of no more than 5 characters. $data can be blank
921 and should be left justified.
922  
923  
924 =item B<puma1>
925  
926 $data = $record->puma1();
927 $record->puma1($data);
928  
929 Public Use Microdata Area 1% File, 2000.
930  
931 Expects numeric data of no more than 5 characters. $data can be blank
932 and should be left justified.
933  
934  
935 =item B<zcta5>
936  
937 $data = $record->zcta5();
938 $record->zcta5($data);
939  
940 5-Digit ZIP Code Tabulation Area, 2000.
941  
942 Expects alphanumeric data of no more than 5 characters. $data can be blank
943 and should be left justified.
944  
945  
946 =item B<zcta3>
947  
948 $data = $record->zcta3();
949 $record->zcta3($data);
950  
951 3-Digit ZIP Code Tabulation Area, 2000.
952  
953 Expects alphanumeric data of no more than 3 characters. $data can be blank
954 and should be left justified.
955  
956  
957 =item B<taz>
958  
959 $data = $record->taz();
960 $record->taz($data);
961  
962 Traffic Analysis Zone Code, 2000.
963  
964 Expects alphanumeric data of no more than 6 characters. $data can be blank
965 and should be left justified.
966  
967  
968 =item B<tazcomb>
969  
970 $data = $record->tazcomb();
971 $record->tazcomb($data);
972  
973 Traffic Analysis Zone Code-State Combined, 2000 (not filled).
974  
975 Expects alphanumeric data of no more than 6 characters. $data can be blank
976 and should be left justified.
977  
978  
979 =item B<ua>
980  
981 $data = $record->ua();
982 $record->ua($data);
983  
984 Urban Area, 2000.
985  
986 Expects numeric data of no more than 5 characters. $data can be blank
987 and should be left justified.
988  
989  
990 =item B<ur>
991  
992 $data = $record->ur();
993 $record->ur($data);
994  
995 Urban/Rural Indicator, 2000.
996  
997 Expects alphanumeric data of no more than 1 characters. $data can be blank
998 and should be left justified.
999  
1000  
1001 =item B<vtd>
1002  
1003 $data = $record->vtd();
1004 $record->vtd($data);
1005  
1006 Census Voting District Code, 2000.
1007  
1008 Expects alphanumeric data of no more than 6 characters. $data can be blank
1009 and should be right justified.
1010  
1011  
1012 =item B<sldu>
1013  
1014 $data = $record->sldu();
1015 $record->sldu($data);
1016  
1017 State Legislative District Code (Upper Chamber), 2000.
1018  
1019 Expects alphanumeric data of no more than 3 characters. $data can be blank
1020 and should be right justified.
1021  
1022  
1023 =item B<sldl>
1024  
1025 $data = $record->sldl();
1026 $record->sldl($data);
1027  
1028 State Legislative District Code (Lower Chamber), 2000.
1029  
1030 Expects alphanumeric data of no more than 3 characters. $data can be blank
1031 and should be right justified.
1032  
1033  
1034 =item B<uga>
1035  
1036 $data = $record->uga();
1037 $record->uga($data);
1038  
1039 Oregon Urban Growth Area, 2000.
1040  
1041 Expects alphanumeric data of no more than 5 characters. $data can be blank
1042 and should be left justified.
1043  
1044  
1045  
1046 =back
1047  
1048  
1049 =head2 Data dictionary
1050  
1051 This is the original TIGER/Line 2006 data dictionary from which this
1052 class was generated.
1053  
1054 Record Type S - Polygon Additional Geographic Entity Codes
1055
1056 Field BV Fmt Type Beg End Len Description
1057 RT No L A 1 1 1 Record Type
1058 VERSION No L N 2 5 4 Version Number
1059 FILE No L N 6 10 5 File Code
1060 CENID No L A 11 15 5 Census File Identification Code
1061 POLYID No R N 16 25 10 Polygon Identification Code
1062 STATE No L N 26 27 2 FIPS State Code, 2000
1063 COUNTY No L N 28 30 3 FIPS County Code, 2000
1064 TRACT No L N 31 36 6 Census Tract, 2000
1065 BLOCK No L N 37 40 4 Census Block Number, 2000
1066 BLKGRP No L N 41 41 1 Census Block Group, 2000
1067 AIANHHFP Yes L N 42 46 5 FIPS 55 Code (American Indian/Alaska Native Area/Hawaiian Home Land), 2000
1068 AIANHH Yes L N 47 50 4 Census Code (American Indian/ Alaska Native Area/Hawaiian Home Land), 2000
1069 AIHHTLI Yes L A 51 51 1 American Indian/Hawaiian Home Land Trust Land Indicator, 2000
1070 ANRC Yes L N 52 56 5 FIPS 55 Code (ANRC), 2000
1071 AITSCE Yes L N 57 59 3 Census Code (American Indian Tribal Subdivision), 2000
1072 AITS Yes L N 60 64 5 FIPS 55 Code (American Indian Tribal Subdivision), 2000
1073 CONCIT Yes L N 65 69 5 FIPS 55 Code (Consolidated City), 2000
1074 COUSUB No L N 70 74 5 FIPS 55 Code (County Subdivision), 2000
1075 SUBMCD Yes L N 75 79 5 FIPS 55 Code (Subbarrio), 2000
1076 PLACE Yes L N 80 84 5 FIPS 55 Code (Incorporated Place/CDP), 2000
1077 SDELM Yes L N 85 89 5 Elementary School District Code, 2000
1078 SDSEC Yes L N 90 94 5 Secondary School District Code, 2000
1079 SDUNI Yes L N 95 99 5 Unified School District Code, 2000
1080 MSACMSA Yes L N 100 103 4 FIPS Consolidated Metropolitan Statistical Area/Metropolitan Statistical Area Code, 2000
1081 PMSA Yes L N 104 107 4 FIPS Primary Metropolitan Statistical Area Code, 2000
1082 NECMA Yes L N 108 111 4 FIPS New England County Metropolitan Area (NECMA) Code, 2000
1083 CD106 No R N 112 113 2 Congressional District Code, 106th
1084 CD108 Yes R N 114 115 2 Congressional District Code, 108th
1085 PUMA5 Yes L N 116 120 5 Public Use Microdata Area 5% File, 2000
1086 PUMA1 Yes L N 121 125 5 Public Use Microdata Area 1% File, 2000
1087 ZCTA5 Yes L A 126 130 5 5-Digit ZIP Code Tabulation Area, 2000
1088 ZCTA3 Yes L A 131 133 3 3-Digit ZIP Code Tabulation Area, 2000
1089 TAZ Yes L A 134 139 6 Traffic Analysis Zone Code, 2000
1090 TAZCOMB Yes L A 140 145 6 Traffic Analysis Zone Code-State Combined, 2000 (not filled)
1091 UA Yes L N 146 150 5 Urban Area, 2000
1092 UR Yes L A 151 151 1 Urban/Rural Indicator, 2000
1093 VTD Yes R A 152 157 6 Census Voting District Code, 2000
1094 SLDU Yes R A 158 160 3 State Legislative District Code (Upper Chamber), 2000
1095 SLDL Yes R A 161 163 3 State Legislative District Code (Lower Chamber), 2000
1096 UGA Yes L A 164 168 5 Oregon Urban Growth Area, 2000
1097  
1098  
1099  
1100 =head1 AUTHOR
1101  
1102 Michael G Schwern <schwern@pobox.com>
1103  
1104 =head1 SEE ALSO
1105  
1106 L<Geo::TigerLine>, L<mk_parsers>
1107  
1108 =cut
1109  
1110  
1111 return 'Honey flash!';