-- DBMS: bigquery
CREATE TABLE `bigquery-public-data.geo_census_blockgroups.blockgroups_36`
(
  geo_id STRING OPTIONS(description="Unique identifier for each block group. Census block group identifier; a concatenation of the current state FIPS code, county FIPS code, census tract code, and block group number."),
  state_fips_code STRING OPTIONS(description="Two digit FIPS code that uniquely identifies each state. See https://www.census.gov/geo/reference/ansi_statetables.html for more information State names and their corresponding FIPS codes are available as a BigQuery Public Dataset: `bigquery-public-data.census_utility.fips_codes_states`"),
  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_utility.fips_codes_all`"),
  tract_ce STRING OPTIONS(description="Current Census tract code"),
  blockgroup_ce STRING OPTIONS(description="Current block group number"),
  lsad_name STRING OPTIONS(description="Current translated legal/statistical area description and the block group number"),
  mtfcc_feature_class_code STRING OPTIONS(description="MAF/TIGER feature class code (G5030)"),
  functional_status STRING OPTIONS(description="Current functional status"),
  area_land_meters INT64 OPTIONS(description="Current land area"),
  area_water_meters INT64 OPTIONS(description="Current water area"),
  internal_point_lat FLOAT64 OPTIONS(description="Latitude of the block group's internal point, which is the point at or closest to the block group's geographic center"),
  internal_point_lon FLOAT64 OPTIONS(description="Longitude of the block group's internal point, which is the point at or closest to the block group's geographic center"),
  internal_point_geom GEOGRAPHY OPTIONS(description="Geographical representation of the block group's internal point, which is the point at or closest to the block group's geographic center"),
  blockgroup_geom GEOGRAPHY OPTIONS(description="Geographical representation of the polygon that defines the perimeter of the block group. This column should be used as the GEO column for visualization in BigQuery Geo Viz")
);

INSERT INTO `bigquery-public-data.geo_census_blockgroups.blockgroups_36` (geo_id, state_fips_code, county_fips_code, tract_ce, blockgroup_ce, lsad_name, mtfcc_feature_class_code, functional_status, area_land_meters, area_water_meters, internal_point_lat, internal_point_lon, internal_point_geom, blockgroup_geom) VALUES ('360010146081', '36', '001', '014608', '1', 'Block Group 1', 'G5030', 'S', 2227773, 10833, 42.6843031, -73.8390816, 'POINT(-73.8390816 42.6843031)', 'POLYGON((-73.859616 42.688112, -73.859374 42.688038, -73.857741 42.687545, -73.856144 42.68704, -73.854362 42.686474, -73.85333 42.686147, -73.852162 42.685765, -73.851967 42.685699, -73.851786 42.68564, -73.851506 42.685551, -73.848816 42.684642, -73.847353 42.684182, -73.846624 42.68392, -73.846243 42.683804, -73.845809 42.683684, -73.845609 42.683619, -73.845343 42.68354, -73.845231 42.683504, -73.845017 42.68344, -73.844895 42.683393, -73.844762 42.683356, -73.844591 42.6833, -73.844417 42.683249, -73.844213 42.683185, -73.843648 42.683002, -73.84339 42.682916, -73.843047 42.682821, -73.842751 42.682731, -73.841718 42.682415, -73.841139 42.682227, -73.840554 42.682032, -73.840223 42.681923, -73.839045 42.681551, -73.838014 42.68121, -73.837845 42.681151, -73.836538 42.680732, -73.836114 42.680571, -73.835537 42.680382, -73.835266 42.680307, -73.834052 42.679949, -73.832735 42.679531, -73.832314 42.679392, -73.830828 42.678911, -73.8299 42.678616, -73.829601 42.678506, -73.828951 42.678304, -73.82823 42.678074, -73.82707 42.677729, -73.826929 42.677686, -73.826529 42.67754, -73.826506 42.677553, -73.826265 42.677688, -73.825931 42.67806, -73.824105 42.680108, -73.823816 42.680431, -73.821271 42.683277, -73.832033 42.686746, -73.833268 42.687148, -73.835554 42.68783, -73.84195 42.689739, -73.842171 42.689801, -73.843435 42.690157, -73.843899 42.690261, -73.844067 42.690299, -73.844135 42.690315, -73.844186 42.690332, -73.844353 42.690391, -73.844533 42.690453, -73.845404 42.690757, -73.846525 42.691145, -73.846883 42.691272, -73.847341 42.691431, -73.84748 42.69148, -73.84771 42.69156, -73.847888 42.691622, -73.848315 42.691771, -73.849368 42.692077, -73.85076 42.692478, -73.852566 42.692982, -73.85537 42.693916, -73.856312 42.693172, -73.856463 42.693031, -73.856527 42.692958, -73.856655 42.692779, -73.857142 42.691976, -73.857226 42.691817, -73.857261 42.691606, -73.857271 42.691509, -73.857274 42.69133, -73.857261 42.691229, -73.857213 42.691078, -73.857172 42.690989, -73.857119 42.690893, -73.857396 42.690883, -73.857777 42.69087, -73.857757 42.690741, -73.858259 42.689813, -73.858256 42.689764, -73.858779 42.688863, -73.858861 42.688753, -73.858963 42.688635, -73.859074 42.688532, -73.859616 42.688112))'), ('360010137031', '36', '001', '013703', '1', 'Block Group 1', 'G5030', 'S', 16133183, 120545, 42.7453514, -73.8147594, 'POINT(-73.8147594 42.7453514)', 'POLYGON((-73.847079 42.746413, -73.847347 42.746164, -73.846875 42.745916, -73.846608 42.745754, -73.846404 42.745571, -73.846137 42.745258, -73.845889 42.744925, -73.845782 42.744813, -73.84563 42.744682, -73.845096 42.744324, -73.844313 42.743848, -73.843993 42.743684, -73.843642 42.743569, -73.843417 42.743503, -73.843256 42.743483, -73.843034 42.743471, -73.842509 42.743477, -73.842055 42.743503, -73.8413 42.743569, -73.839402 42.743657, -73.83912 42.743667, -73.838931 42.743646, -73.83834 42.743516, -73.837879 42.743401, -73.837272 42.743215, -73.836945 42.743083, -73.836734 42.742988, -73.83686 42.742726, -73.836901 42.742621, -73.83693 42.742461, -73.836926 42.742277, -73.836908 42.742067, -73.836911 42.741971, -73.836945 42.741841, -73.836983 42.741741, -73.83703 42.741665, -73.837117 42.741561, -73.83719 42.741483, -73.837369 42.741334, -73.837489 42.741217, -73.837546 42.741145, -73.837588 42.74106, -73.837616 42.741017, -73.837833 42.740412, -73.837901 42.740291, -73.837997 42.740155, -73.838073 42.74008, -73.838423 42.739704, -73.838504 42.7396, -73.838662 42.73939, -73.839062 42.738647, -73.839937 42.737196, -73.840124 42.736932, -73.84022 42.736843, -73.840347 42.736755, -73.840507 42.736675, -73.84055 42.736659, -73.839146 42.735527, -73.839237 42.734557, -73.839118 42.734501, -73.835942 42.732588, -73.833234 42.730307, -73.832975 42.730238, -73.827084 42.728676, -73.82635 42.729381, -73.826407 42.729923, -73.826419 42.730479, -73.82639 42.731302, -73.826367 42.732471, -73.826381 42.732699, -73.808665 42.724378, -73.809452 42.723949, -73.810865 42.723178, -73.81 42.722832, -73.80904 42.722448, -73.808865 42.722378, -73.808768 42.722281, -73.808744 42.722252, -73.808616 42.722131, -73.808672 42.721966, -73.809201 42.720273, -73.809425 42.720139, -73.809516 42.720078, -73.809582 42.72002, -73.810023 42.720035, -73.810562 42.720211, -73.811165 42.720304, -73.811569 42.72038, -73.811998 42.720411, -73.816015 42.7207, -73.81648 42.719303, -73.81516 42.718383, -73.81478 42.718118, -73.814261 42.717764, -73.813888 42.717493, -73.811635 42.715897, -73.811253 42.715616, -73.809163 42.716908, -73.808446 42.717354, -73.807739 42.717795, -73.806416 42.718616, -73.805801 42.718994, -73.805179 42.719377, -73.804366 42.719929, -73.803949 42.720262, -73.803672 42.720508, -73.803102 42.721057, -73.801778 42.722358, -73.801384 42.722738, -73.801043 42.723053, -73.800678 42.723338, -73.799736 42.724034, -73.798595 42.724833, -73.797642 42.725511, -73.796196 42.726574, -73.795343 42.727165, -73.795126 42.727321, -73.794888 42.727431, -73.794781 42.727501, -73.794633 42.727584, -73.794501 42.727677, -73.794325 42.727823, -73.794118 42.728031, -73.793718 42.728454, -73.793462 42.728685, -73.793235 42.728845, -73.792875 42.729092, -73.791839 42.729703, -73.791339 42.730057, -73.79071 42.730601, -73.790119 42.731089, -73.789794 42.731489, -73.789725 42.731538, -73.789332 42.73189, -73.788834 42.732366, -73.788703 42.73249, -73.786033 42.735153, -73.783578 42.737624, -73.782876 42.738326, -73.783229 42.73835, -73.783584 42.738379, -73.784303 42.738422, -73.784697 42.738452, -73.787123 42.73863, -73.788237 42.738712, -73.789803 42.73879, -73.789987 42.738871, -73.790117 42.738946, -73.790764 42.739375, -73.791252 42.739773, -73.791538 42.740069, -73.791649 42.740232, -73.791862 42.740623, -73.792343 42.741607, -73.792671 42.742384, -73.793375 42.74423, -73.793507 42.744583, -73.793745 42.745258, -73.793777 42.745348, -73.793977 42.745793, -73.794186 42.746391, -73.794207 42.746494, -73.794174 42.746748, -73.794107 42.746917, -73.79381 42.747564, -73.793723 42.747712, -73.793541 42.747866, -73.793575 42.748469, -73.793581 42.748564, -73.794002 42.749519, -73.793994 42.749574, -73.793782 42.751009, -73.793732 42.751221, -73.79344 42.751882, -73.793397 42.752011, -73.793386 42.752103, -73.793383 42.75222, -73.793388 42.752319, -73.793397 42.752364, -73.793397 42.752414, -73.793416 42.752484, -73.79353 42.752718, -73.79365 42.752876, -73.793946 42.753161, -73.794776 42.753888, -73.795069 42.75421, -73.795207 42.754399, -73.795482 42.754825, -73.795885 42.75549, -73.796464 42.756403, -73.796698 42.756797, -73.797085 42.757431, -73.797139 42.757595, -73.797168 42.757742, -73.797183 42.75796, -73.797212 42.758203, -73.79728 42.758431, -73.797348 42.758528, -73.797419 42.758619, -73.797522 42.758712, -73.797765 42.758858, -73.797974 42.759001, -73.798086 42.759119, -73.798174 42.759258, -73.798237 42.759401, -73.7983 42.759612, -73.798358 42.759782, -73.798537 42.760206, -73.798652 42.760434, -73.798743 42.760559, -73.798777 42.760613, -73.799336 42.761298, -73.799661 42.7618, -73.7998 42.762004, -73.799899 42.762119, -73.800137 42.762304, -73.801275 42.762943, -73.802358 42.763515, -73.802635 42.763675, -73.802701 42.763723, -73.802733 42.763783, -73.802742 42.763822, -73.802734 42.763943, -73.802983 42.764, -73.804603 42.764326, -73.804904 42.764387, -73.805561 42.764526, -73.806508 42.764717, -73.807666 42.764922, -73.808 42.764985, -73.808385 42.765055, -73.80953 42.765262, -73.810577 42.765445, -73.812165 42.765735, -73.812966 42.76595, -73.813402 42.766102, -73.813832 42.76627, -73.814979 42.766855, -73.816398 42.76763, -73.817181 42.768066, -73.817715 42.768356, -73.818611 42.76886, -73.819144 42.769207, -73.819169 42.769219, -73.819425 42.769394, -73.820909 42.770403, -73.822147 42.77124, -73.822547 42.771497, -73.824895 42.772995, -73.825041 42.772676, -73.82513 42.77242, -73.825194 42.772226, -73.825411 42.771582, -73.825658 42.770942, -73.825821 42.770657, -73.82585 42.770591, -73.825917 42.770475, -73.826041 42.770318, -73.826272 42.77007, -73.826604 42.769666, -73.826975 42.769257, -73.82718 42.768979, -73.828029 42.767444, -73.828174 42.76725, -73.82852 42.766616, -73.82863 42.76639, -73.828787 42.766073, -73.829455 42.764654, -73.829719 42.764103, -73.829748 42.764041, -73.829845 42.763938, -73.829929 42.763867, -73.830123 42.763756, -73.830218 42.763682, -73.830395 42.763526, -73.830485 42.763411, -73.830706 42.76304, -73.830771 42.762881, -73.830794 42.762813, -73.830858 42.762621, -73.830965 42.76225, -73.831007 42.762068, -73.831113 42.761511, -73.831241 42.760851, -73.831398 42.760117, -73.831494 42.759676, -73.831518 42.75949, -73.831538 42.759409, -73.83157 42.759329, -73.831626 42.759247, -73.831694 42.759184, -73.831786 42.759131, -73.831878 42.759093, -73.832042 42.759046, -73.832328 42.758978, -73.833575 42.758703, -73.833809 42.758651, -73.834909 42.758416, -73.83509 42.758357, -73.835341 42.75826, -73.835533 42.758174, -73.835709 42.758094, -73.835831 42.758053, -73.836039 42.758004, -73.836145 42.757989, -73.836205 42.757981, -73.836435 42.757971, -73.836718 42.75797, -73.837686 42.757966, -73.839569 42.757985, -73.83955 42.757779, -73.839289 42.756637, -73.839258 42.756499, -73.839245 42.756395, -73.839189 42.755952, -73.839113 42.755053, -73.839071 42.754614, -73.83902 42.753783, -73.838953 42.753041, -73.83888 42.752142, -73.838784 42.750955, -73.838761 42.750799, -73.838701 42.750585, -73.838481 42.750016, -73.83822 42.749461, -73.83807 42.749116, -73.837974 42.748865, -73.837871 42.748538, -73.839193 42.74826, -73.840294 42.748047, -73.840774 42.74798, -73.84116 42.747924, -73.841334 42.747878, -73.841447 42.747834, -73.841535 42.747782, -73.841624 42.747705, -73.841755 42.747524, -73.841956 42.746959, -73.842157 42.746587, -73.842206 42.746622, -73.842384 42.746674, -73.842543 42.746706, -73.842775 42.746753, -73.842883 42.746799, -73.843105 42.746943, -73.843282 42.747111, -73.843398 42.747191, -73.84347 42.74723, -73.843541 42.747255, -73.843656 42.747269, -73.84379 42.74725, -73.844509 42.747085, -73.844821 42.747, -73.84546 42.746863, -73.845932 42.746746, -73.846769 42.746576, -73.846928 42.74653, -73.847079 42.746413))'), ('360010004011', '36', '001', '000401', '1', 'Block Group 1', 'G5030', 'S', 9065815, 86327, 42.7026692, -73.8668421, 'POINT(-73.8668421 42.7026692)', 'POLYGON((-73.89421 42.709772, -73.898099 42.707427, -73.886934 42.703775, -73.8834 42.702759, -73.878702 42.701036, -73.876573 42.700613, -73.861254 42.695757, -73.858451 42.694757, -73.858245 42.694718, -73.857554 42.694617, -73.85727 42.694564, -73.856868 42.694448, -73.85664 42.694378, -73.856391 42.694294, -73.855683 42.694027, -73.85537 42.693916, -73.852566 42.692982, -73.85076 42.692478, -73.849368 42.692077, -73.848315 42.691771, -73.847888 42.691622, -73.84771 42.69156, -73.84748 42.69148, -73.847341 42.691431, -73.846883 42.691272, -73.846525 42.691145, -73.845404 42.690757, -73.844533 42.690453, -73.844353 42.690391, -73.844186 42.690332, -73.844135 42.690315, -73.844067 42.690299, -73.843899 42.690261, -73.843435 42.690157, -73.842171 42.689801, -73.84195 42.689739, -73.841882 42.689848, -73.841528 42.690438, -73.841505 42.690471, -73.841454 42.690548, -73.841062 42.691135, -73.840442 42.692125, -73.840112 42.692676, -73.839954 42.692911, -73.839813 42.693142, -73.839315 42.693912, -73.839047 42.694306, -73.838601 42.694991, -73.838555 42.69508, -73.838508 42.695152, -73.838246 42.695591, -73.838078 42.695884, -73.83792 42.696107, -73.837112 42.697389, -73.836629 42.698156, -73.836587 42.698228, -73.836262 42.698691, -73.834897 42.700897, -73.834579 42.701404, -73.834769 42.701517, -73.834859 42.701571, -73.844192 42.707144, -73.849535 42.710263, -73.850761 42.710982, -73.8545 42.713179, -73.85481 42.713362, -73.855121 42.713544, -73.865464 42.71962, -73.868073 42.721181, -73.869871 42.722379, -73.872461 42.721481, -73.872942 42.721286, -73.874302 42.720732, -73.875668 42.720178, -73.877814 42.719396, -73.878286 42.719239, -73.88408 42.71711, -73.893892 42.713294, -73.893715 42.712416, -73.894365 42.712342, -73.894408 42.712337, -73.894724 42.712291, -73.894944 42.712259, -73.895294 42.712192, -73.896158 42.712026, -73.89649 42.711998, -73.896675 42.711244, -73.897205 42.71104, -73.896805 42.710583, -73.896066 42.710849, -73.895748 42.710642, -73.89421 42.709772))'), ('360010025001', '36', '001', '002500', '1', 'Block Group 1', 'G5030', 'S', 272347, 115684, 42.6404438, -73.7527156, 'POINT(-73.7527156 42.6404438)', 'POLYGON((-73.758523 42.638516, -73.75865 42.638312, -73.758283 42.638094, -73.757822 42.637841, -73.757151 42.637412, -73.756699 42.637645, -73.756391 42.637894, -73.75621 42.638055, -73.75609 42.638265, -73.755965 42.638508, -73.755105 42.638272, -73.755043 42.638263, -73.754963 42.638241, -73.754827 42.638207, -73.754743 42.638191, -73.754585 42.638143, -73.754523 42.638124, -73.754341 42.638067, -73.754289 42.638051, -73.754118 42.638004, -73.753369 42.637798, -73.752558 42.63755, -73.75067 42.637024, -73.749986 42.638328, -73.748964 42.640279, -73.748432 42.641467, -73.748396 42.641548, -73.748068 42.642276, -73.747874 42.64271, -73.747706 42.643084, -73.747664 42.643179, -73.747644 42.643233, -73.747662 42.643238, -73.747894 42.643305, -73.748554 42.64348, -73.749031 42.643616, -73.749287 42.643686, -73.74942 42.643725, -73.749632 42.643793, -73.749739 42.643819, -73.750075 42.64393, -73.750156 42.643956, -73.750251 42.643988, -73.750318 42.644018, -73.750379 42.64404, -73.750418 42.644055, -73.750546 42.644105, -73.750671 42.644154, -73.75103 42.644338, -73.751079 42.64429, -73.75113 42.644244, -73.75127 42.644094, -73.75137 42.643956, -73.751532 42.643788, -73.751863 42.64349, -73.75203 42.64352, -73.752207 42.643334, -73.752344 42.643206, -73.752455 42.643048, -73.752474 42.64296, -73.752468 42.64282, -73.752411 42.642671, -73.752357 42.64258, -73.752322 42.642513, -73.75236 42.642378, -73.752449 42.642035, -73.752696 42.641348, -73.753285 42.641498, -73.75336 42.641579, -73.753424 42.641616, -73.753479 42.641638, -73.754177 42.641795, -73.75437 42.641836, -73.754377 42.641856, -73.754663 42.641291, -73.756785 42.641862, -73.757188 42.641134, -73.757266 42.641038, -73.757332 42.640941, -73.757545 42.640606, -73.757827 42.640021, -73.757939 42.639799, -73.757994 42.639685, -73.758268 42.639115, -73.758523 42.638516))'), ('360010136021', '36', '001', '013602', '1', 'Block Group 1', 'G5030', 'S', 4051010, 652392, 42.6895952, -73.7198324, 'POINT(-73.7198324 42.6895952)', 'POLYGON((-73.732619 42.67597, -73.732188 42.675833, -73.726384 42.674053, -73.72619 42.673994, -73.725658 42.673786, -73.724753 42.673459, -73.723958 42.67318, -73.723263 42.672879, -73.722063 42.674779, -73.719763 42.677779, -73.716363 42.682378, -73.706463 42.694078, -73.702921 42.6993, -73.702463 42.699978, -73.704689 42.700704, -73.704849 42.700762, -73.705723 42.701193, -73.705734 42.701415, -73.705931 42.701707, -73.706284 42.701906, -73.70673 42.701975, -73.707072 42.701851, -73.707468 42.702045, -73.707634 42.702126, -73.708288 42.702444, -73.708678 42.70263, -73.708918 42.702787, -73.70907 42.70287, -73.710494 42.703587, -73.713714 42.70516, -73.717122 42.706857, -73.71857 42.707578, -73.718803 42.707694, -73.719587 42.708084, -73.721003 42.70869, -73.722463 42.708978, -73.723671 42.709077, -73.723769 42.708679, -73.722742 42.707958, -73.722646 42.707891, -73.722465 42.707779, -73.722958 42.706698, -73.723496 42.705722, -73.723773 42.705223, -73.723961 42.704885, -73.723959 42.704534, -73.723959 42.704477, -73.723925 42.704472, -73.723263 42.704379, -73.723553 42.703988, -73.723205 42.703846, -73.723614 42.702894, -73.724321 42.70135, -73.724871 42.700121, -73.72526 42.699176, -73.725344 42.698951, -73.725496 42.698481, -73.725552 42.698308, -73.7259 42.697292, -73.725925 42.697212, -73.726004 42.696911, -73.726143 42.696401, -73.726406 42.695334, -73.726571 42.695372, -73.72761 42.695579, -73.727739 42.695104, -73.728636 42.692444, -73.727204 42.692217, -73.727102 42.692206, -73.727014 42.69219, -73.727332 42.690529, -73.727408 42.690134, -73.72779 42.68809, -73.727848 42.687819, -73.727348 42.688423, -73.72617 42.689885, -73.725478 42.690745, -73.725293 42.690964, -73.725256 42.691019, -73.725143 42.690973, -73.724374 42.690629, -73.726963 42.686978, -73.728572 42.68495, -73.72859 42.684888, -73.728619 42.684833, -73.728701 42.684623, -73.729479 42.682894, -73.730611 42.680467, -73.730776 42.680088, -73.732054 42.677265, -73.732619 42.67597))');