-- DBMS: bigquery
CREATE TABLE `bigquery-public-data.geo_census_tracts.census_tracts_pennsylvania`
(
  state_fips_code STRING OPTIONS(description="Two digit FIPS code that uniquely identifies each state. State names and their corresponding FIPS codes are available as a BigQuery Public Dataset: bigquery-public-data.census_fips_codes.states_2016"),
  county_fips_code STRING OPTIONS(description="Four-digit county FIPS code.   County names and their corresponding FIPS codes can be found in BigQuery: bigquery-public-data.census_fips_codes.counties_2016"),
  tract_ce STRING OPTIONS(description="Current Census tract code"),
  geo_id STRING OPTIONS(description="Census tract identifier; a concatenation of Current state FIPS code, county FIPS code, and census tract code"),
  tract_name STRING OPTIONS(description="Current census tract name, this is the census tract code converted to an integer or integer plus 2- character decimal if the last two characters of the code are not both zeros."),
  lsad_name STRING OPTIONS(description="Current translated legal/statistical area description and the census tract name"),
  functional_status STRING OPTIONS(description="Current functional status of the Census tract"),
  area_land_meters INT64 OPTIONS(description="Current land area, in square meters"),
  area_water_meters INT64 OPTIONS(description="Current water area, in square meters"),
  internal_point_lat STRING OPTIONS(description="Latitude of the state's internal point, which is the point at or closest to the state's geographic center"),
  internal_point_lon STRING OPTIONS(description="Longitude of the state's internal point, which is the point at or closest to the state's geographic center"),
  internal_point_geo GEOGRAPHY OPTIONS(description="Geographic representation of the state's internal point, which is the point at or closest to the tract's geographic center"),
  tract_geom GEOGRAPHY OPTIONS(description="Geographical representation of the polygon that defines the perimeter of each Census tract. This column should be used as the GEO column for visualization in BigQuery Geo Viz")
);

