-- DBMS: bigquery
CREATE TABLE `bigquery-public-data.geo_census_tracts.census_tracts_new_york`
(
  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_new_york` (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 ('36', '047', '000100', '36047000100', '1', 'Census Tract 1', 'S', 207819, 0, '+40.7002150', '-073.9938089', 'POINT(-73.9938089 40.700215)', 'POLYGON((-73.997395 40.699572, -73.997348 40.69957, -73.997176 40.699635, -73.997096 40.699667, -73.996946 40.699618, -73.996817 40.699546, -73.996759 40.69948, -73.996708 40.69922, -73.996627 40.699191, -73.996533 40.699163, -73.996001 40.699007, -73.995122 40.698767, -73.994292 40.698535, -73.99271 40.698097, -73.99302 40.69746, -73.992124 40.697224, -73.991365 40.69701, -73.991407 40.697777, -73.991409 40.698632, -73.991306 40.699195, -73.991031 40.699845, -73.990872 40.700066, -73.990787 40.70039, -73.990819 40.700554, -73.990862 40.700677, -73.990935 40.700767, -73.99129 40.701049, -73.991676 40.701352, -73.992101 40.701684, -73.992207 40.701767, -73.992221 40.701778, -73.992312 40.701844, -73.99236 40.701879, -73.992612 40.702061, -73.992768 40.70215, -73.992907 40.702229, -73.993267 40.702435, -73.99381 40.702674, -73.994177 40.702825, -73.994472 40.702919, -73.994709 40.702994, -73.994908 40.703047, -73.995069 40.703102, -73.995138 40.70298, -73.996698 40.700877, -73.9975 40.699653, -73.997395 40.699572))'), ('36', '067', '000100', '36067000100', '1', 'Census Tract 1', 'S', 4801909, 1326057, '+43.0691355', '-076.1730170', 'POINT(-76.173017 43.0691355)', 'POLYGON((-76.199186 43.063668, -76.197119 43.063025, -76.19516 43.062248, -76.193532 43.06138, -76.192603 43.0606, -76.191987 43.060185, -76.191158 43.059648, -76.187801 43.057353, -76.185288 43.055681, -76.185115 43.055545, -76.183855 43.056512, -76.183538 43.05676, -76.183024 43.057161, -76.18231 43.057714, -76.182144 43.057841, -76.181922 43.058014, -76.181279 43.05773, -76.181005 43.057612, -76.180382 43.05734, -76.179529 43.056975, -76.179239 43.056857, -76.178789 43.056689, -76.178153 43.05649, -76.177587 43.056339, -76.177159 43.056244, -76.176796 43.056169, -76.176649 43.056144, -76.176489 43.056116, -76.176342 43.056094, -76.175722 43.056018, -76.175048 43.055959, -76.174726 43.055945, -76.173657 43.055923, -76.17303 43.055908, -76.170603 43.055856, -76.170429 43.055853, -76.167698 43.055786, -76.167457 43.055771, -76.166968 43.055732, -76.166776 43.055715, -76.166121 43.05564, -76.16597 43.055621, -76.165802 43.055599, -76.164345 43.055417, -76.162988 43.055273, -76.162856 43.055349, -76.16298 43.055425, -76.162774 43.055399, -76.161498 43.055243, -76.160955 43.055139, -76.160127 43.055017, -76.159526 43.054898, -76.15841 43.054632, -76.158243 43.054597, -76.15784 43.054533, -76.157732 43.05458, -76.157461 43.054655, -76.157215 43.054684, -76.157002 43.054703, -76.156709 43.054694, -76.156585 43.054683, -76.156558 43.054612, -76.156472 43.054407, -76.155753 43.054354, -76.154816 43.054291, -76.154354 43.054253, -76.153671 43.054175, -76.153449 43.054138, -76.152798 43.054011, -76.152359 43.053893, -76.152175 43.053835, -76.15213 43.053819, -76.152059 43.053795, -76.151824 43.053711, -76.151451 43.053548, -76.151729 43.053892, -76.152119 43.054289, -76.152379 43.054552, -76.152732 43.05491, -76.153003 43.055233, -76.153223 43.055535, -76.153354 43.05579, -76.153461 43.056009, -76.153556 43.056299, -76.153576 43.056361, -76.153593 43.056411, -76.153609 43.056457, -76.153619 43.056485, -76.1538 43.057012, -76.153974 43.057554, -76.154071 43.057864, -76.154131 43.058016, -76.154304 43.058364, -76.15449 43.058686, -76.154634 43.058895, -76.155055 43.059507, -76.155676 43.060331, -76.156093 43.060853, -76.156316 43.061069, -76.156517 43.061246, -76.157179 43.061717, -76.157726 43.062084, -76.158167 43.062421, -76.158258 43.0625, -76.158556 43.062801, -76.158966 43.063269, -76.159607 43.064028, -76.15999 43.06441, -76.160321 43.064679, -76.160441 43.064759, -76.160846 43.065015, -76.160993 43.065091, -76.161233 43.065213, -76.161935 43.065504, -76.163836 43.066262, -76.164588 43.066577, -76.165003 43.066769, -76.165269 43.066915, -76.165579 43.067113, -76.165833 43.067302, -76.166164 43.067598, -76.167431 43.068754, -76.167797 43.069086, -76.168207 43.069491, -76.168136 43.069566, -76.168089 43.069614, -76.16793 43.06978, -76.167801 43.06991, -76.167368 43.070339, -76.16714 43.070575, -76.167067 43.070653, -76.166652 43.071058, -76.166007 43.071676, -76.165745 43.071934, -76.165426 43.072258, -76.165135 43.072609, -76.16502 43.072758, -76.164165 43.073913, -76.163261 43.075129, -76.162379 43.076316, -76.161473 43.077522, -76.160577 43.078724, -76.159863 43.07968, -76.15877 43.081154, -76.157651 43.082645, -76.157568 43.082741, -76.157889 43.08296, -76.159542 43.084092, -76.162455 43.086102, -76.164072 43.084605, -76.166913 43.081103, -76.168797 43.078963, -76.169284 43.078668, -76.170919 43.078011, -76.172482 43.078451, -76.17274 43.078524, -76.174199 43.079026, -76.175076 43.079329, -76.177063 43.080013, -76.177318 43.07978, -76.177543 43.07951, -76.177548 43.079363, -76.177568 43.07854, -76.177594 43.078501, -76.177628 43.078474, -76.177745 43.078379, -76.178036 43.078153, -76.178135 43.077987, -76.178196 43.077884, -76.178291 43.077794, -76.178409 43.077677, -76.178592 43.077553, -76.182454 43.074651, -76.19187 43.067257, -76.192836 43.066498, -76.193323 43.066122, -76.194673 43.065077, -76.195266 43.06494, -76.195754 43.064827, -76.195987 43.064772, -76.197648 43.064266, -76.198765 43.063671, -76.199186 43.063668))'), ('36', '007', '000100', '36007000100', '1', 'Census Tract 1', 'S', 874859, 0, '+42.1072866', '-075.9413201', 'POINT(-75.9413201 42.1072866)', 'POLYGON((-75.950042 42.110026, -75.949867 42.108868, -75.94986 42.108437, -75.949776 42.105701, -75.948383 42.105771, -75.947304 42.105839, -75.946248 42.10592, -75.94627 42.106109, -75.945226 42.106172, -75.945141 42.106176, -75.944158 42.106235, -75.94403 42.106243, -75.943245 42.106296, -75.942807 42.106328, -75.942523 42.106184, -75.941759 42.105752, -75.940769 42.105221, -75.940594 42.105124, -75.93966 42.104602, -75.938638 42.10403, -75.937609 42.103455, -75.936544 42.102879, -75.935497 42.102301, -75.934464 42.101736, -75.933422 42.101166, -75.932636 42.100737, -75.931262 42.099972, -75.931335 42.100628, -75.931462 42.101755, -75.931498 42.102076, -75.93168 42.103788, -75.931664 42.103879, -75.931609 42.103988, -75.931859 42.104126, -75.931996 42.104202, -75.932968 42.104739, -75.934071 42.105348, -75.935125 42.105931, -75.936173 42.106509, -75.936852 42.106884, -75.936972 42.107225, -75.937014 42.107325, -75.937086 42.107451, -75.937651 42.108896, -75.937882 42.109467, -75.937991 42.10974, -75.940156 42.110843, -75.94244 42.112009, -75.945396 42.113514, -75.945489 42.113561, -75.945389 42.112372, -75.945369 42.111339, -75.94535 42.11113, -75.946719 42.111079, -75.94778 42.111019, -75.948375 42.110967, -75.949083 42.110917, -75.95015 42.110842, -75.950042 42.110026))'), ('36', '061', '000100', '36061000100', '1', 'Census Tract 1', 'S', 77654, 0, '+40.6900008', '-074.0461708', 'POINT(-74.0461708 40.6900008)', 'MULTIPOLYGON(((-74.047285 40.690503, -74.046995 40.690173, -74.046751 40.689859, -74.04657 40.689639, -74.04647 40.68949, -74.046144 40.68927, -74.045883 40.689143, -74.045616 40.689022, -74.04537 40.688878, -74.045074 40.688735, -74.044794 40.688658, -74.044569 40.688581, -74.044396 40.688542, -74.044208 40.688608, -74.043977 40.688658, -74.043803 40.688757, -74.043658 40.688861, -74.043586 40.688982, -74.043556 40.689147, -74.043513 40.689274, -74.043521 40.689588, -74.043556 40.689725, -74.043664 40.689935, -74.043773 40.690083, -74.043917 40.690215, -74.043931 40.690225, -74.044048 40.690309, -74.044279 40.690463, -74.044531 40.690584, -74.044848 40.690728, -74.045297 40.690899, -74.04586 40.691102, -74.04607 40.691185, -74.046265 40.691158, -74.046568 40.691147, -74.046895 40.691125, -74.047097 40.691142, -74.047169 40.691114, -74.047249 40.690999, -74.047234 40.69085, -74.047212 40.690723, -74.047184 40.690685, -74.047119 40.690646, -74.047104 40.690564, -74.047133 40.690542, -74.047285 40.690503)), ((-74.04074 40.700131, -74.040719 40.700096, -74.040702 40.700071, -74.040691 40.70005, -74.040687 40.70001, -74.040684 40.699983, -74.040674 40.699962, -74.040674 40.699935, -74.040663 40.699907, -74.040644 40.699883, -74.040624 40.69986, -74.040615 40.699828, -74.040617 40.699803, -74.040612 40.699766, -74.0406 40.699739, -74.040578 40.69971, -74.040553 40.69968, -74.040531 40.699657, -74.040512 40.699627, -74.040484 40.699595, -74.04047 40.699558, -74.040466 40.699528, -74.040467 40.699493, -74.040455 40.699467, -74.040438 40.699438, -74.040426 40.699413, -74.040402 40.699393, -74.040351 40.699375, -74.040316 40.699365, -74.040278 40.699351, -74.040243 40.699333, -74.040211 40.699315, -74.04019 40.699278, -74.04019 40.699245, -74.040186 40.699215, -74.040158 40.699197, -74.04007 40.699172, -74.03998 40.699124, -74.039948 40.699098, -74.039899 40.699068, -74.039863 40.699045, -74.039846 40.699032, -74.039817 40.699009, -74.039796 40.698977, -74.039798 40.698937, -74.039824 40.698911, -74.039868 40.698893, -74.03991 40.698883, -74.039951 40.698882, -74.039986 40.698887, -74.040028 40.698898, -74.040044 40.698903, -74.040059 40.698907, -74.040096 40.698934, -74.040145 40.698897, -74.040215 40.698854, -74.040234 40.698833, -74.040078 40.698715, -74.039931 40.69859, -74.03967 40.698775, -74.039651 40.698795, -74.039632 40.69879, -74.039585 40.69879, -74.039538 40.698787, -74.039508 40.69878, -74.039488 40.698777, -74.039469 40.698752, -74.039438 40.698739, -74.039411 40.698737, -74.039376 40.698731, -74.039365 40.698709, -74.039341 40.698684, -74.039317 40.698665, -74.039285 40.698632, -74.039245 40.698614, -74.039205 40.698604, -74.039168 40.698595, -74.039115 40.698592, -74.039061 40.698597, -74.039006 40.698594, -74.03896 40.698595, -74.038925 40.698607, -74.038879 40.698611, -74.038827 40.698624, -74.03878 40.698636, -74.038744 40.698637, -74.038712 40.698654, -74.038681 40.69866, -74.038653 40.698663, -74.038634 40.698667, -74.038621 40.698671, -74.038603 40.698677, -74.038623 40.698698, -74.038606 40.698718, -74.038569 40.69873, -74.038527 40.698712, -74.038505 40.698702, -74.038453 40.698681, -74.03842 40.698665, -74.038392 40.698666, -74.038372 40.698669, -74.038368 40.698687, -74.03838 40.698714, -74.038396 40.698729, -74.038435 40.698792, -74.038455 40.698825, -74.038467 40.69887, -74.038463 40.698924, -74.038459 40.698981, -74.038467 40.699017, -74.038498 40.699074, -74.038494 40.699115, -74.03851 40.699147, -74.038533 40.699172, -74.038561 40.699193, -74.038598 40.69921, -74.038632 40.699239, -74.038664 40.699263, -74.038697 40.699279, -74.038723 40.699302, -74.038742 40.699335, -74.038759 40.699368, -74.038772 40.699398, -74.038783 40.699406, -74.038796 40.699439, -74.038802 40.699487, -74.038815 40.699532, -74.038838 40.699562, -74.03888 40.699602, -74.038893 40.699625, -74.038936 40.699655, -74.03899 40.699662, -74.039024 40.699662, -74.039075 40.699668, -74.039121 40.699671, -74.039163 40.699677, -74.039255 40.699687, -74.039287 40.699708, -74.03933 40.699727, -74.039381 40.69975, -74.039428 40.699763, -74.039477 40.699782, -74.039511 40.699816, -74.039547 40.699843, -74.039586 40.699853, -74.039622 40.699856, -74.039665 40.699873, -74.039689 40.699899, -74.039713 40.699928, -74.039745 40.69995, -74.039783 40.699952, -74.039825 40.699955, -74.039859 40.699966, -74.0399 40.699981, -74.039934 40.699994, -74.039966 40.700018, -74.039994 40.700041, -74.040022 40.700061, -74.040048 40.700074, -74.040082 40.700092, -74.040121 40.700101, -74.040153 40.700103, -74.040187 40.700114, -74.040249 40.700117, -74.040283 40.700111, -74.040329 40.700101, -74.040376 40.700112, -74.040415 40.700126, -74.04046 40.700149, -74.040496 40.700162, -74.040528 40.700176, -74.040569 40.700188, -74.040612 40.700201, -74.040648 40.700214, -74.040697 40.700215, -74.04073 40.700193, -74.040747 40.700167, -74.04074 40.700131)))'), ('36', '015', '000100', '36015000100', '1', 'Census Tract 1', 'S', 4167032, 118779, '+42.1035539', '-076.8042010', 'POINT(-76.804201 42.1035539)', 'POLYGON((-76.821424 42.117247, -76.820382 42.115521, -76.819482 42.114198, -76.81766 42.111383, -76.816648 42.109839, -76.816257 42.109152, -76.815022 42.106843, -76.814997 42.106795, -76.813166 42.103164, -76.812645 42.102339, -76.812334 42.101732, -76.812187 42.101486, -76.811332 42.099771, -76.81057 42.099996, -76.810314 42.100071, -76.809722 42.100222, -76.809317 42.100382, -76.808407 42.100643, -76.80825 42.100702, -76.808013 42.100755, -76.807269 42.100952, -76.806529 42.100492, -76.806054 42.100235, -76.805164 42.099838, -76.804389 42.099563, -76.803883 42.099401, -76.803458 42.099282, -76.801774 42.098938, -76.801472 42.098888, -76.800926 42.098788, -76.799968 42.098638, -76.797851 42.098232, -76.796876 42.098038, -76.796039 42.097858, -76.795205 42.097607, -76.794146 42.097188, -76.79339 42.096813, -76.792516 42.096307, -76.791811 42.095813, -76.79083 42.095087, -76.789786 42.094319, -76.78903 42.093788, -76.787963 42.093006, -76.784373 42.090389, -76.78391 42.090429, -76.783728 42.09046, -76.783691 42.090466, -76.783622 42.090478, -76.783398 42.090483, -76.783111 42.09049, -76.782787 42.090486, -76.782514 42.090484, -76.782103 42.090391, -76.781994 42.090642, -76.782859 42.091087, -76.783263 42.091297, -76.783671 42.09151, -76.783889 42.091834, -76.784287 42.092428, -76.784406 42.092881, -76.784472 42.093133, -76.784608 42.093645, -76.784742 42.094151, -76.784811 42.094414, -76.785181 42.094669, -76.785378 42.095077, -76.786081 42.096104, -76.786073 42.096138, -76.788296 42.101205, -76.789399 42.101729, -76.78996 42.102866, -76.797118 42.114142, -76.797427 42.114661, -76.798529 42.114387, -76.79874 42.114312, -76.800266 42.113776, -76.800467 42.113727, -76.801582 42.113455, -76.801614 42.113447, -76.80202 42.115268, -76.802128 42.115752, -76.802114 42.116335, -76.802779 42.116982, -76.803129 42.117509, -76.803089 42.117832, -76.802591 42.118012, -76.802532 42.118223, -76.80276 42.118476, -76.803027 42.118589, -76.803235 42.118844, -76.803319 42.118864, -76.80354 42.118914, -76.804085 42.118985, -76.804852 42.119117, -76.805626 42.11926, -76.806496 42.119397, -76.806577 42.119397, -76.806659 42.119386, -76.807064 42.119271, -76.807588 42.119111, -76.808155 42.118914, -76.808727 42.11872, -76.81005 42.118272, -76.811207 42.117898, -76.814807 42.116623, -76.815111 42.116888, -76.816087 42.118813, -76.816249 42.118991, -76.817296 42.120203, -76.821962 42.118641, -76.821424 42.117247))');