| 1 | package Geo::TigerLine::Record::A; | ||
| 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 | 'file' => { | ||
| 16 | 'len' => 5, | ||
| 17 | 'beg' => 6, | ||
| 18 | 'bv' => 'No', | ||
| 19 | 'fieldnum' => 3, | ||
| 20 | 'type' => 'N', | ||
| 21 | 'description' => 'File Code', | ||
| 22 | 'end' => 10, | ||
| 23 | 'fmt' => 'L', | ||
| 24 | 'field' => 'file' | ||
| 25 | }, | ||
| 26 | 'urcu' => { | ||
| 27 | 'len' => 1, | ||
| 28 | 'beg' => 187, | ||
| 29 | 'bv' => 'Yes', | ||
| 30 | 'fieldnum' => 45, | ||
| 31 | 'type' => 'A', | ||
| 32 | 'description' => 'Urban/Rural Indicator, Current', | ||
| 33 | 'end' => 187, | ||
| 34 | 'fmt' => 'L', | ||
| 35 | 'field' => 'urcu' | ||
| 36 | }, | ||
| 37 | 'tract' => { | ||
| 38 | 'len' => 6, | ||
| 39 | 'beg' => 31, | ||
| 40 | 'bv' => 'No', | ||
| 41 | 'fieldnum' => 8, | ||
| 42 | 'type' => 'N', | ||
| 43 | 'description' => 'Census Tract, 2000', | ||
| 44 | 'end' => 36, | ||
| 45 | 'fmt' => 'L', | ||
| 46 | 'field' => 'tract' | ||
| 47 | }, | ||
| 48 | 'rs_a18' => { | ||
| 49 | 'len' => 6, | ||
| 50 | 'beg' => 194, | ||
| 51 | 'bv' => 'Yes', | ||
| 52 | 'fieldnum' => 47, | ||
| 53 | 'type' => 'A', | ||
| 54 | 'description' => 'Reserved Space A18', | ||
| 55 | 'end' => 199, | ||
| 56 | 'fmt' => 'L', | ||
| 57 | 'field' => 'rs_a18' | ||
| 58 | }, | ||
| 59 | 'rt' => { | ||
| 60 | 'len' => 1, | ||
| 61 | 'beg' => 1, | ||
| 62 | 'bv' => 'No', | ||
| 63 | 'fieldnum' => 1, | ||
| 64 | 'type' => 'A', | ||
| 65 | 'description' => 'Record Type', | ||
| 66 | 'end' => 1, | ||
| 67 | 'fmt' => 'L', | ||
| 68 | 'field' => 'rt' | ||
| 69 | }, | ||
| 70 | 'cbsacu' => { | ||
| 71 | 'len' => 5, | ||
| 72 | 'beg' => 152, | ||
| 73 | 'bv' => 'Yes', | ||
| 74 | 'fieldnum' => 37, | ||
| 75 | 'type' => 'N', | ||
| 76 | 'description' => 'FIPS Metropolitan Statistical Area/ Micropolitan Statistical Area Code, Current', | ||
| 77 | 'end' => 156, | ||
| 78 | 'fmt' => 'L', | ||
| 79 | 'field' => 'cbsacu' | ||
| 80 | }, | ||
| 81 | 'rs_a20' => { | ||
| 82 | 'len' => 4, | ||
| 83 | 'beg' => 101, | ||
| 84 | 'bv' => 'Yes', | ||
| 85 | 'fieldnum' => 25, | ||
| 86 | 'type' => 'N', | ||
| 87 | 'description' => 'Reserved Space A20', | ||
| 88 | 'end' => 104, | ||
| 89 | 'fmt' => 'L', | ||
| 90 | 'field' => 'rs_a20' | ||
| 91 | }, | ||
| 92 | 'sdelmcu' => { | ||
| 93 | 'len' => 5, | ||
| 94 | 'beg' => 86, | ||
| 95 | 'bv' => 'Yes', | ||
| 96 | 'fieldnum' => 22, | ||
| 97 | 'type' => 'A', | ||
| 98 | 'description' => 'Elementary School District Code, Current', | ||
| 99 | 'end' => 90, | ||
| 100 | 'fmt' => 'L', | ||
| 101 | 'field' => 'sdelmcu' | ||
| 102 | }, | ||
| 103 | 'rs_a19' => { | ||
| 104 | 'len' => 11, | ||
| 105 | 'beg' => 200, | ||
| 106 | 'bv' => 'Yes', | ||
| 107 | 'fieldnum' => 48, | ||
| 108 | 'type' => 'A', | ||
| 109 | 'description' => 'Reserved Space A19', | ||
| 110 | 'end' => 210, | ||
| 111 | 'fmt' => 'L', | ||
| 112 | 'field' => 'rs_a19' | ||
| 113 | }, | ||
| 114 | 'zcta5cu' => { | ||
| 115 | 'len' => 5, | ||
| 116 | 'beg' => 115, | ||
| 117 | 'bv' => 'Yes', | ||
| 118 | 'fieldnum' => 29, | ||
| 119 | 'type' => 'A', | ||
| 120 | 'description' => '5-Digit ZIP Code Tabulation Area, current', | ||
| 121 | 'end' => 119, | ||
| 122 | 'fmt' => 'L', | ||
| 123 | 'field' => 'zcta5cu' | ||
| 124 | }, | ||
| 125 | 'submcdcu' => { | ||
| 126 | 'len' => 5, | ||
| 127 | 'beg' => 76, | ||
| 128 | 'bv' => 'Yes', | ||
| 129 | 'fieldnum' => 20, | ||
| 130 | 'type' => 'N', | ||
| 131 | 'description' => 'FIPS 55 Code (Subbarrio), Current', | ||
| 132 | 'end' => 80, | ||
| 133 | 'fmt' => 'L', | ||
| 134 | 'field' => 'submcdcu' | ||
| 135 | }, | ||
| 136 | 'polyid' => { | ||
| 137 | 'len' => 10, | ||
| 138 | 'beg' => 16, | ||
| 139 | 'bv' => 'No', | ||
| 140 | 'fieldnum' => 5, | ||
| 141 | 'type' => 'N', | ||
| 142 | 'description' => 'Polygon Identification Code', | ||
| 143 | 'end' => 25, | ||
| 144 | 'fmt' => 'R', | ||
| 145 | 'field' => 'polyid' | ||
| 146 | }, | ||
| 147 | 'csacu' => { | ||
| 148 | 'len' => 3, | ||
| 149 | 'beg' => 157, | ||
| 150 | 'bv' => 'Yes', | ||
| 151 | 'fieldnum' => 38, | ||
| 152 | 'type' => 'N', | ||
| 153 | 'description' => 'FIPS Combined Statistical Area Code, Current', | ||
| 154 | 'end' => 159, | ||
| 155 | 'fmt' => 'L', | ||
| 156 | 'field' => 'csacu' | ||
| 157 | }, | ||
| 158 | 'rs_a17' => { | ||
| 159 | 'len' => 6, | ||
| 160 | 'beg' => 188, | ||
| 161 | 'bv' => 'Yes', | ||
| 162 | 'fieldnum' => 46, | ||
| 163 | 'type' => 'A', | ||
| 164 | 'description' => 'Reserved Space A17', | ||
| 165 | 'end' => 193, | ||
| 166 | 'fmt' => 'L', | ||
| 167 | 'field' => 'rs_a17' | ||
| 168 | }, | ||
| 169 | 'rs_a22' => { | ||
| 170 | 'len' => 4, | ||
| 171 | 'beg' => 109, | ||
| 172 | 'bv' => 'Yes', | ||
| 173 | 'fieldnum' => 27, | ||
| 174 | 'type' => 'N', | ||
| 175 | 'description' => 'Reserved Space A22', | ||
| 176 | 'end' => 112, | ||
| 177 | 'fmt' => 'L', | ||
| 178 | 'field' => 'rs_a22' | ||
| 179 | }, | ||
| 180 | 'aianhhfpcu' => { | ||
| 181 | 'len' => 5, | ||
| 182 | 'beg' => 43, | ||
| 183 | 'bv' => 'Yes', | ||
| 184 | 'fieldnum' => 12, | ||
| 185 | 'type' => 'N', | ||
| 186 | 'description' => 'FIPS 55 Code (American Indian/Alaska Native Area/Hawaiian Home Land), Current', | ||
| 187 | 'end' => 47, | ||
| 188 | 'fmt' => 'L', | ||
| 189 | 'field' => 'aianhhfpcu' | ||
| 190 | }, | ||
| 191 | 'cnectacu' => { | ||
| 192 | 'len' => 3, | ||
| 193 | 'beg' => 165, | ||
| 194 | 'bv' => 'Yes', | ||
| 195 | 'fieldnum' => 40, | ||
| 196 | 'type' => 'N', | ||
| 197 | 'description' => 'FIPS Combined New England City and Town Area Code, Current', | ||
| 198 | 'end' => 167, | ||
| 199 | 'fmt' => 'L', | ||
| 200 | 'field' => 'cnectacu' | ||
| 201 | }, | ||
| 202 | 'rs_a1' => { | ||
| 203 | 'len' => 1, | ||
| 204 | 'beg' => 42, | ||
| 205 | 'bv' => 'Yes', | ||
| 206 | 'fieldnum' => 11, | ||
| 207 | 'type' => 'A', | ||
| 208 | 'description' => 'Reserved Space A1', | ||
| 209 | 'end' => 42, | ||
| 210 | 'fmt' => 'L', | ||
| 211 | 'field' => 'rs_a1' | ||
| 212 | }, | ||
| 213 | 'sdunicu' => { | ||
| 214 | 'len' => 5, | ||
| 215 | 'beg' => 96, | ||
| 216 | 'bv' => 'Yes', | ||
| 217 | 'fieldnum' => 24, | ||
| 218 | 'type' => 'A', | ||
| 219 | 'description' => 'Unified School District Code, Current', | ||
| 220 | 'end' => 100, | ||
| 221 | 'fmt' => 'L', | ||
| 222 | 'field' => 'sdunicu' | ||
| 223 | }, | ||
| 224 | 'statecu' => { | ||
| 225 | 'len' => 2, | ||
| 226 | 'beg' => 26, | ||
| 227 | 'bv' => 'No', | ||
| 228 | 'fieldnum' => 6, | ||
| 229 | 'type' => 'N', | ||
| 230 | 'description' => 'FIPS State Code, Current', | ||
| 231 | 'end' => 27, | ||
| 232 | 'fmt' => 'L', | ||
| 233 | 'field' => 'statecu' | ||
| 234 | }, | ||
| 235 | 'rs_a7' => { | ||
| 236 | 'len' => 5, | ||
| 237 | 'beg' => 135, | ||
| 238 | 'bv' => 'Yes', | ||
| 239 | 'fieldnum' => 34, | ||
| 240 | 'type' => 'A', | ||
| 241 | 'description' => 'Reserved Space A7', | ||
| 242 | 'end' => 139, | ||
| 243 | 'fmt' => 'R', | ||
| 244 | 'field' => 'rs_a7' | ||
| 245 | }, | ||
| 246 | 'blocksufcu' => { | ||
| 247 | 'len' => 1, | ||
| 248 | 'beg' => 41, | ||
| 249 | 'bv' => 'Yes', | ||
| 250 | 'fieldnum' => 10, | ||
| 251 | 'type' => 'A', | ||
| 252 | 'description' => 'Current Suffix for Census 2000 Block Number', | ||
| 253 | 'end' => 41, | ||
| 254 | 'fmt' => 'L', | ||
| 255 | 'field' => 'blocksufcu' | ||
| 256 | }, | ||
| 257 | 'placecu' => { | ||
| 258 | 'len' => 5, | ||
| 259 | 'beg' => 81, | ||
| 260 | 'bv' => 'Yes', | ||
| 261 | 'fieldnum' => 21, | ||
| 262 | 'type' => 'N', | ||
| 263 | 'description' => 'FIPS 55 Code (Incorporated Place), Current', | ||
| 264 | 'end' => 85, | ||
| 265 | 'fmt' => 'L', | ||
| 266 | 'field' => 'placecu' | ||
| 267 | }, | ||
| 268 | 'cdcu' => { | ||
| 269 | 'len' => 2, | ||
| 270 | 'beg' => 113, | ||
| 271 | 'bv' => 'Yes', | ||
| 272 | 'fieldnum' => 28, | ||
| 273 | 'type' => 'N', | ||
| 274 | 'description' => 'Congressional District Code, Current (108th)', | ||
| 275 | 'end' => 114, | ||
| 276 | 'fmt' => 'R', | ||
| 277 | 'field' => 'cdcu' | ||
| 278 | }, | ||
| 279 | 'concitcu' => { | ||
| 280 | 'len' => 5, | ||
| 281 | 'beg' => 66, | ||
| 282 | 'bv' => 'Yes', | ||
| 283 | 'fieldnum' => 18, | ||
| 284 | 'type' => 'N', | ||
| 285 | 'description' => 'FIPS 55 Code (Consolidated City), Current', | ||
| 286 | 'end' => 70, | ||
| 287 | 'fmt' => 'L', | ||
| 288 | 'field' => 'concitcu' | ||
| 289 | }, | ||
| 290 | 'sdseccu' => { | ||
| 291 | 'len' => 5, | ||
| 292 | 'beg' => 91, | ||
| 293 | 'bv' => 'Yes', | ||
| 294 | 'fieldnum' => 23, | ||
| 295 | 'type' => 'A', | ||
| 296 | 'description' => 'Secondary School District Code, Current', | ||
| 297 | 'end' => 95, | ||
| 298 | 'fmt' => 'L', | ||
| 299 | 'field' => 'sdseccu' | ||
| 300 | }, | ||
| 301 | 'aitscu' => { | ||
| 302 | 'len' => 5, | ||
| 303 | 'beg' => 61, | ||
| 304 | 'bv' => 'Yes', | ||
| 305 | 'fieldnum' => 17, | ||
| 306 | 'type' => 'N', | ||
| 307 | 'description' => 'FIPS 55 Code (American Indian Tribal Subdivision), Current', | ||
| 308 | 'end' => 65, | ||
| 309 | 'fmt' => 'L', | ||
| 310 | 'field' => 'aitscu' | ||
| 311 | }, | ||
| 312 | 'cenid' => { | ||
| 313 | 'len' => 5, | ||
| 314 | 'beg' => 11, | ||
| 315 | 'bv' => 'No', | ||
| 316 | 'fieldnum' => 4, | ||
| 317 | 'type' => 'A', | ||
| 318 | 'description' => 'Census File Identification Code', | ||
| 319 | 'end' => 15, | ||
| 320 | 'fmt' => 'L', | ||
| 321 | 'field' => 'cenid' | ||
| 322 | }, | ||
| 323 | 'rs_a21' => { | ||
| 324 | 'len' => 4, | ||
| 325 | 'beg' => 105, | ||
| 326 | 'bv' => 'Yes', | ||
| 327 | 'fieldnum' => 26, | ||
| 328 | 'type' => 'N', | ||
| 329 | 'description' => 'Reserved Space A21', | ||
| 330 | 'end' => 108, | ||
| 331 | 'fmt' => 'L', | ||
| 332 | 'field' => 'rs_a21' | ||
| 333 | }, | ||
| 334 | 'slducu' => { | ||
| 335 | 'len' => 3, | ||
| 336 | 'beg' => 129, | ||
| 337 | 'bv' => 'Yes', | ||
| 338 | 'fieldnum' => 32, | ||
| 339 | 'type' => 'A', | ||
| 340 | 'description' => 'State Legislative District Upper, Current (2006)', | ||
| 341 | 'end' => 131, | ||
| 342 | 'fmt' => 'R', | ||
| 343 | 'field' => 'slducu' | ||
| 344 | }, | ||
| 345 | 'rs_a8' => { | ||
| 346 | 'len' => 6, | ||
| 347 | 'beg' => 140, | ||
| 348 | 'bv' => 'Yes', | ||
| 349 | 'fieldnum' => 35, | ||
| 350 | 'type' => 'A', | ||
| 351 | 'description' => 'Reserved Space A8', | ||
| 352 | 'end' => 145, | ||
| 353 | 'fmt' => 'R', | ||
| 354 | 'field' => 'rs_a8' | ||
| 355 | }, | ||
| 356 | 'aihhtlicu' => { | ||
| 357 | 'len' => 1, | ||
| 358 | 'beg' => 52, | ||
| 359 | 'bv' => 'Yes', | ||
| 360 | 'fieldnum' => 14, | ||
| 361 | 'type' => 'A', | ||
| 362 | 'description' => 'American Indian/Hawaiian Home Land Trust Land Indicator, Current', | ||
| 363 | 'end' => 52, | ||
| 364 | 'fmt' => 'L', | ||
| 365 | 'field' => 'aihhtlicu' | ||
| 366 | }, | ||
| 367 | 'sldlcu' => { | ||
| 368 | 'len' => 3, | ||
| 369 | 'beg' => 132, | ||
| 370 | 'bv' => 'Yes', | ||
| 371 | 'fieldnum' => 33, | ||
| 372 | 'type' => 'A', | ||
| 373 | 'description' => 'State Legislative District Lower, Current (2006)', | ||
| 374 | 'end' => 134, | ||
| 375 | 'fmt' => 'R', | ||
| 376 | 'field' => 'sldlcu' | ||
| 377 | }, | ||
| 378 | 'metdivcu' => { | ||
| 379 | 'len' => 5, | ||
| 380 | 'beg' => 168, | ||
| 381 | 'bv' => 'Yes', | ||
| 382 | 'fieldnum' => 41, | ||
| 383 | 'type' => 'N', | ||
| 384 | 'description' => 'FIPS Metropolitan Division Code, Current', | ||
| 385 | 'end' => 172, | ||
| 386 | 'fmt' => 'L', | ||
| 387 | 'field' => 'metdivcu' | ||
| 388 | }, | ||
| 389 | 'rs_a14' => { | ||
| 390 | 'len' => 4, | ||
| 391 | 'beg' => 178, | ||
| 392 | 'bv' => 'Yes', | ||
| 393 | 'fieldnum' => 43, | ||
| 394 | 'type' => 'A', | ||
| 395 | 'description' => 'Reserved Space A14', | ||
| 396 | 'end' => 181, | ||
| 397 | 'fmt' => 'L', | ||
| 398 | 'field' => 'rs_a14' | ||
| 399 | }, | ||
| 400 | 'aianhhcu' => { | ||
| 401 | 'len' => 4, | ||
| 402 | 'beg' => 48, | ||
| 403 | 'bv' => 'Yes', | ||
| 404 | 'fieldnum' => 13, | ||
| 405 | 'type' => 'N', | ||
| 406 | 'description' => 'Census Code (American Indian/Alaska Native Area/Hawaiian Home Land), Current', | ||
| 407 | 'end' => 51, | ||
| 408 | 'fmt' => 'L', | ||
| 409 | 'field' => 'aianhhcu' | ||
| 410 | }, | ||
| 411 | 'version' => { | ||
| 412 | 'len' => 4, | ||
| 413 | 'beg' => 2, | ||
| 414 | 'bv' => 'No', | ||
| 415 | 'fieldnum' => 2, | ||
| 416 | 'type' => 'N', | ||
| 417 | 'description' => 'Version Number', | ||
| 418 | 'end' => 5, | ||
| 419 | 'fmt' => 'L', | ||
| 420 | 'field' => 'version' | ||
| 421 | }, | ||
| 422 | 'uacu' => { | ||
| 423 | 'len' => 5, | ||
| 424 | 'beg' => 182, | ||
| 425 | 'bv' => 'Yes', | ||
| 426 | 'fieldnum' => 44, | ||
| 427 | 'type' => 'N', | ||
| 428 | 'description' => 'Urban Area, Current', | ||
| 429 | 'end' => 186, | ||
| 430 | 'fmt' => 'L', | ||
| 431 | 'field' => 'uacu' | ||
| 432 | }, | ||
| 433 | 'countycu' => { | ||
| 434 | 'len' => 3, | ||
| 435 | 'beg' => 28, | ||
| 436 | 'bv' => 'No', | ||
| 437 | 'fieldnum' => 7, | ||
| 438 | 'type' => 'N', | ||
| 439 | 'description' => 'FIPS County Code, Current', | ||
| 440 | 'end' => 30, | ||
| 441 | 'fmt' => 'L', | ||
| 442 | 'field' => 'countycu' | ||
| 443 | }, | ||
| 444 | 'zcta3cu' => { | ||
| 445 | 'len' => 3, | ||
| 446 | 'beg' => 120, | ||
| 447 | 'bv' => 'Yes', | ||
| 448 | 'fieldnum' => 30, | ||
| 449 | 'type' => 'A', | ||
| 450 | 'description' => '3-Digit ZIP Code Tabulation Area, current', | ||
| 451 | 'end' => 122, | ||
| 452 | 'fmt' => 'R', | ||
| 453 | 'field' => 'zcta3cu' | ||
| 454 | }, | ||
| 455 | 'cousubcu' => { | ||
| 456 | 'len' => 5, | ||
| 457 | 'beg' => 71, | ||
| 458 | 'bv' => 'No', | ||
| 459 | 'fieldnum' => 19, | ||
| 460 | 'type' => 'N', | ||
| 461 | 'description' => 'FIPS 55 Code (County Subdivision), Current', | ||
| 462 | 'end' => 75, | ||
| 463 | 'fmt' => 'L', | ||
| 464 | 'field' => 'cousubcu' | ||
| 465 | }, | ||
| 466 | 'rs_a4' => { | ||
| 467 | 'len' => 6, | ||
| 468 | 'beg' => 123, | ||
| 469 | 'bv' => 'Yes', | ||
| 470 | 'fieldnum' => 31, | ||
| 471 | 'type' => 'A', | ||
| 472 | 'description' => 'Reserved Space A4', | ||
| 473 | 'end' => 128, | ||
| 474 | 'fmt' => 'R', | ||
| 475 | 'field' => 'rs_a4' | ||
| 476 | }, | ||
| 477 | 'aitscecu' => { | ||
| 478 | 'len' => 3, | ||
| 479 | 'beg' => 58, | ||
| 480 | 'bv' => 'Yes', | ||
| 481 | 'fieldnum' => 16, | ||
| 482 | 'type' => 'N', | ||
| 483 | 'description' => 'Census Code (American Indian Tribal Subdivision), Current', | ||
| 484 | 'end' => 60, | ||
| 485 | 'fmt' => 'L', | ||
| 486 | 'field' => 'aitscecu' | ||
| 487 | }, | ||
| 488 | 'block' => { | ||
| 489 | 'len' => 4, | ||
| 490 | 'beg' => 37, | ||
| 491 | 'bv' => 'No', | ||
| 492 | 'fieldnum' => 9, | ||
| 493 | 'type' => 'N', | ||
| 494 | 'description' => 'Census Block Number, 2000', | ||
| 495 | 'end' => 40, | ||
| 496 | 'fmt' => 'L', | ||
| 497 | 'field' => 'block' | ||
| 498 | }, | ||
| 499 | 'nectacu' => { | ||
| 500 | 'len' => 5, | ||
| 501 | 'beg' => 160, | ||
| 502 | 'bv' => 'Yes', | ||
| 503 | 'fieldnum' => 39, | ||
| 504 | 'type' => 'N', | ||
| 505 | 'description' => 'FIPS New England City and Town Area Code, Current', | ||
| 506 | 'end' => 164, | ||
| 507 | 'fmt' => 'L', | ||
| 508 | 'field' => 'nectacu' | ||
| 509 | }, | ||
| 510 | 'nectadivcu' => { | ||
| 511 | 'len' => 5, | ||
| 512 | 'beg' => 173, | ||
| 513 | 'bv' => 'Yes', | ||
| 514 | 'fieldnum' => 42, | ||
| 515 | 'type' => 'N', | ||
| 516 | 'description' => 'FIPS New England City and Town Area Division Code, Current', | ||
| 517 | 'end' => 177, | ||
| 518 | 'fmt' => 'L', | ||
| 519 | 'field' => 'nectadivcu' | ||
| 520 | }, | ||
| 521 | 'rs_a9' => { | ||
| 522 | 'len' => 6, | ||
| 523 | 'beg' => 146, | ||
| 524 | 'bv' => 'Yes', | ||
| 525 | 'fieldnum' => 36, | ||
| 526 | 'type' => 'A', | ||
| 527 | 'description' => 'Reserved Space A9', | ||
| 528 | 'end' => 151, | ||
| 529 | 'fmt' => 'L', | ||
| 530 | 'field' => 'rs_a9' | ||
| 531 | }, | ||
| 532 | 'anrccu' => { | ||
| 533 | 'len' => 5, | ||
| 534 | 'beg' => 53, | ||
| 535 | 'bv' => 'Yes', | ||
| 536 | 'fieldnum' => 15, | ||
| 537 | 'type' => 'N', | ||
| 538 | 'description' => 'FIPS 55 Code (ANRC), Current', | ||
| 539 | 'end' => 57, | ||
| 540 | 'fmt' => 'L', | ||
| 541 | 'field' => 'anrccu' | ||
| 542 | } | ||
| 543 | ); | ||
| 544 | |||
| 545 | |||
| 546 | my @Data_Fields = ( | ||
| 547 | 'rt', | ||
| 548 | 'version', | ||
| 549 | 'file', | ||
| 550 | 'cenid', | ||
| 551 | 'polyid', | ||
| 552 | 'statecu', | ||
| 553 | 'countycu', | ||
| 554 | 'tract', | ||
| 555 | 'block', | ||
| 556 | 'blocksufcu', | ||
| 557 | 'rs_a1', | ||
| 558 | 'aianhhfpcu', | ||
| 559 | 'aianhhcu', | ||
| 560 | 'aihhtlicu', | ||
| 561 | 'anrccu', | ||
| 562 | 'aitscecu', | ||
| 563 | 'aitscu', | ||
| 564 | 'concitcu', | ||
| 565 | 'cousubcu', | ||
| 566 | 'submcdcu', | ||
| 567 | 'placecu', | ||
| 568 | 'sdelmcu', | ||
| 569 | 'sdseccu', | ||
| 570 | 'sdunicu', | ||
| 571 | 'rs_a20', | ||
| 572 | 'rs_a21', | ||
| 573 | 'rs_a22', | ||
| 574 | 'cdcu', | ||
| 575 | 'zcta5cu', | ||
| 576 | 'zcta3cu', | ||
| 577 | 'rs_a4', | ||
| 578 | 'slducu', | ||
| 579 | 'sldlcu', | ||
| 580 | 'rs_a7', | ||
| 581 | 'rs_a8', | ||
| 582 | 'rs_a9', | ||
| 583 | 'cbsacu', | ||
| 584 | 'csacu', | ||
| 585 | 'nectacu', | ||
| 586 | 'cnectacu', | ||
| 587 | 'metdivcu', | ||
| 588 | 'nectadivcu', | ||
| 589 | 'rs_a14', | ||
| 590 | 'uacu', | ||
| 591 | 'urcu', | ||
| 592 | 'rs_a17', | ||
| 593 | 'rs_a18', | ||
| 594 | 'rs_a19' | ||
| 595 | ); | ||
| 596 | |||
| 597 | |||
| 598 | assert(keys %Data_Dict == @Data_Fields); | ||
| 599 | |||
| 600 | # Turn the data dictionary into class data | ||
| 601 | __PACKAGE__->mk_classdata('Fields'); | ||
| 602 | __PACKAGE__->mk_classdata('Dict'); | ||
| 603 | __PACKAGE__->mk_classdata('Pack_Tmpl'); | ||
| 604 | |||
| 605 | __PACKAGE__->Dict(\%Data_Dict); | ||
| 606 | __PACKAGE__->Fields(\@Data_Fields); | ||
| 607 | |||
| 608 | # Generate a pack template for parsing and turn it into class data. | ||
| 609 | my $pack_tmpl = join ' ', map { "A$_" } map { $_->{len} } | ||
| 610 | @Data_Dict{@Data_Fields}; | ||
| 611 | __PACKAGE__->Pack_Tmpl($pack_tmpl); | ||
| 612 | |||
| 613 | # Generate accessors for each data field | ||
| 614 | foreach my $def (@Data_Dict{@Data_Fields}) { | ||
| 615 | __PACKAGE__->mk_accessor($def); | ||
| 616 | } | ||
| 617 | |||
| 618 | |||
| 619 | =pod | ||
| 620 | |||
| 621 | =head1 NAME | ||
| 622 | |||
| 623 | Geo::TigerLine::Record::A - TIGER/Line 2006 Polygon Geographic Entity Codes: Current Geography | ||
| 624 | |||
| 625 | =head1 SYNOPSIS | ||
| 626 | |||
| 627 | use Geo::TigerLine::Record::A; | ||
| 628 | |||
| 629 | @records = Geo::TigerLine::Record::A->parse_file($fh); | ||
| 630 | @records = Geo::TigerLine::Record::A->parse_file($fh, \&callback); | ||
| 631 | |||
| 632 | $record = Geo::TigerLine::Record::A->new(\%fields); | ||
| 633 | |||
| 634 | $record->rt(); | ||
| 635 | $record->version(); | ||
| 636 | $record->file(); | ||
| 637 | $record->cenid(); | ||
| 638 | $record->polyid(); | ||
| 639 | $record->statecu(); | ||
| 640 | $record->countycu(); | ||
| 641 | $record->tract(); | ||
| 642 | $record->block(); | ||
| 643 | $record->blocksufcu(); | ||
| 644 | $record->rs_a1(); | ||
| 645 | $record->aianhhfpcu(); | ||
| 646 | $record->aianhhcu(); | ||
| 647 | $record->aihhtlicu(); | ||
| 648 | $record->anrccu(); | ||
| 649 | $record->aitscecu(); | ||
| 650 | $record->aitscu(); | ||
| 651 | $record->concitcu(); | ||
| 652 | $record->cousubcu(); | ||
| 653 | $record->submcdcu(); | ||
| 654 | $record->placecu(); | ||
| 655 | $record->sdelmcu(); | ||
| 656 | $record->sdseccu(); | ||
| 657 | $record->sdunicu(); | ||
| 658 | $record->rs_a20(); | ||
| 659 | $record->rs_a21(); | ||
| 660 | $record->rs_a22(); | ||
| 661 | $record->cdcu(); | ||
| 662 | $record->zcta5cu(); | ||
| 663 | $record->zcta3cu(); | ||
| 664 | $record->rs_a4(); | ||
| 665 | $record->slducu(); | ||
| 666 | $record->sldlcu(); | ||
| 667 | $record->rs_a7(); | ||
| 668 | $record->rs_a8(); | ||
| 669 | $record->rs_a9(); | ||
| 670 | $record->cbsacu(); | ||
| 671 | $record->csacu(); | ||
| 672 | $record->nectacu(); | ||
| 673 | $record->cnectacu(); | ||
| 674 | $record->metdivcu(); | ||
| 675 | $record->nectadivcu(); | ||
| 676 | $record->rs_a14(); | ||
| 677 | $record->uacu(); | ||
| 678 | $record->urcu(); | ||
| 679 | $record->rs_a17(); | ||
| 680 | $record->rs_a18(); | ||
| 681 | $record->rs_a19(); | ||
| 682 | |||
| 683 | |||
| 684 | =head1 DESCRIPTION | ||
| 685 | |||
| 686 | This is a class representing record type A of the TIGER/Line 2006 | ||
| 687 | census geographic database. Each object is one record. It also | ||
| 688 | contains methods to parse TIGER/Line record type A files and turn them | ||
| 689 | into objects. | ||
| 690 | |||
| 691 | This is intended as an intermediate format between pulling the raw | ||
| 692 | data out of the simplistic TIGER/Line data files into something more | ||
| 693 | sophisticated (a process you should only have to do once). As such, | ||
| 694 | it's not very fast, but its careful, easy to use and performs some | ||
| 695 | verifications on the data being read. | ||
| 696 | |||
| 697 | As this class is autogenerated by mk_parsers, think before you modify this | ||
| 698 | file. It's OO, so consider sub-classing instead. | ||
| 699 | |||
| 700 | |||
| 701 | =head2 Accessors | ||
| 702 | |||
| 703 | These are simple get/set accessors for each field of a record | ||
| 704 | generated from the TIGER/Line 2006 data dictionary. They perform some | ||
| 705 | data validation. | ||
| 706 | |||
| 707 | =over 4 | ||
| 708 | |||
| 709 | =item B<rt> | ||
| 710 | |||
| 711 | $data = $record->rt(); | ||
| 712 | $record->rt($data); | ||
| 713 | |||
| 714 | Record Type. | ||
| 715 | |||
| 716 | Expects alphanumeric data of no more than 1 characters. $data cannot be blank | ||
| 717 | and should be left justified. | ||
| 718 | |||
| 719 | |||
| 720 | =item B<version> | ||
| 721 | |||
| 722 | $data = $record->version(); | ||
| 723 | $record->version($data); | ||
| 724 | |||
| 725 | Version Number. | ||
| 726 | |||
| 727 | Expects numeric data of no more than 4 characters. $data cannot be blank | ||
| 728 | and should be left justified. | ||
| 729 | |||
| 730 | |||
| 731 | =item B<file> | ||
| 732 | |||
| 733 | $data = $record->file(); | ||
| 734 | $record->file($data); | ||
| 735 | |||
| 736 | File Code. | ||
| 737 | |||
| 738 | Expects numeric data of no more than 5 characters. $data cannot be blank | ||
| 739 | and should be left justified. | ||
| 740 | |||
| 741 | |||
| 742 | =item B<cenid> | ||
| 743 | |||
| 744 | $data = $record->cenid(); | ||
| 745 | $record->cenid($data); | ||
| 746 | |||
| 747 | Census File Identification Code. | ||
| 748 | |||
| 749 | Expects alphanumeric data of no more than 5 characters. $data cannot be blank | ||
| 750 | and should be left justified. | ||
| 751 | |||
| 752 | |||
| 753 | =item B<polyid> | ||
| 754 | |||
| 755 | $data = $record->polyid(); | ||
| 756 | $record->polyid($data); | ||
| 757 | |||
| 758 | Polygon Identification Code. | ||
| 759 | |||
| 760 | Expects numeric data of no more than 10 characters. $data cannot be blank | ||
| 761 | and should be right justified. | ||
| 762 | |||
| 763 | |||
| 764 | =item B<statecu> | ||
| 765 | |||
| 766 | $data = $record->statecu(); | ||
| 767 | $record->statecu($data); | ||
| 768 | |||
| 769 | FIPS State Code, Current. | ||
| 770 | |||
| 771 | Expects numeric data of no more than 2 characters. $data cannot be blank | ||
| 772 | and should be left justified. | ||
| 773 | |||
| 774 | |||
| 775 | =item B<countycu> | ||
| 776 | |||
| 777 | $data = $record->countycu(); | ||
| 778 | $record->countycu($data); | ||
| 779 | |||
| 780 | FIPS County Code, Current. | ||
| 781 | |||
| 782 | Expects numeric data of no more than 3 characters. $data cannot be blank | ||
| 783 | and should be left justified. | ||
| 784 | |||
| 785 | |||
| 786 | =item B<tract> | ||
| 787 | |||
| 788 | $data = $record->tract(); | ||
| 789 | $record->tract($data); | ||
| 790 | |||
| 791 | Census Tract, 2000. | ||
| 792 | |||
| 793 | Expects numeric data of no more than 6 characters. $data cannot be blank | ||
| 794 | and should be left justified. | ||
| 795 | |||
| 796 | |||
| 797 | =item B<block> | ||
| 798 | |||
| 799 | $data = $record->block(); | ||
| 800 | $record->block($data); | ||
| 801 | |||
| 802 | Census Block Number, 2000. | ||
| 803 | |||
| 804 | Expects numeric data of no more than 4 characters. $data cannot be blank | ||
| 805 | and should be left justified. | ||
| 806 | |||
| 807 | |||
| 808 | =item B<blocksufcu> | ||
| 809 | |||
| 810 | $data = $record->blocksufcu(); | ||
| 811 | $record->blocksufcu($data); | ||
| 812 | |||
| 813 | Current Suffix for Census 2000 Block Number. | ||
| 814 | |||
| 815 | Expects alphanumeric data of no more than 1 characters. $data can be blank | ||
| 816 | and should be left justified. | ||
| 817 | |||
| 818 | |||
| 819 | =item B<rs_a1> | ||
| 820 | |||
| 821 | $data = $record->rs_a1(); | ||
| 822 | $record->rs_a1($data); | ||
| 823 | |||
| 824 | Reserved Space A1. | ||
| 825 | |||
| 826 | Expects alphanumeric data of no more than 1 characters. $data can be blank | ||
| 827 | and should be left justified. | ||
| 828 | |||
| 829 | |||
| 830 | =item B<aianhhfpcu> | ||
| 831 | |||
| 832 | $data = $record->aianhhfpcu(); | ||
| 833 | $record->aianhhfpcu($data); | ||
| 834 | |||
| 835 | FIPS 55 Code (American Indian/Alaska Native Area/Hawaiian Home Land), Current. | ||
| 836 | |||
| 837 | Expects numeric data of no more than 5 characters. $data can be blank | ||
| 838 | and should be left justified. | ||
| 839 | |||
| 840 | |||
| 841 | =item B<aianhhcu> | ||
| 842 | |||
| 843 | $data = $record->aianhhcu(); | ||
| 844 | $record->aianhhcu($data); | ||
| 845 | |||
| 846 | Census Code (American Indian/Alaska Native Area/Hawaiian Home Land), Current. | ||
| 847 | |||
| 848 | Expects numeric data of no more than 4 characters. $data can be blank | ||
| 849 | and should be left justified. | ||
| 850 | |||
| 851 | |||
| 852 | =item B<aihhtlicu> | ||
| 853 | |||
| 854 | $data = $record->aihhtlicu(); | ||
| 855 | $record->aihhtlicu($data); | ||
| 856 | |||
| 857 | American Indian/Hawaiian Home Land Trust Land Indicator, Current. | ||
| 858 | |||
| 859 | Expects alphanumeric data of no more than 1 characters. $data can be blank | ||
| 860 | and should be left justified. | ||
| 861 | |||
| 862 | |||
| 863 | =item B<anrccu> | ||
| 864 | |||
| 865 | $data = $record->anrccu(); | ||
| 866 | $record->anrccu($data); | ||
| 867 | |||
| 868 | FIPS 55 Code (ANRC), Current. | ||
| 869 | |||
| 870 | Expects numeric data of no more than 5 characters. $data can be blank | ||
| 871 | and should be left justified. | ||
| 872 | |||
| 873 | |||
| 874 | =item B<aitscecu> | ||
| 875 | |||
| 876 | $data = $record->aitscecu(); | ||
| 877 | $record->aitscecu($data); | ||
| 878 | |||
| 879 | Census Code (American Indian Tribal Subdivision), Current. | ||
| 880 | |||
| 881 | Expects numeric data of no more than 3 characters. $data can be blank | ||
| 882 | and should be left justified. | ||
| 883 | |||
| 884 | |||
| 885 | =item B<aitscu> | ||
| 886 | |||
| 887 | $data = $record->aitscu(); | ||
| 888 | $record->aitscu($data); | ||
| 889 | |||
| 890 | FIPS 55 Code (American Indian Tribal Subdivision), Current. | ||
| 891 | |||
| 892 | Expects numeric data of no more than 5 characters. $data can be blank | ||
| 893 | and should be left justified. | ||
| 894 | |||
| 895 | |||
| 896 | =item B<concitcu> | ||
| 897 | |||
| 898 | $data = $record->concitcu(); | ||
| 899 | $record->concitcu($data); | ||
| 900 | |||
| 901 | FIPS 55 Code (Consolidated City), Current. | ||
| 902 | |||
| 903 | Expects numeric data of no more than 5 characters. $data can be blank | ||
| 904 | and should be left justified. | ||
| 905 | |||
| 906 | |||
| 907 | =item B<cousubcu> | ||
| 908 | |||
| 909 | $data = $record->cousubcu(); | ||
| 910 | $record->cousubcu($data); | ||
| 911 | |||
| 912 | FIPS 55 Code (County Subdivision), Current. | ||
| 913 | |||
| 914 | Expects numeric data of no more than 5 characters. $data cannot be blank | ||
| 915 | and should be left justified. | ||
| 916 | |||
| 917 | |||
| 918 | =item B<submcdcu> | ||
| 919 | |||
| 920 | $data = $record->submcdcu(); | ||
| 921 | $record->submcdcu($data); | ||
| 922 | |||
| 923 | FIPS 55 Code (Subbarrio), Current. | ||
| 924 | |||
| 925 | Expects numeric data of no more than 5 characters. $data can be blank | ||
| 926 | and should be left justified. | ||
| 927 | |||
| 928 | |||
| 929 | =item B<placecu> | ||
| 930 | |||
| 931 | $data = $record->placecu(); | ||
| 932 | $record->placecu($data); | ||
| 933 | |||
| 934 | FIPS 55 Code (Incorporated Place), Current. | ||
| 935 | |||
| 936 | Expects numeric data of no more than 5 characters. $data can be blank | ||
| 937 | and should be left justified. | ||
| 938 | |||
| 939 | |||
| 940 | =item B<sdelmcu> | ||
| 941 | |||
| 942 | $data = $record->sdelmcu(); | ||
| 943 | $record->sdelmcu($data); | ||
| 944 | |||
| 945 | Elementary School District Code, Current. | ||
| 946 | |||
| 947 | Expects alphanumeric data of no more than 5 characters. $data can be blank | ||
| 948 | and should be left justified. | ||
| 949 | |||
| 950 | |||
| 951 | =item B<sdseccu> | ||
| 952 | |||
| 953 | $data = $record->sdseccu(); | ||
| 954 | $record->sdseccu($data); | ||
| 955 | |||
| 956 | Secondary School District Code, Current. | ||
| 957 | |||
| 958 | Expects alphanumeric data of no more than 5 characters. $data can be blank | ||
| 959 | and should be left justified. | ||
| 960 | |||
| 961 | |||
| 962 | =item B<sdunicu> | ||
| 963 | |||
| 964 | $data = $record->sdunicu(); | ||
| 965 | $record->sdunicu($data); | ||
| 966 | |||
| 967 | Unified School District Code, Current. | ||
| 968 | |||
| 969 | Expects alphanumeric data of no more than 5 characters. $data can be blank | ||
| 970 | and should be left justified. | ||
| 971 | |||
| 972 | |||
| 973 | =item B<rs_a20> | ||
| 974 | |||
| 975 | $data = $record->rs_a20(); | ||
| 976 | $record->rs_a20($data); | ||
| 977 | |||
| 978 | Reserved Space A20. | ||
| 979 | |||
| 980 | Expects numeric data of no more than 4 characters. $data can be blank | ||
| 981 | and should be left justified. | ||
| 982 | |||
| 983 | |||
| 984 | =item B<rs_a21> | ||
| 985 | |||
| 986 | $data = $record->rs_a21(); | ||
| 987 | $record->rs_a21($data); | ||
| 988 | |||
| 989 | Reserved Space A21. | ||
| 990 | |||
| 991 | Expects numeric data of no more than 4 characters. $data can be blank | ||
| 992 | and should be left justified. | ||
| 993 | |||
| 994 | |||
| 995 | =item B<rs_a22> | ||
| 996 | |||
| 997 | $data = $record->rs_a22(); | ||
| 998 | $record->rs_a22($data); | ||
| 999 | |||
| 1000 | Reserved Space A22. | ||
| 1001 | |||
| 1002 | Expects numeric data of no more than 4 characters. $data can be blank | ||
| 1003 | and should be left justified. | ||
| 1004 | |||
| 1005 | |||
| 1006 | =item B<cdcu> | ||
| 1007 | |||
| 1008 | $data = $record->cdcu(); | ||
| 1009 | $record->cdcu($data); | ||
| 1010 | |||
| 1011 | Congressional District Code, Current (108th). | ||
| 1012 | |||
| 1013 | Expects numeric data of no more than 2 characters. $data can be blank | ||
| 1014 | and should be right justified. | ||
| 1015 | |||
| 1016 | |||
| 1017 | =item B<zcta5cu> | ||
| 1018 | |||
| 1019 | $data = $record->zcta5cu(); | ||
| 1020 | $record->zcta5cu($data); | ||
| 1021 | |||
| 1022 | 5-Digit ZIP Code Tabulation Area, current. | ||
| 1023 | |||
| 1024 | Expects alphanumeric data of no more than 5 characters. $data can be blank | ||
| 1025 | and should be left justified. | ||
| 1026 | |||
| 1027 | |||
| 1028 | =item B<zcta3cu> | ||
| 1029 | |||
| 1030 | $data = $record->zcta3cu(); | ||
| 1031 | $record->zcta3cu($data); | ||
| 1032 | |||
| 1033 | 3-Digit ZIP Code Tabulation Area, current. | ||
| 1034 | |||
| 1035 | Expects alphanumeric data of no more than 3 characters. $data can be blank | ||
| 1036 | and should be right justified. | ||
| 1037 | |||
| 1038 | |||
| 1039 | =item B<rs_a4> | ||
| 1040 | |||
| 1041 | $data = $record->rs_a4(); | ||
| 1042 | $record->rs_a4($data); | ||
| 1043 | |||
| 1044 | Reserved Space A4. | ||
| 1045 | |||
| 1046 | Expects alphanumeric data of no more than 6 characters. $data can be blank | ||
| 1047 | and should be right justified. | ||
| 1048 | |||
| 1049 | |||
| 1050 | =item B<slducu> | ||
| 1051 | |||
| 1052 | $data = $record->slducu(); | ||
| 1053 | $record->slducu($data); | ||
| 1054 | |||
| 1055 | State Legislative District Upper, Current (2006). | ||
| 1056 | |||
| 1057 | Expects alphanumeric data of no more than 3 characters. $data can be blank | ||
| 1058 | and should be right justified. | ||
| 1059 | |||
| 1060 | |||
| 1061 | =item B<sldlcu> | ||
| 1062 | |||
| 1063 | $data = $record->sldlcu(); | ||
| 1064 | $record->sldlcu($data); | ||
| 1065 | |||
| 1066 | State Legislative District Lower, Current (2006). | ||
| 1067 | |||
| 1068 | Expects alphanumeric data of no more than 3 characters. $data can be blank | ||
| 1069 | and should be right justified. | ||
| 1070 | |||
| 1071 | |||
| 1072 | =item B<rs_a7> | ||
| 1073 | |||
| 1074 | $data = $record->rs_a7(); | ||
| 1075 | $record->rs_a7($data); | ||
| 1076 | |||
| 1077 | Reserved Space A7. | ||
| 1078 | |||
| 1079 | Expects alphanumeric data of no more than 5 characters. $data can be blank | ||
| 1080 | and should be right justified. | ||
| 1081 | |||
| 1082 | |||
| 1083 | =item B<rs_a8> | ||
| 1084 | |||
| 1085 | $data = $record->rs_a8(); | ||
| 1086 | $record->rs_a8($data); | ||
| 1087 | |||
| 1088 | Reserved Space A8. | ||
| 1089 | |||
| 1090 | Expects alphanumeric data of no more than 6 characters. $data can be blank | ||
| 1091 | and should be right justified. | ||
| 1092 | |||
| 1093 | |||
| 1094 | =item B<rs_a9> | ||
| 1095 | |||
| 1096 | $data = $record->rs_a9(); | ||
| 1097 | $record->rs_a9($data); | ||
| 1098 | |||
| 1099 | Reserved Space A9. | ||
| 1100 | |||
| 1101 | Expects alphanumeric data of no more than 6 characters. $data can be blank | ||
| 1102 | and should be left justified. | ||
| 1103 | |||
| 1104 | |||
| 1105 | =item B<cbsacu> | ||
| 1106 | |||
| 1107 | $data = $record->cbsacu(); | ||
| 1108 | $record->cbsacu($data); | ||
| 1109 | |||
| 1110 | FIPS Metropolitan Statistical Area/ Micropolitan Statistical Area Code, Current. | ||
| 1111 | |||
| 1112 | Expects numeric data of no more than 5 characters. $data can be blank | ||
| 1113 | and should be left justified. | ||
| 1114 | |||
| 1115 | |||
| 1116 | =item B<csacu> | ||
| 1117 | |||
| 1118 | $data = $record->csacu(); | ||
| 1119 | $record->csacu($data); | ||
| 1120 | |||
| 1121 | FIPS Combined Statistical Area Code, Current. | ||
| 1122 | |||
| 1123 | Expects numeric data of no more than 3 characters. $data can be blank | ||
| 1124 | and should be left justified. | ||
| 1125 | |||
| 1126 | |||
| 1127 | =item B<nectacu> | ||
| 1128 | |||
| 1129 | $data = $record->nectacu(); | ||
| 1130 | $record->nectacu($data); | ||
| 1131 | |||
| 1132 | FIPS New England City and Town Area Code, Current. | ||
| 1133 | |||
| 1134 | Expects numeric data of no more than 5 characters. $data can be blank | ||
| 1135 | and should be left justified. | ||
| 1136 | |||
| 1137 | |||
| 1138 | =item B<cnectacu> | ||
| 1139 | |||
| 1140 | $data = $record->cnectacu(); | ||
| 1141 | $record->cnectacu($data); | ||
| 1142 | |||
| 1143 | FIPS Combined New England City and Town Area Code, Current. | ||
| 1144 | |||
| 1145 | Expects numeric data of no more than 3 characters. $data can be blank | ||
| 1146 | and should be left justified. | ||
| 1147 | |||
| 1148 | |||
| 1149 | =item B<metdivcu> | ||
| 1150 | |||
| 1151 | $data = $record->metdivcu(); | ||
| 1152 | $record->metdivcu($data); | ||
| 1153 | |||
| 1154 | FIPS Metropolitan Division Code, Current. | ||
| 1155 | |||
| 1156 | Expects numeric data of no more than 5 characters. $data can be blank | ||
| 1157 | and should be left justified. | ||
| 1158 | |||
| 1159 | |||
| 1160 | =item B<nectadivcu> | ||
| 1161 | |||
| 1162 | $data = $record->nectadivcu(); | ||
| 1163 | $record->nectadivcu($data); | ||
| 1164 | |||
| 1165 | FIPS New England City and Town Area Division Code, Current. | ||
| 1166 | |||
| 1167 | Expects numeric data of no more than 5 characters. $data can be blank | ||
| 1168 | and should be left justified. | ||
| 1169 | |||
| 1170 | |||
| 1171 | =item B<rs_a14> | ||
| 1172 | |||
| 1173 | $data = $record->rs_a14(); | ||
| 1174 | $record->rs_a14($data); | ||
| 1175 | |||
| 1176 | Reserved Space A14. | ||
| 1177 | |||
| 1178 | Expects alphanumeric data of no more than 4 characters. $data can be blank | ||
| 1179 | and should be left justified. | ||
| 1180 | |||
| 1181 | |||
| 1182 | =item B<uacu> | ||
| 1183 | |||
| 1184 | $data = $record->uacu(); | ||
| 1185 | $record->uacu($data); | ||
| 1186 | |||
| 1187 | Urban Area, Current. | ||
| 1188 | |||
| 1189 | Expects numeric data of no more than 5 characters. $data can be blank | ||
| 1190 | and should be left justified. | ||
| 1191 | |||
| 1192 | |||
| 1193 | =item B<urcu> | ||
| 1194 | |||
| 1195 | $data = $record->urcu(); | ||
| 1196 | $record->urcu($data); | ||
| 1197 | |||
| 1198 | Urban/Rural Indicator, Current. | ||
| 1199 | |||
| 1200 | Expects alphanumeric data of no more than 1 characters. $data can be blank | ||
| 1201 | and should be left justified. | ||
| 1202 | |||
| 1203 | |||
| 1204 | =item B<rs_a17> | ||
| 1205 | |||
| 1206 | $data = $record->rs_a17(); | ||
| 1207 | $record->rs_a17($data); | ||
| 1208 | |||
| 1209 | Reserved Space A17. | ||
| 1210 | |||
| 1211 | Expects alphanumeric data of no more than 6 characters. $data can be blank | ||
| 1212 | and should be left justified. | ||
| 1213 | |||
| 1214 | |||
| 1215 | =item B<rs_a18> | ||
| 1216 | |||
| 1217 | $data = $record->rs_a18(); | ||
| 1218 | $record->rs_a18($data); | ||
| 1219 | |||
| 1220 | Reserved Space A18. | ||
| 1221 | |||
| 1222 | Expects alphanumeric data of no more than 6 characters. $data can be blank | ||
| 1223 | and should be left justified. | ||
| 1224 | |||
| 1225 | |||
| 1226 | =item B<rs_a19> | ||
| 1227 | |||
| 1228 | $data = $record->rs_a19(); | ||
| 1229 | $record->rs_a19($data); | ||
| 1230 | |||
| 1231 | Reserved Space A19. | ||
| 1232 | |||
| 1233 | Expects alphanumeric data of no more than 11 characters. $data can be blank | ||
| 1234 | and should be left justified. | ||
| 1235 | |||
| 1236 | |||
| 1237 | |||
| 1238 | =back | ||
| 1239 | |||
| 1240 | |||
| 1241 | =head2 Data dictionary | ||
| 1242 | |||
| 1243 | This is the original TIGER/Line 2006 data dictionary from which this | ||
| 1244 | class was generated. | ||
| 1245 | |||
| 1246 | Record Type A - Polygon Geographic Entity Codes: Current Geography | ||
| 1247 | |||
| 1248 | Field BV Fmt Type Beg End Len Description | ||
| 1249 | RT No L A 1 1 1 Record Type | ||
| 1250 | VERSION No L N 2 5 4 Version Number | ||
| 1251 | FILE No L N 6 10 5 File Code | ||
| 1252 | CENID No L A 11 15 5 Census File Identification Code | ||
| 1253 | POLYID No R N 16 25 10 Polygon Identification Code | ||
| 1254 | STATECU No L N 26 27 2 FIPS State Code, Current | ||
| 1255 | COUNTYCU No L N 28 30 3 FIPS County Code, Current | ||
| 1256 | TRACT No L N 31 36 6 Census Tract, 2000 | ||
| 1257 | BLOCK No L N 37 40 4 Census Block Number, 2000 | ||
| 1258 | BLOCKSUFCU Yes L A 41 41 1 Current Suffix for Census 2000 Block Number | ||
| 1259 | RS-A1 Yes L A 42 42 1 Reserved Space A1 | ||
| 1260 | AIANHHFPCU Yes L N 43 47 5 FIPS 55 Code (American Indian/Alaska Native Area/Hawaiian Home Land), Current | ||
| 1261 | AIANHHCU Yes L N 48 51 4 Census Code (American Indian/Alaska Native Area/Hawaiian Home Land), Current | ||
| 1262 | AIHHTLICU Yes L A 52 52 1 American Indian/Hawaiian Home Land Trust Land Indicator, Current | ||
| 1263 | ANRCCU Yes L N 53 57 5 FIPS 55 Code (ANRC), Current | ||
| 1264 | AITSCECU Yes L N 58 60 3 Census Code (American Indian Tribal Subdivision), Current | ||
| 1265 | AITSCU Yes L N 61 65 5 FIPS 55 Code (American Indian Tribal Subdivision), Current | ||
| 1266 | CONCITCU Yes L N 66 70 5 FIPS 55 Code (Consolidated City), Current | ||
| 1267 | COUSUBCU No L N 71 75 5 FIPS 55 Code (County Subdivision), Current | ||
| 1268 | SUBMCDCU Yes L N 76 80 5 FIPS 55 Code (Subbarrio), Current | ||
| 1269 | PLACECU Yes L N 81 85 5 FIPS 55 Code (Incorporated Place), Current | ||
| 1270 | SDELMCU Yes L A 86 90 5 Elementary School District Code, Current | ||
| 1271 | SDSECCU Yes L A 91 95 5 Secondary School District Code, Current | ||
| 1272 | SDUNICU Yes L A 96 100 5 Unified School District Code, Current | ||
| 1273 | RS-A20 Yes L N 101 104 4 Reserved Space A20 | ||
| 1274 | RS-A21 Yes L N 105 108 4 Reserved Space A21 | ||
| 1275 | RS-A22 Yes L N 109 112 4 Reserved Space A22 | ||
| 1276 | CDCU Yes R N 113 114 2 Congressional District Code, Current (108th) | ||
| 1277 | ZCTA5CU Yes L A 115 119 5 5-Digit ZIP Code Tabulation Area, current | ||
| 1278 | ZCTA3CU Yes R A 120 122 3 3-Digit ZIP Code Tabulation Area, current | ||
| 1279 | RS-A4 Yes R A 123 128 6 Reserved Space A4 | ||
| 1280 | SLDUCU Yes R A 129 131 3 State Legislative District Upper, Current (2006) | ||
| 1281 | SLDLCU Yes R A 132 134 3 State Legislative District Lower, Current (2006) | ||
| 1282 | RS-A7 Yes R A 135 139 5 Reserved Space A7 | ||
| 1283 | RS-A8 Yes R A 140 145 6 Reserved Space A8 | ||
| 1284 | RS-A9 Yes L A 146 151 6 Reserved Space A9 | ||
| 1285 | CBSACU Yes L N 152 156 5 FIPS Metropolitan Statistical Area/ Micropolitan Statistical Area Code, Current | ||
| 1286 | CSACU Yes L N 157 159 3 FIPS Combined Statistical Area Code, Current | ||
| 1287 | NECTACU Yes L N 160 164 5 FIPS New England City and Town Area Code, Current | ||
| 1288 | CNECTACU Yes L N 165 167 3 FIPS Combined New England City and Town Area Code, Current | ||
| 1289 | METDIVCU Yes L N 168 172 5 FIPS Metropolitan Division Code, Current | ||
| 1290 | NECTADIVCU Yes L N 173 177 5 FIPS New England City and Town Area Division Code, Current | ||
| 1291 | RS-A14 Yes L A 178 181 4 Reserved Space A14 | ||
| 1292 | UACU Yes L N 182 186 5 Urban Area, Current | ||
| 1293 | URCU Yes L A 187 187 1 Urban/Rural Indicator, Current | ||
| 1294 | RS-A17 Yes L A 188 193 6 Reserved Space A17 | ||
| 1295 | RS-A18 Yes L A 194 199 6 Reserved Space A18 | ||
| 1296 | RS-A19 Yes L A 200 210 11 Reserved Space A19 | ||
| 1297 | |||
| 1298 | |||
| 1299 | |||
| 1300 | |||
| 1301 | =head1 AUTHOR | ||
| 1302 | |||
| 1303 | Michael G Schwern <schwern@pobox.com> | ||
| 1304 | |||
| 1305 | =head1 SEE ALSO | ||
| 1306 | |||
| 1307 | L<Geo::TigerLine>, L<mk_parsers> | ||
| 1308 | |||
| 1309 | =cut | ||
| 1310 | |||
| 1311 | |||
| 1312 | return 'Honey flash!'; |