-- DBMS: bigquery
CREATE TABLE `bigquery-public-data.new_york_citibike.citibike_stations`
(
  station_id STRING NOT NULL OPTIONS(description="Unique identifier of a station."),
  name STRING OPTIONS(description="Public name of the station."),
  short_name STRING OPTIONS(description="Short name or other type of identifier, as used by the data publisher."),
  latitude FLOAT64 OPTIONS(description="The latitude of station. The field value must be a valid WGS 84 latitude in decimal degrees format."),
  longitude FLOAT64 OPTIONS(description="The longitude of station. The field value must be a valid WGS 84 latitude in decimal degrees format."),
  region_id INT64 OPTIONS(description="ID of the region where station is located."),
  rental_methods STRING OPTIONS(description="Array of enumerables containing the payment methods accepted at this station."),
  capacity INT64 OPTIONS(description="ANumber of total docking points installed at this station, both available and unavailable."),
  eightd_has_key_dispenser BOOL OPTIONS(description=""),
  num_bikes_available INT64 OPTIONS(description="Number of bikes available for rental."),
  num_bikes_disabled INT64 OPTIONS(description="Number of disabled bikes at the station."),
  num_docks_available INT64 OPTIONS(description="Number of docks accepting bike returns."),
  num_docks_disabled INT64 OPTIONS(description="Number of empty but disabled dock points at the station."),
  is_installed BOOL OPTIONS(description="Is the station currently on the street?"),
  is_renting BOOL OPTIONS(description="Is the station currently renting bikes?"),
  is_returning BOOL OPTIONS(description="Is the station accepting bike returns?"),
  eightd_has_available_keys BOOL OPTIONS(description=""),
  last_reported TIMESTAMP OPTIONS(description="Timestamp indicating the last time this station reported its status to the backend, in NYC local time.")
);

INSERT INTO `bigquery-public-data.new_york_citibike.citibike_stations` (station_id, name, short_name, latitude, longitude, region_id, rental_methods, capacity, eightd_has_key_dispenser, num_bikes_available, num_bikes_disabled, num_docks_available, num_docks_disabled, is_installed, is_renting, is_returning, eightd_has_available_keys, last_reported) VALUES ('1815968237323833702', 'Brooklyn Ave & Beverley Rd', '3164.04', 40.64575, -73.94331, 0, 'KEY, CREDITCARD', 21, False, 0, 0, 0, 0, False, False, False, False, '2024-08-13 14:05:49+00:00'), ('18eccc71-66be-4e4c-8335-095a9bf0df94', 'Adam Clayton Powell Blvd & W 126 St', '7738.04', 40.80949534777948, -73.94776493310928, 71, 'KEY, CREDITCARD', 33, False, 0, 0, 0, 0, False, False, False, False, '2024-09-12 13:06:20+00:00'), ('fac701fb-c433-496e-933b-ea137dbe7fe1', 'Andrew Ave N & Hall of Fame Tce', '8520.01', 40.85834, -73.91008, 71, 'KEY, CREDITCARD', 19, False, 0, 0, 0, 0, False, False, False, False, '2024-08-06 13:02:20+00:00'), ('36025f2c-ee4d-4c1a-832d-733cf37f98ef', 'Tiebout Ave & E Fordham Rd', '8546.06', 40.861915, -73.894831, 71, 'KEY, CREDITCARD', 3, False, 0, 0, 0, 0, False, False, False, False, '2024-09-11 13:02:09+00:00'), ('66dc864c-0aca-11e7-82f6-3863bb44ef7c', '11 Ave & W 59 St', '7059.01', 40.77149671054441, -73.99046033620834, 71, 'KEY, CREDITCARD', 24, False, 0, 15, 0, 8, True, True, True, False, '2024-09-13 00:12:32+00:00');