-- DBMS: bigquery
CREATE TABLE `bigquery-public-data.geo_census_tracts.census_tracts_district_of_columbia`
(
  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_district_of_columbia` (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 ('11', '001', '003700', '11001003700', '37', 'Census Tract 37', 'S', 292372, 0, '+38.9228614', '-077.0343330', 'POINT(-77.034333 38.9228614)', 'POLYGON((-77.036496 38.919145, -77.036356 38.919182, -77.036318 38.919183, -77.035913 38.919182, -77.035493 38.919182, -77.03486 38.91918, -77.034726 38.919179, -77.034414 38.919183, -77.034333 38.919271, -77.0341 38.919521, -77.034073 38.919548, -77.034043 38.919572, -77.03401 38.919594, -77.033974 38.919613, -77.033936 38.919628, -77.033895 38.91964, -77.033567 38.919707, -77.033297 38.919768, -77.032221 38.920006, -77.031941 38.920064, -77.031932 38.920106, -77.031866 38.920322, -77.031853 38.920416, -77.031844 38.920511, -77.031841 38.920556, -77.03184 38.920601, -77.031839 38.92064, -77.031839 38.92068, -77.031841 38.920756, -77.031865 38.920998, -77.031873 38.921086, -77.03193 38.92166, -77.032002 38.922342, -77.03201 38.922428, -77.032038 38.922686, -77.032072 38.923012, -77.032132 38.923635, -77.032143 38.923763, -77.032193 38.924284, -77.03222 38.924541, -77.032242 38.924756, -77.03225 38.924827, -77.032309 38.925424, -77.032316 38.925502, -77.032331 38.925652, -77.032339 38.925742, -77.032407 38.926573, -77.032525 38.926527, -77.032629 38.926501, -77.032721 38.926488, -77.033114 38.926464, -77.033605 38.926436, -77.034943 38.926354, -77.035484 38.926325, -77.035988 38.92631, -77.036335 38.926294, -77.036489 38.926272, -77.036488 38.926183, -77.036487 38.92588, -77.036486 38.925793, -77.036486 38.925604, -77.036483 38.924826, -77.036484 38.924765, -77.036489 38.924227, -77.036489 38.92342, -77.036491 38.92325, -77.036492 38.923208, -77.036491 38.92318, -77.036488 38.922732, -77.036487 38.922609, -77.03649 38.921673, -77.036489 38.920964, -77.036494 38.920364, -77.036496 38.920313, -77.036494 38.919861, -77.0365 38.919284, -77.036496 38.919145))'), ('11', '001', '003800', '11001003800', '38', 'Census Tract 38', 'S', 356114, 0, '+38.9216348', '-077.0391794', 'POINT(-77.0391794 38.9216348)', 'POLYGON((-77.042668 38.922602, -77.042643 38.922518, -77.042565 38.922239, -77.042399 38.921724, -77.042052 38.920682, -77.04202 38.920591, -77.041736 38.919771, -77.041717 38.919712, -77.04171 38.919686, -77.041704 38.919659, -77.041699 38.919637, -77.041691 38.919593, -77.041685 38.919544, -77.041681 38.91947, -77.041681 38.918744, -77.041681 38.918256, -77.041679 38.91819, -77.041674 38.918124, -77.04167 38.918092, -77.041663 38.918059, -77.041653 38.917995, -77.041649 38.917962, -77.041647 38.91793, -77.041648 38.91782, -77.041651 38.917096, -77.041654 38.916985, -77.041658 38.916873, -77.041656 38.91678, -77.041543 38.91683, -77.041429 38.91689, -77.04129 38.916969, -77.041224 38.917008, -77.041038 38.917113, -77.040932 38.917167, -77.0409 38.917187, -77.040875 38.917206, -77.040852 38.917227, -77.040832 38.91725, -77.040554 38.917608, -77.040469 38.917723, -77.040426 38.917777, -77.040358 38.917863, -77.040265 38.917985, -77.040244 38.918006, -77.040219 38.918026, -77.040191 38.918044, -77.04016 38.918058, -77.040128 38.91807, -77.039951 38.918116, -77.039607 38.918211, -77.038972 38.918384, -77.038887 38.918408, -77.03854 38.918502, -77.038473 38.918523, -77.036496 38.919145, -77.0365 38.919284, -77.036494 38.919861, -77.036496 38.920313, -77.036494 38.920364, -77.036489 38.920964, -77.03649 38.921673, -77.036487 38.922609, -77.036488 38.922732, -77.036491 38.92318, -77.036492 38.923208, -77.036491 38.92325, -77.036489 38.92342, -77.036489 38.924227, -77.036484 38.924765, -77.036483 38.924826, -77.036486 38.925604, -77.036486 38.925793, -77.036487 38.92588, -77.036488 38.926183, -77.036489 38.926272, -77.036488 38.926525, -77.036599 38.92647, -77.036849 38.926333, -77.036939 38.926285, -77.03797 38.925636, -77.038366 38.925405, -77.03845 38.925357, -77.038656 38.925235, -77.038825 38.925133, -77.039149 38.924945, -77.039463 38.924764, -77.039667 38.924648, -77.039936 38.924486, -77.040143 38.924352, -77.040338 38.924226, -77.040415 38.92418, -77.040964 38.923811, -77.041346 38.923559, -77.041412 38.923513, -77.041544 38.923421, -77.041835 38.923241, -77.041877 38.92321, -77.042094 38.923055, -77.04233 38.922895, -77.042684 38.922661, -77.042668 38.922602))'), ('11', '001', '004002', '11001004002', '40.02', 'Census Tract 40.02', 'S', 194755, 0, '+38.9181186', '-077.0437209', 'POINT(-77.0437209 38.9181186)', 'POLYGON((-77.0463 38.916242, -77.046285 38.915991, -77.046228 38.915839, -77.046211 38.915294, -77.046187 38.914839, -77.046188 38.914761, -77.046088 38.914434, -77.045992 38.9145, -77.04574 38.91464, -77.045265 38.914909, -77.045039 38.915038, -77.044913 38.915108, -77.044718 38.915215, -77.044473 38.915347, -77.044257 38.915456, -77.04407 38.915554, -77.043577 38.915815, -77.043436 38.915888, -77.043345 38.915935, -77.042738 38.916243, -77.042187 38.91652, -77.041792 38.916714, -77.041656 38.91678, -77.041658 38.916873, -77.041654 38.916985, -77.041651 38.917096, -77.041648 38.91782, -77.041647 38.91793, -77.041649 38.917962, -77.041653 38.917995, -77.041663 38.918059, -77.04167 38.918092, -77.041674 38.918124, -77.041679 38.91819, -77.041681 38.918256, -77.041681 38.918744, -77.041681 38.91947, -77.041685 38.919544, -77.041691 38.919593, -77.041699 38.919637, -77.041704 38.919659, -77.04171 38.919686, -77.041717 38.919712, -77.041736 38.919771, -77.04202 38.920591, -77.042052 38.920682, -77.042399 38.921724, -77.042565 38.922239, -77.042643 38.922518, -77.042668 38.922602, -77.042684 38.922661, -77.042969 38.922479, -77.043013 38.922452, -77.043052 38.922424, -77.043087 38.922394, -77.04312 38.922361, -77.043143 38.922334, -77.043174 38.922293, -77.043237 38.922186, -77.04328 38.922103, -77.043319 38.922018, -77.043451 38.921706, -77.043574 38.921406, -77.043704 38.92111, -77.043713 38.921091, -77.043887 38.920682, -77.043931 38.920588, -77.044031 38.920377, -77.044301 38.919831, -77.044361 38.919726, -77.044398 38.919664, -77.044408 38.919645, -77.044432 38.919604, -77.044781 38.919052, -77.045205 38.918385, -77.045275 38.918277, -77.04549 38.917933, -77.045557 38.917825, -77.045798 38.917448, -77.046066 38.91702, -77.046081 38.916966, -77.046089 38.916941, -77.046119 38.916865, -77.046242 38.916656, -77.046255 38.916616, -77.046268 38.916596, -77.046295 38.916502, -77.0463 38.916446, -77.046299 38.916373, -77.046297 38.916311, -77.0463 38.916242))'), ('11', '001', '003600', '11001003600', '36', 'Census Tract 36', 'S', 305616, 0, '+38.9236744', '-077.0296273', 'POINT(-77.0296273 38.9236744)', 'POLYGON((-77.032339 38.925742, -77.032331 38.925652, -77.032316 38.925502, -77.032309 38.925424, -77.03225 38.924827, -77.032242 38.924756, -77.03222 38.924541, -77.032193 38.924284, -77.032143 38.923763, -77.032132 38.923635, -77.032072 38.923012, -77.032038 38.922686, -77.03201 38.922428, -77.032002 38.922342, -77.03193 38.92166, -77.031873 38.921086, -77.031865 38.920998, -77.031841 38.920756, -77.031839 38.92068, -77.031839 38.92064, -77.03184 38.920601, -77.031841 38.920556, -77.031844 38.920511, -77.031853 38.920416, -77.031866 38.920322, -77.031932 38.920106, -77.031941 38.920064, -77.031508 38.920154, -77.030269 38.920388, -77.029982 38.920441, -77.029677 38.920499, -77.029491 38.920528, -77.029394 38.92055, -77.028866 38.920657, -77.028834 38.920661, -77.028799 38.920664, -77.028738 38.920666, -77.028681 38.92067, -77.028455 38.920683, -77.028399 38.920687, -77.028085 38.920704, -77.028 38.920708, -77.027036 38.920763, -77.027036 38.922428, -77.027035 38.922658, -77.027037 38.923029, -77.027037 38.923476, -77.027038 38.923767, -77.027038 38.923849, -77.027039 38.923907, -77.027039 38.924765, -77.02704 38.925755, -77.02704 38.925853, -77.027038 38.92613, -77.027038 38.926411, -77.027037 38.926633, -77.027043 38.92672, -77.027046 38.926749, -77.027102 38.926743, -77.027187 38.92674, -77.02829 38.92674, -77.028741 38.926738, -77.029594 38.926741, -77.029707 38.926742, -77.029879 38.926742, -77.029985 38.926743, -77.031283 38.926742, -77.031456 38.92674, -77.031561 38.92674, -77.031855 38.926737, -77.032005 38.926729, -77.032055 38.926725, -77.032169 38.926687, -77.032407 38.926573, -77.032339 38.925742))'), ('11', '001', '004201', '11001004201', '42.01', 'Census Tract 42.01', 'S', 204529, 0, '+38.9162076', '-077.0388456', 'POINT(-77.0388456 38.9162076)', 'POLYGON((-77.041662 38.914092, -77.041552 38.914091, -77.04097 38.914093, -77.040594 38.914092, -77.040185 38.914094, -77.039275 38.914092, -77.039204 38.914091, -77.038852 38.91409, -77.03861 38.914092, -77.03848 38.914091, -77.038073 38.914093, -77.037169 38.914093, -77.036649 38.914092, -77.036509 38.914093, -77.036507 38.914266, -77.036506 38.914832, -77.036505 38.914904, -77.036505 38.915202, -77.036508 38.915495, -77.036508 38.915573, -77.036505 38.915822, -77.036507 38.916231, -77.036502 38.916289, -77.036489 38.916415, -77.036487 38.916808, -77.036492 38.917002, -77.036497 38.917168, -77.036497 38.917198, -77.0365 38.917309, -77.036501 38.918016, -77.0365 38.918036, -77.0365 38.918114, -77.036498 38.918527, -77.036499 38.918929, -77.036497 38.919001, -77.036496 38.919145, -77.038473 38.918523, -77.03854 38.918502, -77.038887 38.918408, -77.038972 38.918384, -77.039607 38.918211, -77.039951 38.918116, -77.040128 38.91807, -77.04016 38.918058, -77.040191 38.918044, -77.040219 38.918026, -77.040244 38.918006, -77.040265 38.917985, -77.040358 38.917863, -77.040426 38.917777, -77.040469 38.917723, -77.040554 38.917608, -77.040832 38.91725, -77.040852 38.917227, -77.040875 38.917206, -77.0409 38.917187, -77.040932 38.917167, -77.041038 38.917113, -77.041224 38.917008, -77.04129 38.916969, -77.041429 38.91689, -77.041543 38.91683, -77.041656 38.91678, -77.041654 38.916654, -77.041656 38.91629, -77.041658 38.915574, -77.04166 38.914834, -77.041661 38.914176, -77.041662 38.914092))');