-- DBMS: bigquery
CREATE TABLE `bigquery-public-data.covid19_vaccination_access.facility_boundary_us_all`
(
  facility_place_id STRING NOT NULL OPTIONS(description="The Google Place ID of the vaccination site. For example, ChIJV3woGFkSK4cRWP9s3-kIFGk."),
  facility_provider_id STRING OPTIONS(description="An identifier imported from the provider of the vaccination site information. In the US, we use the ID provided by VaccineFinder when available. For example, 7ede5bd5-44da-4a59-b4d9-b3a49c53472c."),
  facility_name STRING OPTIONS(description="The name of the vaccination site. For example, St. Joseph's Hospital."),
  facility_latitude FLOAT64 NOT NULL OPTIONS(description="The latitude of the vaccination site. For example, 36.0507"),
  facility_longitude FLOAT64 NOT NULL OPTIONS(description="The longitude of the vaccination site. For example, 41.4356"),
  facility_country_region STRING OPTIONS(description="The name of the country or region in English. For example, United States."),
  facility_country_region_code STRING OPTIONS(description="The ISO 3166-1 code for the country or region. For example, US."),
  facility_sub_region_1 STRING OPTIONS(description="The name of a region in the country. For example, California."),
  facility_sub_region_1_code STRING OPTIONS(description="A country-specific ISO 3166-2 code for the region. For example, US-CA."),
  facility_sub_region_2 STRING OPTIONS(description="The name (or type) of a region in the country. Typically a subdivision of sub_region_1. For example, Santa Clara County or municipal_borough."),
  facility_sub_region_2_code STRING OPTIONS(description="In the US, the FIPS code for a US county (or equivalent). For example, 06085."),
  facility_region_place_id STRING OPTIONS(description="The Google place ID for the most-specific region, used in Google Places API and on Google Maps. For example, ChIJd_Y0eVIvkIARuQyDN0F1LBA."),
  mode_of_transportation STRING OPTIONS(description="The mode of transport used to calculate the catchment boundary. For example, driving."),
  travel_time_threshold_minutes INT64 OPTIONS(description="The maximum travel time, in minutes, used to calculate the catchment boundary. For example, 30."),
  facility_catchment_boundary GEOGRAPHY OPTIONS(description="A GeoJSON representation of the catchment area boundary of the site, for a particular mode of transportation and travel time threshold. Consists of multiple latitude and longitude points.")
)
OPTIONS(
  description="This table is formed by combining the data from the individual US tables of drive, transit and walk. It represents the boundaries of areas surrounding vaccination facilities from which people can reach the facility within certain duration. It is computed for 3 travel modes of drive, transit and walk and for predetermined time periods."
);