INSERT INTO `bigquery-public-data.geo_census_tracts.census_tracts_pennsylvania` (state_fips_code, county_fips_code, tract_ce, geo_id, tract_name, lsad_name, functional_status, area_land_meters, area_water_meters, internal_point_lat, internal_point_lon, internal_point_geo, tract_geom) VALUES ('42', '133', '000100', '42133000100', '1', 'Census Tract 1', 'S', 505905, 7703, '+39.9615658', '-076.7266729', 'POINT(-76.7266729 39.9615658)', 'POLYGON((-76.733248 39.962861, -76.733141 39.962548, -76.733106 39.962444, -76.733057 39.962299, -76.7327 39.9613, -76.732606 39.960963, -76.732251 39.959442, -76.732079 39.959493, -76.732046 39.959503, -76.731409 39.959701, -76.730892 39.959862, -76.730619 39.959946, -76.730508 39.959981, -76.72936 39.96034, -76.729058 39.960434, -76.728977 39.96046, -76.728911 39.960329, -76.728715 39.959936, -76.72865 39.959806, -76.728576 39.959663, -76.728357 39.959234, -76.728284 39.959091, -76.72821 39.958951, -76.727991 39.958532, -76.727918 39.958393, -76.727844 39.958253, -76.727625 39.957833, -76.727552 39.957693, -76.726579 39.957976, -76.726303 39.958068, -76.726103 39.958132, -76.725726 39.958258, -76.725531 39.958305, -76.72534 39.958365, -76.724768 39.958545, -76.724578 39.958606, -76.724391 39.958663, -76.723833 39.958835, -76.723647 39.958893, -76.72346 39.958954, -76.722898 39.95914, -76.722712 39.959202, -76.722619 39.959228, -76.722343 39.959309, -76.722251 39.959337, -76.722142 39.959367, -76.721818 39.959459, -76.721711 39.95949, -76.721784 39.959626, -76.722006 39.960034, -76.722081 39.96017, -76.722148 39.960306, -76.722351 39.960717, -76.722419 39.960854, -76.722488 39.960989, -76.722695 39.961396, -76.722764 39.961532, -76.722832 39.961673, -76.723036 39.962098, -76.723105 39.96224, -76.723473 39.962946, -76.723836 39.963654, -76.723915 39.9638, -76.724155 39.964241, -76.724235 39.964388, -76.724305 39.964523, -76.724389 39.964685, -76.724513 39.964933, -76.724582 39.96507, -76.724632 39.96518, -76.724783 39.96551, -76.724834 39.96562, -76.72485 39.965654, -76.724898 39.965756, -76.724915 39.96579, -76.72499 39.965765, -76.725215 39.965692, -76.725291 39.965668, -76.725405 39.96563, -76.72575 39.96552, -76.725866 39.965484, -76.726071 39.965421, -76.726688 39.965236, -76.726894 39.965174, -76.727035 39.965131, -76.727458 39.965006, -76.7276 39.964965, -76.727984 39.964852, -76.728072 39.964825, -76.728853 39.96458, -76.728834 39.964545, -76.729388 39.964379, -76.72981 39.964257, -76.73 39.964201, -76.730573 39.964032, -76.730764 39.963977, -76.730959 39.963913, -76.731547 39.963723, -76.731743 39.96366, -76.731926 39.963604, -76.732478 39.963438, -76.732663 39.963384, -76.732752 39.963321, -76.73277 39.963309, -76.732982 39.963086, -76.733058 39.963007, -76.733103 39.962998, -76.733238 39.962973, -76.733284 39.962966, -76.733248 39.962861))'), ('42', '101', '000100', '42101000100', '1', 'Census Tract 1', 'S', 704917, 0, '+39.9523827', '-075.1466629', 'POINT(-75.1466629 39.9523827)', 'POLYGON((-75.152337 39.949421, -75.150767 39.949223, -75.149186 39.949032, -75.14758 39.94884, -75.146838 39.948741, -75.146768 39.948732, -75.146018 39.948633, -75.145228 39.948529, -75.144676 39.948455, -75.14408 39.948379, -75.14328 39.948273, -75.142466 39.948174, -75.142187 39.948139, -75.142052 39.948122, -75.141936 39.948677, -75.141773 39.949841, -75.141766 39.949884, -75.141746 39.949993, -75.141502 39.951379, -75.141469 39.951698, -75.141455 39.952168, -75.141482 39.952567, -75.141544 39.953352, -75.141572 39.953615, -75.14158 39.953685, -75.141586 39.953765, -75.141607 39.954082, -75.141608 39.954131, -75.14161 39.954183, -75.141612 39.954246, -75.141616 39.95436, -75.141622 39.955015, -75.141624 39.955289, -75.141607 39.955491, -75.141826 39.955475, -75.141838 39.955514, -75.141911 39.955538, -75.14252 39.955611, -75.142976 39.955667, -75.143075 39.95568, -75.143385 39.955721, -75.144017 39.955801, -75.144447 39.955855, -75.144871 39.955905, -75.145269 39.955953, -75.146023 39.956048, -75.146824 39.956146, -75.147369 39.956216, -75.147457 39.956212, -75.147517 39.956221, -75.14762 39.956237, -75.148408 39.95633, -75.148716 39.956271, -75.14913 39.956191, -75.149275 39.956366, -75.149461 39.956489, -75.149619 39.956534, -75.149777 39.956578, -75.149844 39.95659, -75.150288 39.956669, -75.150597 39.956727, -75.151223 39.956862, -75.151251 39.956787, -75.151321 39.95658, -75.151323 39.956527, -75.151481 39.955694, -75.15155 39.955435, -75.151669 39.954913, -75.151125 39.954848, -75.15132 39.953949, -75.151428 39.95345, -75.151539 39.952948, -75.151735 39.952074, -75.151959 39.951043, -75.152 39.950936, -75.152027 39.950857, -75.152212 39.949968, -75.152337 39.949421))'), ('42', '011', '000100', '42011000100', '1', 'Census Tract 1', 'S', 807871, 0, '+40.3352705', '-075.9249687', 'POINT(-75.9249687 40.3352705)', 'POLYGON((-75.931899 40.332241, -75.930928 40.33223, -75.930588 40.332225, -75.930514 40.332224, -75.929957 40.332216, -75.929454 40.332208, -75.928989 40.332199, -75.927975 40.332181, -75.927412 40.332172, -75.926973 40.332164, -75.926529 40.332157, -75.926491 40.332157, -75.926005 40.332149, -75.925488 40.332142, -75.925032 40.332136, -75.924145 40.332124, -75.924016 40.332123, -75.923972 40.332122, -75.923091 40.332109, -75.922124 40.332095, -75.921159 40.332081, -75.920343 40.332069, -75.92017 40.33207, -75.919212 40.33205, -75.919099 40.332048, -75.919005 40.331974, -75.918634 40.332037, -75.918231 40.332031, -75.918186 40.333527, -75.918174 40.333871, -75.918162 40.334294, -75.918139 40.335174, -75.918117 40.336052, -75.918097 40.336818, -75.918085 40.337218, -75.918061 40.338292, -75.918582 40.338302, -75.919033 40.338309, -75.919472 40.338316, -75.919995 40.338323, -75.920483 40.338333, -75.920978 40.338343, -75.921382 40.33835, -75.921936 40.338358, -75.922911 40.338375, -75.923503 40.338388, -75.923872 40.338394, -75.92395 40.338395, -75.924833 40.338411, -75.925817 40.338424, -75.926794 40.338439, -75.927792 40.338453, -75.928799 40.338469, -75.929229 40.338475, -75.929768 40.338485, -75.930736 40.338496, -75.931214 40.3385, -75.9317 40.338506, -75.931726 40.337604, -75.931728 40.337521, -75.931733 40.337353, -75.931742 40.337015, -75.931763 40.336287, -75.931789 40.335372, -75.93182 40.334453, -75.931848 40.333727, -75.931871 40.332997, -75.931884 40.332642, -75.931899 40.332241))'), ('42', '073', '000100', '42073000100', '1', 'Census Tract 1', 'S', 2786339, 34652, '+41.0189798', '-080.3364703', 'POINT(-80.3364703 41.0189798)', 'POLYGON((-80.346635 41.02748, -80.34663 41.027252, -80.346618 41.027098, -80.346609 41.026911, -80.346593 41.026245, -80.346566 41.025356, -80.346534 41.024451, -80.346502 41.023613, -80.346502 41.023596, -80.346474 41.022754, -80.346458 41.022174, -80.346453 41.021986, -80.346448 41.021771, -80.346422 41.021319, -80.34642 41.021229, -80.346397 41.020446, -80.346362 41.01944, -80.346322 41.018516, -80.346304 41.017977, -80.346293 41.017576, -80.346281 41.017126, -80.346259 41.016366, -80.346245 41.016056, -80.346221 41.015578, -80.346208 41.015019, -80.346202 41.014772, -80.346172 41.014032, -80.34616 41.013538, -80.346133 41.013045, -80.346126 41.012585, -80.346108 41.012097, -80.344021 41.012146, -80.343124 41.012163, -80.342825 41.012172, -80.340417 41.012222, -80.339852 41.012239, -80.338381 41.012268, -80.337889 41.01228, -80.337642 41.012278, -80.33744 41.012289, -80.334723 41.012348, -80.333222 41.012387, -80.332568 41.012397, -80.332469 41.012388, -80.330696 41.012245, -80.330388 41.012246, -80.330392 41.01228, -80.330552 41.012612, -80.330722 41.012867, -80.330739 41.013028, -80.330744 41.013051, -80.330793 41.013179, -80.330807 41.013213, -80.330937 41.013549, -80.330955 41.013661, -80.330614 41.013872, -80.329541 41.015141, -80.328475 41.016195, -80.327024 41.016708, -80.325621 41.016739, -80.324366 41.016502, -80.322291 41.015819, -80.320704 41.015762, -80.320418 41.015686, -80.319557 41.015457, -80.318962 41.015324, -80.318429 41.015263, -80.318269 41.015272, -80.31804 41.015245, -80.317932 41.015262, -80.317831 41.015277, -80.317652 41.01531, -80.317538 41.015331, -80.317327 41.015447, -80.31729 41.015501, -80.317229 41.015591, -80.317179 41.01567, -80.317133 41.015731, -80.31705 41.015875, -80.316981 41.015993, -80.316865 41.016194, -80.316764 41.016368, -80.316542 41.016695, -80.316521 41.016726, -80.316464 41.016809, -80.316352 41.016895, -80.316289 41.016943, -80.316049 41.017097, -80.315884 41.017203, -80.315753 41.017286, -80.315406 41.017569, -80.315314 41.017867, -80.315302 41.01814, -80.315406 41.018499, -80.315854 41.018828, -80.316253 41.019047, -80.316704 41.019213, -80.317392 41.019409, -80.317999 41.019595, -80.318417 41.01978, -80.318712 41.019954, -80.319106 41.019942, -80.319387 41.01993, -80.319974 41.019914, -80.320184 41.019902, -80.322913 41.019818, -80.323436 41.019806, -80.323492 41.019804, -80.323781 41.019792, -80.32417 41.01978, -80.32445 41.019772, -80.324508 41.01977, -80.324642 41.019768, -80.326078 41.019725, -80.327385 41.019689, -80.327828 41.019675, -80.328006 41.01967, -80.328869 41.019647, -80.328875 41.019755, -80.328877 41.019798, -80.328878 41.019823, -80.328892 41.020145, -80.32892 41.020819, -80.326991 41.020875, -80.326983 41.0211, -80.327014 41.02173, -80.327054 41.022514, -80.327056 41.022664, -80.327426 41.022661, -80.32802 41.022652, -80.328041 41.023059, -80.327751 41.023069, -80.327771 41.023488, -80.327794 41.023882, -80.329134 41.023885, -80.331398 41.023841, -80.332005 41.023796, -80.33203 41.02421, -80.332069 41.025067, -80.332094 41.025603, -80.331704 41.025619, -80.33159 41.025621, -80.33148 41.025628, -80.330716 41.025658, -80.3307 41.025361, -80.330691 41.025185, -80.330692 41.025102, -80.330959 41.025089, -80.331407 41.025082, -80.331725 41.025076, -80.331782 41.025075, -80.331763 41.024621, -80.331399 41.024629, -80.329534 41.024682, -80.329275 41.024689, -80.327969 41.024731, -80.327992 41.025278, -80.328015 41.025761, -80.329236 41.025717, -80.329261 41.026141, -80.329278 41.026564, -80.330365 41.02652, -80.331591 41.026477, -80.335303 41.026365, -80.338308 41.026238, -80.33831 41.026271, -80.338318 41.026438, -80.338328 41.02665, -80.33835 41.027155, -80.338356 41.027286, -80.338364 41.027477, -80.338372 41.027591, -80.338381 41.027698, -80.340791 41.027644, -80.34374 41.027573, -80.346636 41.027507, -80.346635 41.02748))'), ('42', '049', '000100', '42049000100', '1', 'Census Tract 1', 'S', 743090, 0, '+42.1261084', '-080.0830208', 'POINT(-80.0830208 42.1261084)', 'POLYGON((-80.089587 42.128971, -80.089361 42.12863, -80.088984 42.12806, -80.088549 42.127415, -80.088443 42.127247, -80.088305 42.127053, -80.087939 42.126496, -80.087664 42.126087, -80.087016 42.125115, -80.086382 42.124169, -80.086314 42.124062, -80.085673 42.123112, -80.085345 42.122612, -80.085284 42.122509, -80.085017 42.122105, -80.084406 42.121182, -80.084154 42.120796, -80.083872 42.1204, -80.083521 42.120525, -80.08227 42.120983, -80.081514 42.121262, -80.080652 42.121574, -80.080118 42.121769, -80.079767 42.121895, -80.079657 42.121937, -80.079569 42.121971, -80.07946 42.122011, -80.079429 42.122022, -80.079334 42.122057, -80.079184 42.122111, -80.078783 42.122257, -80.077564 42.122705, -80.076609 42.123055, -80.076372 42.123138, -80.07654 42.123383, -80.076906 42.12394, -80.077532 42.124874, -80.078211 42.125881, -80.078417 42.12619, -80.078501 42.126305, -80.078554 42.126396, -80.078882 42.126877, -80.079561 42.127884, -80.079714 42.128124, -80.079775 42.128208, -80.080019 42.128582, -80.080168 42.128796, -80.080202 42.128845, -80.080281 42.128963, -80.080836 42.129791, -80.08108 42.130156, -80.081522 42.130814, -80.082201 42.131829, -80.084139 42.13113, -80.08459 42.130963, -80.085902 42.130486, -80.086474 42.130238, -80.086589 42.130192, -80.08726 42.129948, -80.087923 42.129702, -80.088267 42.129574, -80.088805 42.129377, -80.089656 42.129067, -80.089587 42.128971))');