-- DBMS: bigquery
CREATE TABLE `bigquery-public-data.new_york_trees.tree_census_1995`
(
  recordid INT64 NOT NULL OPTIONS(description="A unique identifier for each record in the table. Does not correspond to other datasets or identify the tree itself."),
  address STRING OPTIONS(description="Address of the tree."),
  house_number STRING OPTIONS(description="Numerical portion of the address."),
  street STRING OPTIONS(description="Street where address for tree is located."),
  zip_original INT64 OPTIONS(description="The zip code originally geocoded to the address using LION 02A"),
  cb_original INT64 OPTIONS(description="The community board originally geocoded to the address using LION 02A"),
  site STRING OPTIONS(description="This field clarifies the position relative to the address for trees not located in the front of buildings."),
  species STRING OPTIONS(description="Species of the tree using a four-letter code, comprised of the first two letters of the genus followed by the first two letters of the species."),
  diameter INT64 OPTIONS(description="Diameter of the tree as measured at approximately 4.5 feet from the ground."),
  status STRING OPTIONS(description="Overall tree condition."),
  wires STRING OPTIONS(description="Whether the tree is located under utility wires"),
  sidewalk_condition STRING OPTIONS(description="Whether the tree roots have lifted the adjacent sidewalk."),
  support_structure STRING OPTIONS(description="Whether the tree has support structures installed."),
  borough STRING OPTIONS(description="Borough where tree was recorded."),
  x FLOAT64 OPTIONS(description="X coordinate of point in the NAD_1983_StatePlane_New_York_Long_Island_FIPS_3104_Feet coordinate system, geocoded using LION 02A"),
  y FLOAT64 OPTIONS(description="Y coordinate of point in the NAD_1983_StatePlane_New_York_Long_Island_FIPS_3104_Feet coordinate system, geocoded using LION 02A"),
  longitude FLOAT64 OPTIONS(description="Longitude of point in decimal degrees as geocoded using LION 02A"),
  latitude FLOAT64 OPTIONS(description="Latitude of point in decimal degrees as geocoded using LION 02A"),
  cb_new INT64 OPTIONS(description="Community Board geocoded to the address using Geosupport 11.4"),
  zip_new INT64 OPTIONS(description="Zip Code geocoded to the address using Geosupport 11.4"),
  censustract_2010 STRING OPTIONS(description="2010 Census Tract geocoded to the address using Geosupport 11.4"),
  censusblock_2010 STRING OPTIONS(description="2010 Census Block geocoded to the address using Geosupport 11.4"),
  nta_2010 STRING OPTIONS(description="Neighborhood Tabulation Area geocoded to the address using Geosupport 11.4"),
  segmentid INT64 OPTIONS(description="LION SegmentID geocoded to the address using Geosupport 11.4"),
  spc_common STRING OPTIONS(description="This is the common name for the species of this tree."),
  spc_latin STRING OPTIONS(description="This is the latin/scientific name for the species of this tree."),
  location STRING OPTIONS(description="")
);

INSERT INTO `bigquery-public-data.new_york_trees.tree_census_1995` (recordid, address, house_number, street, zip_original, cb_original, site, species, diameter, status, wires, sidewalk_condition, support_structure, borough, x, y, longitude, latitude, cb_new, zip_new, censustract_2010, censusblock_2010, nta_2010, segmentid, spc_common, spc_latin, location) VALUES (21111, '700 W 123 ST', '700.0', 'W 123 ST', 0, 0, 'Across', 'QUPA', 15, 'Poor', NULL, 'Good', NULL, 'Manhattan', 1.0, 1.0, 1.0, 1.0, 0, 0, NULL, NULL, 'Unknown', 0, 'OAK, PIN', 'QUERCUS PALUSTRIS', '(1.0, 1.0)'), (21116, '700 W 123 ST', '700.0', 'W 123 ST', 0, 0, 'Across', 'QUPA', 13, 'Good', NULL, 'Good', NULL, 'Manhattan', 1.0, 1.0, 1.0, 1.0, 0, 0, NULL, NULL, 'Unknown', 0, 'OAK, PIN', 'QUERCUS PALUSTRIS', '(1.0, 1.0)'), (3219, '53-054 WASHINGTON SQ W', NULL, 'WASHINGTON SQ W', 0, 0, 'Across', 'QUPA', 7, 'Good', NULL, 'Good', NULL, 'Manhattan', 1.0, 1.0, 1.0, 1.0, 0, 0, NULL, NULL, 'Unknown', 0, 'OAK, PIN', 'QUERCUS PALUSTRIS', '(1.0, 1.0)'), (32660, '870/860 1 AV', NULL, '1 AV', 0, 0, 'Across', 'QUPH', 11, 'Good', NULL, 'Good', NULL, 'Manhattan', 1.0, 1.0, 1.0, 1.0, 0, 0, NULL, NULL, 'Unknown', 0, 'OAK, WILLOW', 'QUERCUS PHELLOS', '(1.0, 1.0)'), (32661, '870/860 1 AV', NULL, '1 AV', 0, 0, 'Across', 'QUPH', 11, 'Good', NULL, 'Good', NULL, 'Manhattan', 1.0, 1.0, 1.0, 1.0, 0, 0, NULL, NULL, 'Unknown', 0, 'OAK, WILLOW', 'QUERCUS PHELLOS', '(1.0, 1.0)');