INSERT INTO `bigquery-public-data.covid19_vaccination_access.facility_boundary_us_all` (facility_place_id, facility_provider_id, facility_name, facility_latitude, facility_longitude, facility_country_region, facility_country_region_code, facility_sub_region_1, facility_sub_region_1_code, facility_sub_region_2, facility_sub_region_2_code, facility_region_place_id, mode_of_transportation, travel_time_threshold_minutes, facility_catchment_boundary) VALUES ('ChIJAQAAANfpFogRjmEdiZ7FYFE', 'aef36226-56fd-4243-aa31-958d9e702722', 'Martin''s Supermarkets Pharmacy', 41.6396, -85.9286, 'United States', 'US', 'Indiana', 'US-IN', 'Elkhart County', '18039', 'ChIJHWkKPnXrFogR3u0vklO67mc', 'transit', 60, 'POLYGON((-85.842865 41.6103765, -85.896587 41.6434277, -85.8991438 41.6522306, -85.883801 41.6579052, -85.8901944 41.6680871, -85.8991438 41.6708942, -85.9055353 41.6935095, -85.9310934 41.6993892, -85.9413132 41.7047233, -85.9591929 41.7003786, -85.9617466 41.7253308, -85.965577 41.7298149, -85.9668537 41.740422, -85.982172 41.7409575, -85.9923817 41.7208079, -86.0332004 41.712898, -86.0280998 41.7065058, -86.0332004 41.7029515, -86.0688903 41.6992012, -86.0739869 41.6744984, -86.140196 41.6618045, -86.0676161 41.6543717, -86.0472244 41.6673623, -86.0472244 41.6773154, -86.0127951 41.6674199, -85.9974858 41.6382645, -85.932371 41.6185529, -85.9106479 41.5978563, -85.8882765 41.5920771, -85.8390256 41.5522989, -85.8211047 41.5398059, -85.7762757 41.5531323, -85.7871663 41.5697341, -85.8070197 41.5773121, -85.822385 41.6052768, -85.842865 41.6103765))'), ('ChIJ4Y9VFvBgBYgRDRMMPxpzW6M', '1277e03c-7b14-4a6c-8658-4c0615b2d960', 'Kenosha Pediatrics-Children''s Wisconsin', 42.5739, -87.9541, 'United States', 'US', 'Wisconsin', 'US-WI', 'Kenosha County', '55059', 'ChIJ2Si-7u9QBYgRFx8FDcBlxJA', 'transit', 60, 'MULTIPOLYGON(((-87.927352 42.5916891, -87.9622717 42.5923134, -87.9781908 42.5748403, -87.9757421 42.557037, -87.9671705 42.5519854, -87.9389949 42.5514837, -87.9389949 42.5484207, -87.9132539 42.5479563, -87.8997646 42.5507737, -87.8899516 42.5487562, -87.8690919 42.5453084, -87.8543616 42.5468723, -87.8408546 42.5496823, -87.8304145 42.5494858, -87.8248865 42.567143, -87.8298003 42.5739715, -87.8199721 42.5768469, -87.8150571 42.5859366, -87.8205864 42.5897143, -87.8340995 42.5899697, -87.8359419 42.594901, -87.8543616 42.5970825, -87.8764553 42.6005528, -87.8936317 42.6008688, -87.9046703 42.5845442, -87.9132539 42.5883734, -87.9175451 42.5915118, -87.9193841 42.586648, -87.927352 42.5916891)), ((-87.9830879 42.7296117, -87.9818637 42.7186002, -87.9781908 42.7173144, -87.9781908 42.7136505, -87.9732932 42.7135642, -87.9720688 42.7086569, -87.9377695 42.7086572, -87.9377695 42.7129321, -87.9328675 42.7128441, -87.9328675 42.7336029, -87.9377695 42.7343015, -87.9377695 42.7385743, -87.942671 42.7398829, -87.9438963 42.7435668, -87.9683951 42.7433923, -87.970232 42.7391523, -87.9781908 42.7386822, -87.9781908 42.7295257, -87.9830879 42.7296117)), ((-87.8985381 42.9522671, -87.9046703 42.9523791, -87.9046703 42.9463005, -87.8985381 42.9461884, -87.8985381 42.9522671)), ((-88.1102221 42.5642263, -88.1090014 42.5642062, -88.1090014 42.5703306, -88.1199865 42.5705107, -88.1199865 42.5643864, -88.1102221 42.5642263)), ((-87.934093 42.9626365, -87.9389949 42.9627246, -87.9389949 42.9469216, -87.9181581 42.9465458, -87.9181581 42.9623488, -87.934093 42.9626365)), ((-87.9579848 42.6118211, -87.9585972 42.600817, -87.9334803 42.6003682, -87.9328675 42.6058649, -87.9353186 42.6065209, -87.9377695 42.6071768, -87.9383822 42.6114711, -87.9579848 42.6118211)))'), ('ChIJK1RrBW2F7ocRGb3B2PCDy24', '71946341-0eed-48e4-898b-20ff15628bdf', 'CVS Pharmacy', 41.7323, -93.5995, 'United States', 'US', 'Iowa', 'US-IA', 'Polk County', '19153', 'ChIJu8uF2zgl7IcR6oIsamzvHr4', 'transit', 60, 'MULTIPOLYGON(((-93.6376137 41.711331, -93.6376137 41.6939186, -93.6274797 41.6923722, -93.6255798 41.688078, -93.59709 41.6871048, -93.5939254 41.6840932, -93.570514 41.6848211, -93.5654535 41.6949305, -93.5616585 41.6950479, -93.5603935 41.7112563, -93.5654535 41.7123434, -93.575575 41.7232207, -93.5768403 41.7306409, -93.5825347 41.7354363, -93.5901282 41.7401718, -93.6002547 41.7398557, -93.5983558 41.7436437, -93.5869641 41.743999, -93.5856985 41.7490095, -93.6274797 41.748944, -93.6325465 41.7357345, -93.6344466 41.7188917, -93.6376137 41.711331)), ((-93.6629577 41.5822937, -93.6616902 41.5773479, -93.6477498 41.5765434, -93.6452156 41.5728836, -93.6110163 41.5739601, -93.608484 41.5790259, -93.6034196 41.5841704, -93.6008877 41.5842496, -93.5983558 41.5893143, -93.5907611 41.5914206, -93.5907611 41.5988979, -93.5856985 41.6003017, -93.5875969 41.6058498, -93.6173478 41.6036738, -93.6186141 41.5998959, -93.621147 41.6035545, -93.621147 41.6297144, -93.6274797 41.627647, -93.6274797 41.6145683, -93.6426815 41.6134659, -93.6426815 41.6078597, -93.6376137 41.6061509, -93.6477498 41.6033386, -93.6477498 41.5977314, -93.6388806 41.5980117, -93.6382472 41.5942933, -93.6578879 41.5924254, -93.6604227 41.5886061, -93.6635914 41.5934904, -93.671831 41.5944744, -93.6692956 41.5970474, -93.6528186 41.5975708, -93.6515513 41.6032182, -93.6775362 41.6030149, -93.6781701 41.5824324, -93.6629577 41.5822937)))'), ('ChIJfU-rMMmr-IgRQg3m2N7c3hE', '114a46d0-32bd-4f14-934f-737dd392b4b3', 'Kroger Pharmacy', 34.1146, -80.8825, 'United States', 'US', 'South Carolina', 'US-SC', 'Richland County', '45079', 'ChIJOxu60MdK_4gRQqZb8Meu5LU', 'transit', 60, 'MULTIPOLYGON(((-80.9546385 34.0262023, -80.9546385 34.0137709, -80.9477285 34.0132606, -80.9477285 34.0187859, -80.9422 34.0183773, -80.9422 34.0252834, -80.9546385 34.0262023)), ((-81.0264667 34.0149073, -81.0319892 34.0042585, -81.025086 34.0023715, -81.0195629 34.0074937, -81.0085157 34.0080654, -81.0029915 34.0228561, -80.987798 34.0327896, -80.9650023 34.0476826, -80.9587842 34.0527471, -80.9422 34.034951, -80.9325243 34.0342352, -80.9318332 34.0507545, -80.9200825 34.0498839, -80.9200825 34.0547163, -80.9104041 34.0546887, -80.8931184 34.0699702, -80.8813619 34.0697853, -80.8758289 34.1004251, -80.8647617 34.1016692, -80.8536929 34.1194677, -80.8592275 34.1447093, -80.8702955 34.1689787, -80.8986502 34.176608, -80.921465 34.1783045, -80.9380535 34.1574715, -80.9491105 34.1582904, -80.9546385 34.1531825, -80.9656932 34.1539996, -80.97122 34.1488905, -80.9822724 34.1386701, -80.9774372 34.1258969, -80.9491105 34.1238047, -80.9477285 34.1285312, -80.9325243 34.1184375, -80.9546385 34.0979955, -80.9767464 34.1051477, -80.9822724 34.095204, -80.9822724 34.0889929, -80.9677658 34.0865431, -80.9822724 34.0724277, -80.9988482 34.057079, -81.0098967 34.0468431, -81.0209437 34.0255543, -81.0264667 34.0149073), (-80.9159347 34.1172069, -80.9256124 34.1220641, -80.9186999 34.1215512, -80.9159347 34.1172069)))'), ('ChIJm5ZVcXG3hVQRN6CqAW29gjw', NULL, 'Rite Aid', 48.9347, -122.485, 'United States', 'US', 'Washington', 'US-WA', 'Whatcom County', '53073', 'ChIJi6KetAsXhVQRq7HXbC1bHz8', 'transit', 60, 'POLYGON((-122.540532 48.7968822, -122.526872 48.7843635, -122.503227 48.7736005, -122.495125 48.7663434, -122.499941 48.7634205, -122.479442 48.7474637, -122.469528 48.7568983, -122.478494 48.7638816, -122.474803 48.7762621, -122.451253 48.7731733, -122.461499 48.7811589, -122.45901 48.7868513, -122.463494 48.7903455, -122.456736 48.8156201, -122.461865 48.8196157, -122.456311 48.8382062, -122.45959 48.8484023, -122.453317 48.8588025, -122.457292 48.8666772, -122.45731 48.8772046, -122.457381 48.8849077, -122.46202 48.9038189, -122.455739 48.9142303, -122.460236 48.9177328, -122.394971 48.9424864, -122.392228 48.9489709, -122.38715 48.9526748, -122.391644 48.9561834, -122.398184 48.9766278, -122.43376 48.9823222, -122.461915 48.9783833, -122.464417 48.9726699, -122.505156 48.9584177, -122.515297 48.9509957, -122.510246 48.9413347, -122.516371 48.9394013, -122.509341 48.9310709, -122.510547 48.9243614, -122.515285 48.889827, -122.510785 48.8863291, -122.518894 48.8697165, -122.512386 48.8570217, -122.519699 48.8483914, -122.511168 48.8398517, -122.517835 48.8307253, -122.508847 48.8237374, -122.52106 48.8198796, -122.521994 48.803444, -122.514293 48.7974578, -122.516316 48.7933112, -122.540532 48.7968822))');