nl2sqlproj/spider2-nl2sql huggingface dataset:
-- DBMS: bigquery
CREATE TABLE `bigquery-public-data.ghcn_d.ghcnd_1820`
(
  id STRING NOT NULL,
  date DATE,
  element STRING,
  value FLOAT64,
  mflag STRING,
  qflag STRING,
  sflag STRING,
  time STRING
);

INSERT INTO `bigquery-public-data.ghcn_d.ghcnd_1820` (id, date, element, value, mflag, qflag, sflag, time) VALUES ('EZE00100082', '1820-05-18', 'PRCP', 0.0, NULL, NULL, 'E', NULL), ('EZE00100082', '1820-08-08', 'PRCP', 0.0, NULL, NULL, 'E', NULL), ('EZE00100082', '1820-12-21', 'PRCP', 0.0, NULL, NULL, 'E', NULL), ('EZE00100082', '1820-04-06', 'PRCP', 0.0, NULL, NULL, 'E', NULL), ('EZE00100082', '1820-06-23', 'PRCP', 0.0, NULL, NULL, 'E', NULL);
-- DBMS: bigquery
CREATE TABLE `bigquery-public-data.ghcn_d.ghcnd_2021`
(
  id STRING NOT NULL OPTIONS(description=""),
  date DATE OPTIONS(description=""),
  element STRING OPTIONS(description=""),
  value FLOAT64 OPTIONS(description=""),
  mflag STRING OPTIONS(description=""),
  qflag STRING OPTIONS(description=""),
  sflag STRING OPTIONS(description=""),
  time STRING OPTIONS(description=""),
  source_url STRING OPTIONS(description="Source "),
  etl_timestamp TIMESTAMP OPTIONS(description="Load time for this data row")
);

INSERT INTO `bigquery-public-data.ghcn_d.ghcnd_2021` (id, date, element, value, mflag, qflag, sflag, time, source_url, etl_timestamp) VALUES ('USW00014913', '2021-03-02', 'ADPT', -72.0, NULL, NULL, 'W', NULL, 'ftp://ftp.ncei.noaa.gov/pub/data/ghcn/daily/by_year/2021.csv.gz', '2023-07-19 21:55:42.385381+00:00'), ('USW00013971', '2021-03-02', 'ADPT', -39.0, NULL, NULL, 'W', NULL, 'ftp://ftp.ncei.noaa.gov/pub/data/ghcn/daily/by_year/2021.csv.gz', '2023-07-19 21:55:42.385381+00:00'), ('USW00014920', '2021-03-02', 'ADPT', -61.0, NULL, NULL, 'W', NULL, 'ftp://ftp.ncei.noaa.gov/pub/data/ghcn/daily/by_year/2021.csv.gz', '2023-07-19 21:55:42.385381+00:00'), ('USW00023153', '2021-03-02', 'ADPT', -183.0, NULL, NULL, 'W', NULL, 'ftp://ftp.ncei.noaa.gov/pub/data/ghcn/daily/by_year/2021.csv.gz', '2023-07-19 21:55:42.385381+00:00'), ('FMW00040308', '2021-03-02', 'ADPT', 239.0, NULL, NULL, 'W', NULL, 'ftp://ftp.ncei.noaa.gov/pub/data/ghcn/daily/by_year/2021.csv.gz', '2023-07-19 21:55:42.385381+00:00');
-- DBMS: bigquery
CREATE TABLE `bigquery-public-data.ghcn_d.ghcnd_1932`
(
  id STRING NOT NULL,
  date DATE,
  element STRING,
  value FLOAT64,
  mflag STRING,
  qflag STRING,
  sflag STRING,
  time STRING
);

INSERT INTO `bigquery-public-data.ghcn_d.ghcnd_1932` (id, date, element, value, mflag, qflag, sflag, time) VALUES ('ASN00008164', '1932-10-08', 'DAPR', 2.0, NULL, NULL, 'a', NULL), ('ASN00009001', '1932-05-02', 'DAPR', 2.0, NULL, NULL, 'a', NULL), ('ASN00009023', '1932-07-18', 'DAPR', 2.0, NULL, NULL, 'a', NULL), ('ASN00009030', '1932-07-04', 'DAPR', 2.0, NULL, NULL, 'a', NULL), ('ASN00009058', '1932-10-24', 'DAPR', 2.0, NULL, NULL, 'a', NULL);
-- DBMS: bigquery
CREATE TABLE `bigquery-public-data.ghcn_d.ghcnd_1898`
(
  id STRING NOT NULL,
  date DATE,
  element STRING,
  value FLOAT64,
  mflag STRING,
  qflag STRING,
  sflag STRING,
  time STRING
);

INSERT INTO `bigquery-public-data.ghcn_d.ghcnd_1898` (id, date, element, value, mflag, qflag, sflag, time) VALUES ('AG000060590', '1898-06-14', 'PRCP', 0.0, NULL, NULL, 'E', NULL), ('AG000060590', '1898-06-19', 'PRCP', 0.0, NULL, NULL, 'E', NULL), ('AG000060590', '1898-08-01', 'PRCP', 0.0, NULL, NULL, 'E', NULL), ('AG000060590', '1898-01-10', 'PRCP', 0.0, NULL, NULL, 'E', NULL), ('AG000060590', '1898-02-06', 'PRCP', 0.0, NULL, NULL, 'E', NULL);
-- DBMS: bigquery
CREATE TABLE `bigquery-public-data.ghcn_d.ghcnd_1877`
(
  id STRING NOT NULL,
  date DATE,
  element STRING,
  value FLOAT64,
  mflag STRING,
  qflag STRING,
  sflag STRING,
  time STRING
);

INSERT INTO `bigquery-public-data.ghcn_d.ghcnd_1877` (id, date, element, value, mflag, qflag, sflag, time) VALUES ('USC00034251', '1877-04-18', 'DAPR', 3.0, NULL, NULL, '0', NULL), ('USC00034251', '1877-04-03', 'DAPR', 3.0, NULL, NULL, '0', NULL), ('USC00034251', '1877-04-18', 'MDPR', 1298.0, NULL, NULL, '0', NULL), ('USC00034251', '1877-04-03', 'MDPR', 221.0, NULL, NULL, '0', NULL), ('USC00015555', '1877-07-06', 'PRCP', 0.0, NULL, NULL, '0', NULL);
-- DBMS: bigquery
CREATE TABLE `bigquery-public-data.ghcn_d.ghcnd_1924`
(
  id STRING NOT NULL,
  date DATE,
  element STRING,
  value FLOAT64,
  mflag STRING,
  qflag STRING,
  sflag STRING,
  time STRING
);

INSERT INTO `bigquery-public-data.ghcn_d.ghcnd_1924` (id, date, element, value, mflag, qflag, sflag, time) VALUES ('AG000060590', '1924-07-24', 'PRCP', 0.0, NULL, NULL, 'E', NULL), ('AG000060590', '1924-06-11', 'PRCP', 0.0, NULL, NULL, 'E', NULL), ('AG000060590', '1924-10-28', 'PRCP', 0.0, NULL, NULL, 'E', NULL), ('AG000060590', '1924-07-20', 'PRCP', 0.0, NULL, NULL, 'E', NULL), ('AG000060590', '1924-10-29', 'PRCP', 0.0, NULL, NULL, 'E', NULL);
-- DBMS: bigquery
CREATE TABLE `bigquery-public-data.ghcn_d.ghcnd_1861`
(
  id STRING NOT NULL,
  date DATE,
  element STRING,
  value FLOAT64,
  mflag STRING,
  qflag STRING,
  sflag STRING,
  time STRING
);

INSERT INTO `bigquery-public-data.ghcn_d.ghcnd_1861` (id, date, element, value, mflag, qflag, sflag, time) VALUES ('USC00465224', '1861-01-17', 'SNOW', 0.0, NULL, NULL, '6', NULL), ('USC00465224', '1861-01-04', 'SNOW', 0.0, NULL, NULL, '6', NULL), ('USC00465224', '1861-01-30', 'SNOW', 0.0, NULL, NULL, '6', NULL), ('USC00465224', '1861-01-06', 'SNOW', 0.0, NULL, NULL, '6', NULL), ('USC00465224', '1861-01-03', 'SNOW', 0.0, NULL, NULL, '6', NULL);
-- DBMS: bigquery
CREATE TABLE `bigquery-public-data.ghcn_d.ghcnd_1973`
(
  id STRING NOT NULL,
  date DATE,
  element STRING,
  value FLOAT64,
  mflag STRING,
  qflag STRING,
  sflag STRING,
  time STRING
);

INSERT INTO `bigquery-public-data.ghcn_d.ghcnd_1973` (id, date, element, value, mflag, qflag, sflag, time) VALUES ('USW00023009', '1973-06-26', 'ACMH', 0.0, NULL, NULL, 'X', NULL), ('USW00013815', '1973-01-14', 'ACMH', 0.0, NULL, NULL, 'X', NULL), ('USW00023062', '1973-03-16', 'ACMH', 0.0, NULL, NULL, 'X', NULL), ('USW00013739', '1973-02-17', 'ACMH', 0.0, NULL, NULL, 'X', NULL), ('USW00014923', '1973-08-05', 'ACMH', 0.0, NULL, NULL, 'X', NULL);
-- DBMS: bigquery
CREATE TABLE `bigquery-public-data.ghcn_d.ghcnd_1836`
(
  id STRING NOT NULL,
  date DATE,
  element STRING,
  value FLOAT64,
  mflag STRING,
  qflag STRING,
  sflag STRING,
  time STRING
);

INSERT INTO `bigquery-public-data.ghcn_d.ghcnd_1836` (id, date, element, value, mflag, qflag, sflag, time) VALUES ('EZE00100082', '1836-01-05', 'PRCP', 0.0, NULL, NULL, 'E', NULL), ('EZE00100082', '1836-01-13', 'PRCP', 0.0, NULL, NULL, 'E', NULL), ('EZE00100082', '1836-05-13', 'PRCP', 0.0, NULL, NULL, 'E', NULL), ('EZE00100082', '1836-06-19', 'PRCP', 0.0, NULL, NULL, 'E', NULL), ('EZE00100082', '1836-07-03', 'PRCP', 0.0, NULL, NULL, 'E', NULL);
-- DBMS: bigquery
CREATE TABLE `bigquery-public-data.ghcn_d.ghcnd_1972`
(
  id STRING NOT NULL,
  date DATE,
  element STRING,
  value FLOAT64,
  mflag STRING,
  qflag STRING,
  sflag STRING,
  time STRING
);

INSERT INTO `bigquery-public-data.ghcn_d.ghcnd_1972` (id, date, element, value, mflag, qflag, sflag, time) VALUES ('AQW00061705', '1972-11-02', 'ACMH', 100.0, NULL, NULL, 'X', NULL), ('AQW00061705', '1972-12-05', 'ACMH', 50.0, NULL, NULL, 'X', NULL), ('AQW00061705', '1972-05-08', 'ACMH', 90.0, NULL, NULL, 'X', NULL), ('AQW00061705', '1972-04-17', 'ACMH', 80.0, NULL, NULL, 'X', NULL), ('AQW00061705', '1972-12-18', 'ACMH', 90.0, NULL, NULL, 'X', NULL);
-- DBMS: bigquery
CREATE TABLE `bigquery-public-data.ghcn_d.ghcnd_1837`
(
  id STRING NOT NULL,
  date DATE,
  element STRING,
  value FLOAT64,
  mflag STRING,
  qflag STRING,
  sflag STRING,
  time STRING
);

INSERT INTO `bigquery-public-data.ghcn_d.ghcnd_1837` (id, date, element, value, mflag, qflag, sflag, time) VALUES ('EZE00100082', '1837-01-13', 'PRCP', 92.0, NULL, NULL, 'E', NULL), ('EZE00100082', '1837-05-25', 'PRCP', 54.0, NULL, NULL, 'E', NULL), ('EZE00100082', '1837-09-04', 'PRCP', 196.0, NULL, NULL, 'E', NULL), ('EZE00100082', '1837-10-08', 'PRCP', 17.0, NULL, NULL, 'E', NULL), ('EZE00100082', '1837-12-21', 'PRCP', 36.0, NULL, NULL, 'E', NULL);
-- DBMS: bigquery
CREATE TABLE `bigquery-public-data.ghcn_d.ghcnd_1925`
(
  id STRING NOT NULL,
  date DATE,
  element STRING,
  value FLOAT64,
  mflag STRING,
  qflag STRING,
  sflag STRING,
  time STRING
);

INSERT INTO `bigquery-public-data.ghcn_d.ghcnd_1925` (id, date, element, value, mflag, qflag, sflag, time) VALUES ('AG000060590', '1925-07-18', 'PRCP', 0.0, NULL, NULL, 'E', NULL), ('AG000060590', '1925-06-10', 'PRCP', 0.0, NULL, NULL, 'E', NULL), ('AG000060590', '1925-08-14', 'PRCP', 0.0, NULL, NULL, 'E', NULL), ('AG000060590', '1925-10-07', 'PRCP', 0.0, NULL, NULL, 'E', NULL), ('AG000060590', '1925-10-19', 'PRCP', 0.0, NULL, NULL, 'E', NULL);
-- DBMS: bigquery
CREATE TABLE `bigquery-public-data.ghcn_d.ghcnd_1860`
(
  id STRING NOT NULL,
  date DATE,
  element STRING,
  value FLOAT64,
  mflag STRING,
  qflag STRING,
  sflag STRING,
  time STRING
);

INSERT INTO `bigquery-public-data.ghcn_d.ghcnd_1860` (id, date, element, value, mflag, qflag, sflag, time) VALUES ('USC00465224', '1860-02-06', 'SNOW', 0.0, 'T', NULL, '6', NULL), ('USC00465224', '1860-02-01', 'SNOW', 0.0, 'T', NULL, '6', NULL), ('CA006158350', '1860-12-11', 'PRCP', 0.0, 'T', NULL, 'C', NULL), ('CA006158350', '1860-12-22', 'PRCP', 0.0, 'T', NULL, 'C', NULL), ('CA006158350', '1860-01-16', 'PRCP', 0.0, 'T', NULL, 'C', NULL);
-- DBMS: bigquery
CREATE TABLE `bigquery-public-data.ghcn_d.ghcnd_1933`
(
  id STRING NOT NULL,
  date DATE,
  element STRING,
  value FLOAT64,
  mflag STRING,
  qflag STRING,
  sflag STRING,
  time STRING
);

INSERT INTO `bigquery-public-data.ghcn_d.ghcnd_1933` (id, date, element, value, mflag, qflag, sflag, time) VALUES ('ASN00007051', '1933-07-19', 'DAPR', 2.0, NULL, NULL, 'a', NULL), ('ASN00007058', '1933-07-18', 'DAPR', 2.0, NULL, NULL, 'a', NULL), ('ASN00008071', '1933-05-25', 'DAPR', 2.0, NULL, NULL, 'a', NULL), ('ASN00008071', '1933-11-30', 'DAPR', 2.0, NULL, NULL, 'a', NULL), ('ASN00008071', '1933-10-07', 'DAPR', 2.0, NULL, NULL, 'a', NULL);
-- DBMS: bigquery
CREATE TABLE `bigquery-public-data.ghcn_d.ghcnd_1899`
(
  id STRING NOT NULL,
  date DATE,
  element STRING,
  value FLOAT64,
  mflag STRING,
  qflag STRING,
  sflag STRING,
  time STRING
);

INSERT INTO `bigquery-public-data.ghcn_d.ghcnd_1899` (id, date, element, value, mflag, qflag, sflag, time) VALUES ('USC00133290', '1899-12-31', 'MDPR', 0.0, NULL, NULL, '0', NULL), ('USC00136243', '1899-03-01', 'MDPR', 0.0, NULL, NULL, '0', NULL), ('USC00136243', '1899-11-30', 'MDSF', 0.0, NULL, NULL, '0', NULL), ('RQC00661300', '1899-12-29', 'PRCP', 0.0, NULL, NULL, '0', NULL), ('RQC00661300', '1899-05-11', 'PRCP', 0.0, NULL, NULL, '0', NULL);
-- DBMS: bigquery
CREATE TABLE `bigquery-public-data.ghcn_d.ghcnd_1876`
(
  id STRING NOT NULL,
  date DATE,
  element STRING,
  value FLOAT64,
  mflag STRING,
  qflag STRING,
  sflag STRING,
  time STRING
);

INSERT INTO `bigquery-public-data.ghcn_d.ghcnd_1876` (id, date, element, value, mflag, qflag, sflag, time) VALUES ('USC00034251', '1876-01-17', 'DAPR', 3.0, NULL, NULL, '0', NULL), ('USC00034251', '1876-12-31', 'DAPR', 3.0, NULL, NULL, '0', NULL), ('USC00034251', '1876-07-24', 'DAPR', 5.0, NULL, NULL, '0', NULL), ('USC00034251', '1876-10-19', 'DAPR', 5.0, NULL, NULL, '0', NULL), ('USC00034251', '1876-07-24', 'MDPR', 739.0, NULL, NULL, '0', NULL);
-- DBMS: bigquery
CREATE TABLE `bigquery-public-data.ghcn_d.ghcnd_2020`
(
  id STRING NOT NULL OPTIONS(description=""),
  date DATE OPTIONS(description=""),
  element STRING OPTIONS(description=""),
  value FLOAT64 OPTIONS(description=""),
  mflag STRING OPTIONS(description=""),
  qflag STRING OPTIONS(description=""),
  sflag STRING OPTIONS(description=""),
  time STRING OPTIONS(description=""),
  source_url STRING OPTIONS(description="Source "),
  etl_timestamp TIMESTAMP OPTIONS(description="Load time for this data row")
);

INSERT INTO `bigquery-public-data.ghcn_d.ghcnd_2020` (id, date, element, value, mflag, qflag, sflag, time, source_url, etl_timestamp) VALUES ('USC00142980', '2020-06-19', 'MXPN', 317.0, NULL, NULL, '7', NULL, 'ftp://ftp.ncei.noaa.gov/pub/data/ghcn/daily/by_year/2020.csv.gz', '2023-07-19 21:40:33.669021+00:00'), ('USC00248569', '2020-06-19', 'TMIN', 106.0, NULL, NULL, '7', '2000', 'ftp://ftp.ncei.noaa.gov/pub/data/ghcn/daily/by_year/2020.csv.gz', '2023-07-19 21:40:33.669021+00:00'), ('USC00036920', '2020-06-19', 'TMIN', 206.0, NULL, NULL, '7', '0800', 'ftp://ftp.ncei.noaa.gov/pub/data/ghcn/daily/by_year/2020.csv.gz', '2023-07-19 21:40:33.669021+00:00'), ('USC00042294', '2020-06-19', 'SX33', 306.0, NULL, NULL, '7', '0800', 'ftp://ftp.ncei.noaa.gov/pub/data/ghcn/daily/by_year/2020.csv.gz', '2023-07-19 21:40:33.669021+00:00'), ('USC00058860', '2020-06-19', 'TMIN', 33.0, NULL, NULL, '7', '0700', 'ftp://ftp.ncei.noaa.gov/pub/data/ghcn/daily/by_year/2020.csv.gz', '2023-07-19 21:40:33.669021+00:00');
-- DBMS: bigquery
CREATE TABLE `bigquery-public-data.ghcn_d.ghcnd_1964`
(
  id STRING NOT NULL,
  date DATE,
  element STRING,
  value FLOAT64,
  mflag STRING,
  qflag STRING,
  sflag STRING,
  time STRING
);

INSERT INTO `bigquery-public-data.ghcn_d.ghcnd_1964` (id, date, element, value, mflag, qflag, sflag, time) VALUES ('RQC00668306', '1964-05-18', 'DAEV', 2.0, NULL, NULL, '0', NULL), ('USC00022439', '1964-12-27', 'DAEV', 3.0, NULL, NULL, '0', NULL), ('USC00027876', '1964-04-07', 'DAEV', 6.0, NULL, NULL, '0', NULL), ('USC00029652', '1964-11-02', 'DAEV', 2.0, NULL, NULL, '0', NULL), ('USC00030764', '1964-12-16', 'DAEV', 3.0, NULL, NULL, '0', NULL);
-- DBMS: bigquery
CREATE TABLE `bigquery-public-data.ghcn_d.ghcnd_1821`
(
  id STRING NOT NULL,
  date DATE,
  element STRING,
  value FLOAT64,
  mflag STRING,
  qflag STRING,
  sflag STRING,
  time STRING
);

INSERT INTO `bigquery-public-data.ghcn_d.ghcnd_1821` (id, date, element, value, mflag, qflag, sflag, time) VALUES ('EZE00100082', '1821-03-02', 'PRCP', 0.0, NULL, NULL, 'E', NULL), ('EZE00100082', '1821-03-31', 'PRCP', 0.0, NULL, NULL, 'E', NULL), ('EZE00100082', '1821-05-31', 'PRCP', 0.0, NULL, NULL, 'E', NULL), ('EZE00100082', '1821-07-20', 'PRCP', 0.0, NULL, NULL, 'E', NULL), ('EZE00100082', '1821-04-06', 'PRCP', 0.0, NULL, NULL, 'E', NULL);
-- DBMS: bigquery
CREATE TABLE `bigquery-public-data.ghcn_d.ghcnd_1765`
(
  id STRING NOT NULL,
  date DATE,
  element STRING,
  value FLOAT64,
  mflag STRING,
  qflag STRING,
  sflag STRING,
  time STRING
);

INSERT INTO `bigquery-public-data.ghcn_d.ghcnd_1765` (id, date, element, value, mflag, qflag, sflag, time) VALUES ('ITE00100554', '1765-12-19', 'TMAX', 4.0, NULL, NULL, 'E', NULL), ('ITE00100554', '1765-12-31', 'TMAX', 4.0, NULL, NULL, 'E', NULL), ('ITE00100554', '1765-12-20', 'TMAX', 4.0, NULL, NULL, 'E', NULL), ('ITE00100554', '1765-12-17', 'TMAX', 4.0, NULL, NULL, 'E', NULL), ('ITE00100554', '1765-12-18', 'TMAX', 4.0, NULL, NULL, 'E', NULL);
-- DBMS: bigquery
CREATE TABLE `bigquery-public-data.ghcn_d.ghcnd_1948`
(
  id STRING NOT NULL,
  date DATE,
  element STRING,
  value FLOAT64,
  mflag STRING,
  qflag STRING,
  sflag STRING,
  time STRING
);

INSERT INTO `bigquery-public-data.ghcn_d.ghcnd_1948` (id, date, element, value, mflag, qflag, sflag, time) VALUES ('USC00106764', '1948-08-07', 'DAEV', 2.0, NULL, NULL, '0', NULL), ('USC00346328', '1948-07-23', 'DAPR', 2.0, NULL, NULL, '0', NULL), ('USC00295079', '1948-10-28', 'DAPR', 2.0, NULL, NULL, '0', NULL), ('USC00163944', '1948-04-14', 'DAPR', 2.0, NULL, NULL, '0', NULL), ('USC00430724', '1948-11-28', 'DAPR', 2.0, NULL, NULL, '0', NULL);
-- DBMS: bigquery
CREATE TABLE `bigquery-public-data.ghcn_d.ghcnd_1909`
(
  id STRING NOT NULL,
  date DATE,
  element STRING,
  value FLOAT64,
  mflag STRING,
  qflag STRING,
  sflag STRING,
  time STRING
);

INSERT INTO `bigquery-public-data.ghcn_d.ghcnd_1909` (id, date, element, value, mflag, qflag, sflag, time) VALUES ('RQC00660158', '1909-01-18', 'PRCP', 0.0, NULL, NULL, '0', NULL), ('RQC00660158', '1909-09-22', 'PRCP', 0.0, NULL, NULL, '0', NULL), ('RQC00660158', '1909-06-11', 'PRCP', 0.0, NULL, NULL, '0', NULL), ('RQC00660158', '1909-11-29', 'PRCP', 0.0, NULL, NULL, '0', NULL), ('RQC00660158', '1909-12-21', 'PRCP', 0.0, NULL, NULL, '0', NULL);
-- DBMS: bigquery
CREATE TABLE `bigquery-public-data.ghcn_d.ghcnd_1773`
(
  id STRING NOT NULL,
  date DATE,
  element STRING,
  value FLOAT64,
  mflag STRING,
  qflag STRING,
  sflag STRING,
  time STRING
);

INSERT INTO `bigquery-public-data.ghcn_d.ghcnd_1773` (id, date, element, value, mflag, qflag, sflag, time) VALUES ('ITE00100554', '1773-02-07', 'TMAX', 5.0, NULL, NULL, 'E', NULL), ('ITE00100554', '1773-02-06', 'TMAX', 8.0, NULL, NULL, 'E', NULL), ('ITE00100554', '1773-02-05', 'TMAX', 10.0, NULL, NULL, 'E', NULL), ('ITE00100554', '1773-02-08', 'TMAX', 16.0, NULL, NULL, 'E', NULL), ('ITE00100554', '1773-01-04', 'TMAX', 18.0, NULL, NULL, 'E', NULL);
-- DBMS: bigquery
CREATE TABLE `bigquery-public-data.ghcn_d.ghcnd_1991`
(
  id STRING NOT NULL,
  date DATE,
  element STRING,
  value FLOAT64,
  mflag STRING,
  qflag STRING,
  sflag STRING,
  time STRING
);

INSERT INTO `bigquery-public-data.ghcn_d.ghcnd_1991` (id, date, element, value, mflag, qflag, sflag, time) VALUES ('USC00257110', '1991-10-27', 'DAEV', 2.0, NULL, NULL, '0', NULL), ('USC00253165', '1991-04-22', 'DAEV', 3.0, NULL, NULL, '0', NULL), ('USC00049694', '1991-06-03', 'DAEV', 2.0, NULL, NULL, '0', NULL), ('USC00419966', '1991-02-10', 'DAEV', 3.0, NULL, NULL, '0', NULL), ('USC00142430', '1991-07-05', 'DAEV', 2.0, NULL, NULL, '0', NULL);
-- DBMS: bigquery
CREATE TABLE `bigquery-public-data.ghcn_d.ghcnd_1929`
(
  id STRING NOT NULL,
  date DATE,
  element STRING,
  value FLOAT64,
  mflag STRING,
  qflag STRING,
  sflag STRING,
  time STRING
);

INSERT INTO `bigquery-public-data.ghcn_d.ghcnd_1929` (id, date, element, value, mflag, qflag, sflag, time) VALUES ('ASN00008071', '1929-07-09', 'DAPR', 2.0, NULL, NULL, 'a', NULL), ('ASN00010670', '1929-05-04', 'DAPR', 4.0, NULL, NULL, 'a', NULL), ('ASN00014032', '1929-03-27', 'DAPR', 16.0, NULL, NULL, 'a', NULL), ('ASN00016015', '1929-12-26', 'DAPR', 2.0, NULL, NULL, 'a', NULL), ('ASN00016025', '1929-08-05', 'DAPR', 2.0, NULL, NULL, 'a', NULL);
-- DBMS: bigquery
CREATE TABLE `bigquery-public-data.ghcn_d.ghcnd_1883`
(
  id STRING NOT NULL,
  date DATE,
  element STRING,
  value FLOAT64,
  mflag STRING,
  qflag STRING,
  sflag STRING,
  time STRING
);

INSERT INTO `bigquery-public-data.ghcn_d.ghcnd_1883` (id, date, element, value, mflag, qflag, sflag, time) VALUES ('ASN00017028', '1883-08-20', 'DAPR', 2.0, NULL, NULL, 'a', NULL), ('ASN00018079', '1883-11-26', 'DAPR', 2.0, NULL, NULL, 'a', NULL), ('ASN00018079', '1883-04-02', 'DAPR', 2.0, NULL, NULL, 'a', NULL), ('ASN00018079', '1883-05-28', 'DAPR', 2.0, NULL, NULL, 'a', NULL), ('ASN00019036', '1883-05-07', 'DAPR', 2.0, NULL, NULL, 'a', NULL);
-- DBMS: bigquery
CREATE TABLE `bigquery-public-data.ghcn_d.ghcnd_1895`
(
  id STRING NOT NULL,
  date DATE,
  element STRING,
  value FLOAT64,
  mflag STRING,
  qflag STRING,
  sflag STRING,
  time STRING
);

INSERT INTO `bigquery-public-data.ghcn_d.ghcnd_1895` (id, date, element, value, mflag, qflag, sflag, time) VALUES ('AG000060590', '1895-11-19', 'PRCP', 0.0, NULL, NULL, 'E', NULL), ('AG000060590', '1895-10-26', 'PRCP', 0.0, NULL, NULL, 'E', NULL), ('AG000060590', '1895-09-15', 'PRCP', -30.0, NULL, 'X', 'E', NULL), ('AG000060590', '1895-07-14', 'PRCP', 0.0, NULL, NULL, 'E', NULL), ('AG000060590', '1895-05-09', 'PRCP', 0.0, NULL, NULL, 'E', NULL);
-- DBMS: bigquery
CREATE TABLE `bigquery-public-data.ghcn_d.ghcnd_1968`
(
  id STRING NOT NULL,
  date DATE,
  element STRING,
  value FLOAT64,
  mflag STRING,
  qflag STRING,
  sflag STRING,
  time STRING
);

INSERT INTO `bigquery-public-data.ghcn_d.ghcnd_1968` (id, date, element, value, mflag, qflag, sflag, time) VALUES ('AQW00061705', '1968-03-13', 'ACMH', 90.0, NULL, NULL, 'X', NULL), ('AQW00061705', '1968-03-21', 'ACMH', 60.0, NULL, NULL, 'X', NULL), ('AQW00061705', '1968-02-18', 'ACMH', 70.0, NULL, NULL, 'X', NULL), ('AQW00061705', '1968-01-31', 'ACMH', 50.0, NULL, NULL, 'X', NULL), ('AQW00061705', '1968-10-31', 'ACMH', 90.0, NULL, NULL, 'X', NULL);
-- DBMS: bigquery
CREATE TABLE `bigquery-public-data.ghcn_d.ghcnd_1987`
(
  id STRING NOT NULL,
  date DATE,
  element STRING,
  value FLOAT64,
  mflag STRING,
  qflag STRING,
  sflag STRING,
  time STRING
);

INSERT INTO `bigquery-public-data.ghcn_d.ghcnd_1987` (id, date, element, value, mflag, qflag, sflag, time) VALUES ('USW00013881', '1987-04-10', 'ACMH', 0.0, NULL, NULL, 'X', NULL), ('USW00014839', '1987-09-25', 'ACMH', 0.0, NULL, NULL, 'X', NULL), ('USW00012960', '1987-03-31', 'ACMH', 0.0, NULL, NULL, 'X', NULL), ('USW00023232', '1987-05-03', 'ACMH', 0.0, NULL, NULL, 'X', NULL), ('USW00003816', '1987-04-20', 'ACMH', 0.0, NULL, NULL, 'X', NULL);
-- DBMS: bigquery
CREATE TABLE `bigquery-public-data.ghcn_d.ghcnd_1769`
(
  id STRING NOT NULL,
  date DATE,
  element STRING,
  value FLOAT64,
  mflag STRING,
  qflag STRING,
  sflag STRING,
  time STRING
);

INSERT INTO `bigquery-public-data.ghcn_d.ghcnd_1769` (id, date, element, value, mflag, qflag, sflag, time) VALUES ('ITE00100554', '1769-02-01', 'TMAX', -3.0, NULL, NULL, 'E', NULL), ('ITE00100554', '1769-02-04', 'TMAX', 5.0, NULL, NULL, 'E', NULL), ('ITE00100554', '1769-12-31', 'TMAX', 6.0, NULL, NULL, 'E', NULL), ('ITE00100554', '1769-02-02', 'TMAX', -6.0, NULL, NULL, 'E', NULL), ('ITE00100554', '1769-02-03', 'TMAX', 7.0, NULL, NULL, 'E', NULL);
-- DBMS: bigquery
CREATE TABLE `bigquery-public-data.ghcn_d.ghcnd_2000`
(
  id STRING NOT NULL,
  date DATE,
  element STRING,
  value FLOAT64,
  mflag STRING,
  qflag STRING,
  sflag STRING,
  time STRING
)
OPTIONS(
  description="http://www1.ncdc.noaa.gov/pub/data/ghcn/daily/readme.txt"
);

INSERT INTO `bigquery-public-data.ghcn_d.ghcnd_2000` (id, date, element, value, mflag, qflag, sflag, time) VALUES ('USC00404946', '2000-08-22', 'DAEV', 2.0, NULL, NULL, '0', NULL), ('USC00020632', '2000-01-12', 'DAEV', 2.0, NULL, NULL, '0', NULL), ('USC00262780', '2000-04-17', 'DAEV', 3.0, NULL, NULL, '0', NULL), ('USC00345713', '2000-09-25', 'DAEV', 2.0, NULL, NULL, '0', NULL), ('VQC00670480', '2000-12-22', 'DAEV', 2.0, NULL, NULL, '0', NULL);
-- DBMS: bigquery
CREATE TABLE `bigquery-public-data.ghcn_d.ghcnd_1786`
(
  id STRING NOT NULL,
  date DATE,
  element STRING,
  value FLOAT64,
  mflag STRING,
  qflag STRING,
  sflag STRING,
  time STRING
);

INSERT INTO `bigquery-public-data.ghcn_d.ghcnd_1786` (id, date, element, value, mflag, qflag, sflag, time) VALUES ('EZE00100082', '1786-03-02', 'TMAX', 0.0, NULL, NULL, 'E', NULL), ('EZE00100082', '1786-01-24', 'TMAX', -2.0, NULL, NULL, 'E', NULL), ('EZE00100082', '1786-01-25', 'TMAX', -2.0, NULL, NULL, 'E', NULL), ('EZE00100082', '1786-03-08', 'TMAX', -2.0, NULL, NULL, 'E', NULL), ('EZE00100082', '1786-11-16', 'TMAX', -3.0, NULL, NULL, 'E', NULL);
-- DBMS: bigquery
CREATE TABLE `bigquery-public-data.ghcn_d.ghcnd_1856`
(
  id STRING NOT NULL,
  date DATE,
  element STRING,
  value FLOAT64,
  mflag STRING,
  qflag STRING,
  sflag STRING,
  time STRING
);

INSERT INTO `bigquery-public-data.ghcn_d.ghcnd_1856` (id, date, element, value, mflag, qflag, sflag, time) VALUES ('USC00047738', '1856-03-16', 'PRCP', 3.0, NULL, NULL, '0', NULL), ('USC00047738', '1856-02-05', 'PRCP', 3.0, NULL, NULL, '0', NULL), ('USC00047738', '1856-04-10', 'PRCP', 3.0, NULL, NULL, '0', NULL), ('USC00047738', '1856-02-21', 'PRCP', 5.0, NULL, NULL, '0', NULL), ('USC00047738', '1856-04-11', 'PRCP', 5.0, NULL, NULL, '0', NULL);
-- DBMS: bigquery
CREATE TABLE `bigquery-public-data.ghcn_d.ghcnd_1913`
(
  id STRING NOT NULL,
  date DATE,
  element STRING,
  value FLOAT64,
  mflag STRING,
  qflag STRING,
  sflag STRING,
  time STRING
);

INSERT INTO `bigquery-public-data.ghcn_d.ghcnd_1913` (id, date, element, value, mflag, qflag, sflag, time) VALUES ('RQC00660158', '1913-09-13', 'PRCP', 0.0, NULL, NULL, '0', NULL), ('RQC00660158', '1913-02-17', 'PRCP', 0.0, NULL, NULL, '0', NULL), ('RQC00660158', '1913-11-20', 'PRCP', 0.0, NULL, NULL, '0', NULL), ('RQC00660158', '1913-01-18', 'PRCP', 0.0, NULL, NULL, '0', NULL), ('RQC00660158', '1913-02-27', 'PRCP', 0.0, NULL, NULL, '0', NULL);
-- DBMS: bigquery
CREATE TABLE `bigquery-public-data.ghcn_d.ghcnd_1801`
(
  id STRING NOT NULL,
  date DATE,
  element STRING,
  value FLOAT64,
  mflag STRING,
  qflag STRING,
  sflag STRING,
  time STRING
);

INSERT INTO `bigquery-public-data.ghcn_d.ghcnd_1801` (id, date, element, value, mflag, qflag, sflag, time) VALUES ('GM000010962', '1801-04-05', 'PRCP', 0.0, NULL, NULL, 'E', NULL), ('GM000010962', '1801-04-09', 'PRCP', 0.0, NULL, NULL, 'E', NULL), ('GM000010962', '1801-06-10', 'PRCP', 0.0, NULL, NULL, 'E', NULL), ('GM000010962', '1801-09-05', 'PRCP', 0.0, NULL, NULL, 'E', NULL), ('GM000010962', '1801-10-12', 'PRCP', 0.0, NULL, NULL, 'E', NULL);
-- DBMS: bigquery
CREATE TABLE `bigquery-public-data.ghcn_d.ghcnd_1944`
(
  id STRING NOT NULL,
  date DATE,
  element STRING,
  value FLOAT64,
  mflag STRING,
  qflag STRING,
  sflag STRING,
  time STRING
);

INSERT INTO `bigquery-public-data.ghcn_d.ghcnd_1944` (id, date, element, value, mflag, qflag, sflag, time) VALUES ('ASN00010103', '1944-09-19', 'DAPR', 3.0, NULL, NULL, 'a', NULL), ('ASN00016005', '1944-07-03', 'DAPR', 2.0, NULL, NULL, 'a', NULL), ('ASN00016020', '1944-04-08', 'DAPR', 2.0, NULL, NULL, 'a', NULL), ('ASN00016022', '1944-09-25', 'DAPR', 2.0, NULL, NULL, 'a', NULL), ('ASN00017042', '1944-10-23', 'DAPR', 2.0, NULL, NULL, 'a', NULL);
-- DBMS: bigquery
CREATE TABLE `bigquery-public-data.ghcn_d.ghcnd_1817`
(
  id STRING NOT NULL,
  date DATE,
  element STRING,
  value FLOAT64,
  mflag STRING,
  qflag STRING,
  sflag STRING,
  time STRING
);

INSERT INTO `bigquery-public-data.ghcn_d.ghcnd_1817` (id, date, element, value, mflag, qflag, sflag, time) VALUES ('ITE00100550', '1817-10-05', 'TMAX', 125.0, NULL, 'I', 'E', NULL), ('ITE00100554', '1817-06-16', 'TMAX', 188.0, NULL, 'I', 'E', NULL), ('ITE00100554', '1817-10-05', 'TMAX', 119.0, NULL, 'I', 'E', NULL), ('ITE00100550', '1817-10-04', 'TMIN', 138.0, NULL, 'I', 'E', NULL), ('ITE00100554', '1817-06-15', 'TMIN', 200.0, NULL, 'I', 'E', NULL);
-- DBMS: bigquery
CREATE TABLE `bigquery-public-data.ghcn_d.ghcnd_1952`
(
  id STRING NOT NULL,
  date DATE,
  element STRING,
  value FLOAT64,
  mflag STRING,
  qflag STRING,
  sflag STRING,
  time STRING
);

INSERT INTO `bigquery-public-data.ghcn_d.ghcnd_1952` (id, date, element, value, mflag, qflag, sflag, time) VALUES ('AG000060390', '1952-11-13', 'PRCP', 0.0, NULL, NULL, 'E', NULL), ('AG000060390', '1952-07-02', 'PRCP', 0.0, NULL, NULL, 'E', NULL), ('AG000060390', '1952-11-07', 'PRCP', 73.0, NULL, NULL, 'E', NULL), ('AG000060390', '1952-06-30', 'PRCP', 0.0, NULL, NULL, 'E', NULL), ('AG000060390', '1952-08-23', 'PRCP', 1.0, NULL, NULL, 'E', NULL);
-- DBMS: bigquery
CREATE TABLE `bigquery-public-data.ghcn_d.ghcnd_1790`
(
  id STRING NOT NULL,
  date DATE,
  element STRING,
  value FLOAT64,
  mflag STRING,
  qflag STRING,
  sflag STRING,
  time STRING
);

INSERT INTO `bigquery-public-data.ghcn_d.ghcnd_1790` (id, date, element, value, mflag, qflag, sflag, time) VALUES ('EZE00100082', '1790-01-21', 'TMAX', 0.0, NULL, NULL, 'E', NULL), ('EZE00100082', '1790-01-22', 'TMAX', 0.0, NULL, NULL, 'E', NULL), ('EZE00100082', '1790-01-27', 'TMAX', -3.0, NULL, NULL, 'E', NULL), ('EZE00100082', '1790-02-11', 'TMAX', -6.0, NULL, NULL, 'E', NULL), ('EZE00100082', '1790-01-18', 'TMAX', -6.0, NULL, NULL, 'E', NULL);
-- DBMS: bigquery
CREATE TABLE `bigquery-public-data.ghcn_d.ghcnd_2016`
(
  id STRING NOT NULL OPTIONS(description=""),
  date DATE OPTIONS(description=""),
  element STRING OPTIONS(description=""),
  value FLOAT64 OPTIONS(description=""),
  mflag STRING OPTIONS(description=""),
  qflag STRING OPTIONS(description=""),
  sflag STRING OPTIONS(description=""),
  time STRING OPTIONS(description=""),
  source_url STRING OPTIONS(description="Source "),
  etl_timestamp TIMESTAMP OPTIONS(description="Load time for this data row")
);

INSERT INTO `bigquery-public-data.ghcn_d.ghcnd_2016` (id, date, element, value, mflag, qflag, sflag, time, source_url, etl_timestamp) VALUES ('USW00053152', '2016-07-23', 'TMIN', 156.0, NULL, NULL, 'R', NULL, 'ftp://ftp.ncei.noaa.gov/pub/data/ghcn/daily/by_year/2016.csv.gz', '2022-12-26 04:12:08.141314+00:00'), ('USW00053155', '2016-07-24', 'PRCP', 0.0, NULL, NULL, 'R', NULL, 'ftp://ftp.ncei.noaa.gov/pub/data/ghcn/daily/by_year/2016.csv.gz', '2022-12-26 04:12:08.141314+00:00'), ('USW00063892', '2016-07-24', 'PRCP', 0.0, NULL, NULL, 'R', NULL, 'ftp://ftp.ncei.noaa.gov/pub/data/ghcn/daily/by_year/2016.csv.gz', '2022-12-26 04:12:08.141314+00:00'), ('USW00003061', '2016-07-21', 'TMAX', 286.0, NULL, NULL, 'R', NULL, 'ftp://ftp.ncei.noaa.gov/pub/data/ghcn/daily/by_year/2016.csv.gz', '2022-12-26 04:12:08.141314+00:00'), ('USW00054811', '2016-07-22', 'TMAX', 302.0, NULL, NULL, 'R', NULL, 'ftp://ftp.ncei.noaa.gov/pub/data/ghcn/daily/by_year/2016.csv.gz', '2022-12-26 04:12:08.141314+00:00');
-- DBMS: bigquery
CREATE TABLE `bigquery-public-data.ghcn_d.ghcnd_1840`
(
  id STRING NOT NULL,
  date DATE,
  element STRING,
  value FLOAT64,
  mflag STRING,
  qflag STRING,
  sflag STRING,
  time STRING
);

INSERT INTO `bigquery-public-data.ghcn_d.ghcnd_1840` (id, date, element, value, mflag, qflag, sflag, time) VALUES ('USC00361920', '1840-02-08', 'PRCP', 0.0, 'T', NULL, 'F', NULL), ('CA006158350', '1840-10-30', 'PRCP', 0.0, 'T', NULL, 'C', NULL), ('CA006158350', '1840-10-30', 'SNOW', 0.0, 'T', NULL, 'C', NULL), ('CA006158350', '1840-10-24', 'SNOW', 0.0, 'T', NULL, 'C', NULL), ('CA006158350', '1840-05-19', 'PRCP', 0.0, NULL, NULL, 'C', NULL);
-- DBMS: bigquery
CREATE TABLE `bigquery-public-data.ghcn_d.ghcnd_1905`
(
  id STRING NOT NULL,
  date DATE,
  element STRING,
  value FLOAT64,
  mflag STRING,
  qflag STRING,
  sflag STRING,
  time STRING
);

INSERT INTO `bigquery-public-data.ghcn_d.ghcnd_1905` (id, date, element, value, mflag, qflag, sflag, time) VALUES ('RQC00661300', '1905-09-26', 'PRCP', 0.0, NULL, NULL, '0', NULL), ('RQC00661300', '1905-11-25', 'PRCP', 0.0, NULL, NULL, '0', NULL), ('RQC00662634', '1905-12-26', 'PRCP', 0.0, NULL, NULL, '0', NULL), ('RQC00662634', '1905-10-20', 'PRCP', 0.0, NULL, NULL, '0', NULL), ('RQC00662634', '1905-05-17', 'PRCP', 0.0, NULL, NULL, '0', NULL);
-- DBMS: bigquery
CREATE TABLE `bigquery-public-data.ghcn_d.ghcnd_1992`
(
  id STRING NOT NULL,
  date DATE,
  element STRING,
  value FLOAT64,
  mflag STRING,
  qflag STRING,
  sflag STRING,
  time STRING
);

INSERT INTO `bigquery-public-data.ghcn_d.ghcnd_1992` (id, date, element, value, mflag, qflag, sflag, time) VALUES ('USC00291286', '1992-06-26', 'DAEV', 2.0, NULL, NULL, '0', NULL), ('USC00363018', '1992-10-13', 'DAEV', 2.0, NULL, NULL, '0', NULL), ('USW00013802', '1992-08-31', 'DAEV', 3.0, NULL, NULL, '0', NULL), ('USC00296061', '1992-04-27', 'DAEV', 3.0, NULL, NULL, '0', NULL), ('USC00352867', '1992-04-27', 'DAEV', 3.0, NULL, NULL, '0', NULL);
-- DBMS: bigquery
CREATE TABLE `bigquery-public-data.ghcn_d.ghcnd_1838`
(
  id STRING NOT NULL,
  date DATE,
  element STRING,
  value FLOAT64,
  mflag STRING,
  qflag STRING,
  sflag STRING,
  time STRING
);

INSERT INTO `bigquery-public-data.ghcn_d.ghcnd_1838` (id, date, element, value, mflag, qflag, sflag, time) VALUES ('EZE00100082', '1838-03-08', 'PRCP', 0.0, NULL, NULL, 'E', NULL), ('EZE00100082', '1838-05-04', 'PRCP', 0.0, NULL, NULL, 'E', NULL), ('EZE00100082', '1838-05-21', 'PRCP', 0.0, NULL, NULL, 'E', NULL), ('EZE00100082', '1838-06-15', 'PRCP', 0.0, NULL, NULL, 'E', NULL), ('EZE00100082', '1838-08-31', 'PRCP', 0.0, NULL, NULL, 'E', NULL);
-- DBMS: bigquery
CREATE TABLE `bigquery-public-data.ghcn_d.ghcnd_1880`
(
  id STRING NOT NULL,
  date DATE,
  element STRING,
  value FLOAT64,
  mflag STRING,
  qflag STRING,
  sflag STRING,
  time STRING
);

INSERT INTO `bigquery-public-data.ghcn_d.ghcnd_1880` (id, date, element, value, mflag, qflag, sflag, time) VALUES ('USC00314938', '1880-02-02', 'SNWD', 889.0, NULL, 'G', '6', NULL), ('USC00241008', '1880-07-23', 'SNWD', 0.0, NULL, NULL, '0', NULL), ('USC00242778', '1880-06-21', 'SNWD', 0.0, NULL, NULL, '0', NULL), ('USC00308138', '1880-07-28', 'SNWD', 0.0, NULL, NULL, '0', NULL), ('USC00414122', '1880-07-15', 'SNWD', 0.0, NULL, NULL, '0', NULL);
-- DBMS: bigquery
CREATE TABLE `bigquery-public-data.ghcn_d.ghcnd_1879`
(
  id STRING NOT NULL,
  date DATE,
  element STRING,
  value FLOAT64,
  mflag STRING,
  qflag STRING,
  sflag STRING,
  time STRING
);

INSERT INTO `bigquery-public-data.ghcn_d.ghcnd_1879` (id, date, element, value, mflag, qflag, sflag, time) VALUES ('USC00301010', '1879-02-21', 'TMAX', -128.0, NULL, 'I', '0', NULL), ('USC00331662', '1879-01-13', 'TMAX', -50.0, NULL, 'I', '0', NULL), ('USC00338366', '1879-09-24', 'TMAX', 111.0, NULL, 'I', '0', NULL), ('USC00301010', '1879-02-20', 'TMIN', -100.0, NULL, 'I', '0', NULL), ('USC00331662', '1879-01-14', 'TMIN', -39.0, NULL, 'I', '0', NULL);
-- DBMS: bigquery
CREATE TABLE `bigquery-public-data.ghcn_d.ghcnd_1896`
(
  id STRING NOT NULL,
  date DATE,
  element STRING,
  value FLOAT64,
  mflag STRING,
  qflag STRING,
  sflag STRING,
  time STRING
);

INSERT INTO `bigquery-public-data.ghcn_d.ghcnd_1896` (id, date, element, value, mflag, qflag, sflag, time) VALUES ('AG000060590', '1896-03-27', 'PRCP', 0.0, NULL, NULL, 'E', NULL), ('AG000060590', '1896-10-31', 'PRCP', 0.0, NULL, NULL, 'E', NULL), ('AG000060590', '1896-03-15', 'PRCP', 0.0, NULL, NULL, 'E', NULL), ('AG000060590', '1896-04-05', 'PRCP', 0.0, NULL, NULL, 'E', NULL), ('AG000060590', '1896-05-27', 'PRCP', 0.0, NULL, NULL, 'E', NULL);
-- DBMS: bigquery
CREATE TABLE `bigquery-public-data.ghcn_d.ghcnd_1984`
(
  id STRING NOT NULL,
  date DATE,
  element STRING,
  value FLOAT64,
  mflag STRING,
  qflag STRING,
  sflag STRING,
  time STRING
);

INSERT INTO `bigquery-public-data.ghcn_d.ghcnd_1984` (id, date, element, value, mflag, qflag, sflag, time) VALUES ('USW00024225', '1984-07-14', 'ACMH', 0.0, NULL, NULL, 'X', NULL), ('USW00013897', '1984-11-06', 'ACMH', 0.0, NULL, NULL, 'X', NULL), ('USW00012916', '1984-12-07', 'ACMH', 0.0, NULL, NULL, 'X', NULL), ('USW00023237', '1984-05-31', 'ACMH', 0.0, NULL, NULL, 'X', NULL), ('USW00003860', '1984-09-08', 'ACMH', 0.0, NULL, NULL, 'X', NULL);
-- DBMS: bigquery
CREATE TABLE `bigquery-public-data.ghcn_d.ghcnd_1785`
(
  id STRING NOT NULL,
  date DATE,
  element STRING,
  value FLOAT64,
  mflag STRING,
  qflag STRING,
  sflag STRING,
  time STRING
);

INSERT INTO `bigquery-public-data.ghcn_d.ghcnd_1785` (id, date, element, value, mflag, qflag, sflag, time) VALUES ('EZE00100082', '1785-11-20', 'TMAX', 0.0, NULL, NULL, 'E', NULL), ('EZE00100082', '1785-03-19', 'TMAX', 0.0, NULL, NULL, 'E', NULL), ('EZE00100082', '1785-03-24', 'TMAX', 0.0, NULL, NULL, 'E', NULL), ('EZE00100082', '1785-12-19', 'TMAX', 3.0, NULL, NULL, 'E', NULL), ('EZE00100082', '1785-01-23', 'TMAX', 3.0, NULL, NULL, 'E', NULL);
-- DBMS: bigquery
CREATE TABLE `bigquery-public-data.ghcn_d.ghcnd_2003`
(
  id STRING NOT NULL,
  date DATE,
  element STRING,
  value FLOAT64,
  mflag STRING,
  qflag STRING,
  sflag STRING,
  time STRING
)
OPTIONS(
  description="http://www1.ncdc.noaa.gov/pub/data/ghcn/daily/readme.txt"
);

INSERT INTO `bigquery-public-data.ghcn_d.ghcnd_2003` (id, date, element, value, mflag, qflag, sflag, time) VALUES ('RQC00668306', '2003-08-25', 'DAEV', 3.0, NULL, NULL, '0', NULL), ('USC00252741', '2003-10-24', 'DAEV', 4.0, NULL, NULL, '0', NULL), ('USC00419966', '2003-03-23', 'DAEV', 3.0, NULL, NULL, '0', NULL), ('USC00452542', '2003-05-28', 'DAEV', 3.0, NULL, NULL, '0', NULL), ('USC00128723', '2003-10-27', 'DAEV', 2.0, NULL, NULL, '0', NULL);
-- DBMS: bigquery
CREATE TABLE `bigquery-public-data.ghcn_d.ghcnd_1910`
(
  id STRING NOT NULL,
  date DATE,
  element STRING,
  value FLOAT64,
  mflag STRING,
  qflag STRING,
  sflag STRING,
  time STRING
);

INSERT INTO `bigquery-public-data.ghcn_d.ghcnd_1910` (id, date, element, value, mflag, qflag, sflag, time) VALUES ('AGE00135039', '1910-06-29', 'PRCP', 0.0, NULL, NULL, 'E', NULL), ('AGE00135039', '1910-06-04', 'PRCP', 24.0, NULL, NULL, 'E', NULL), ('AGE00135039', '1910-05-16', 'PRCP', 52.0, NULL, NULL, 'E', NULL), ('AGE00135039', '1910-08-08', 'PRCP', 0.0, NULL, NULL, 'E', NULL), ('AGE00135039', '1910-10-26', 'PRCP', 0.0, NULL, NULL, 'E', NULL);
-- DBMS: bigquery
CREATE TABLE `bigquery-public-data.ghcn_d.ghcnd_1855`
(
  id STRING NOT NULL,
  date DATE,
  element STRING,
  value FLOAT64,
  mflag STRING,
  qflag STRING,
  sflag STRING,
  time STRING
);

INSERT INTO `bigquery-public-data.ghcn_d.ghcnd_1855` (id, date, element, value, mflag, qflag, sflag, time) VALUES ('USC00047738', '1855-04-17', 'PRCP', 5.0, NULL, NULL, '0', NULL), ('USC00047738', '1855-04-16', 'PRCP', 15.0, NULL, NULL, '0', NULL), ('USC00047738', '1855-03-30', 'PRCP', 15.0, NULL, NULL, '0', NULL), ('USC00047738', '1855-02-02', 'PRCP', 25.0, NULL, NULL, '0', NULL), ('USC00047738', '1855-02-24', 'PRCP', 25.0, NULL, NULL, '0', NULL);
-- DBMS: bigquery
CREATE TABLE `bigquery-public-data.ghcn_d.ghcnd_1947`
(
  id STRING NOT NULL,
  date DATE,
  element STRING,
  value FLOAT64,
  mflag STRING,
  qflag STRING,
  sflag STRING,
  time STRING
);

INSERT INTO `bigquery-public-data.ghcn_d.ghcnd_1947` (id, date, element, value, mflag, qflag, sflag, time) VALUES ('ASN00009025', '1947-10-20', 'DAPR', 2.0, NULL, NULL, 'a', NULL), ('ASN00016009', '1947-11-03', 'DAPR', 2.0, NULL, NULL, 'a', NULL), ('ASN00016010', '1947-04-21', 'DAPR', 2.0, NULL, NULL, 'a', NULL), ('ASN00016010', '1947-02-10', 'DAPR', 2.0, NULL, NULL, 'a', NULL), ('ASN00016015', '1947-07-21', 'DAPR', 2.0, NULL, NULL, 'a', NULL);
-- DBMS: bigquery
CREATE TABLE `bigquery-public-data.ghcn_d.ghcnd_1802`
(
  id STRING NOT NULL,
  date DATE,
  element STRING,
  value FLOAT64,
  mflag STRING,
  qflag STRING,
  sflag STRING,
  time STRING
);

INSERT INTO `bigquery-public-data.ghcn_d.ghcnd_1802` (id, date, element, value, mflag, qflag, sflag, time) VALUES ('GM000010962', '1802-03-04', 'PRCP', 0.0, NULL, NULL, 'E', NULL), ('GM000010962', '1802-06-25', 'PRCP', 0.0, NULL, NULL, 'E', NULL), ('GM000010962', '1802-11-04', 'PRCP', 0.0, NULL, NULL, 'E', NULL), ('GM000010962', '1802-12-27', 'PRCP', 0.0, NULL, NULL, 'E', NULL), ('GM000010962', '1802-03-20', 'PRCP', 0.0, NULL, NULL, 'E', NULL);
-- DBMS: bigquery
CREATE TABLE `bigquery-public-data.ghcn_d.ghcnd_1951`
(
  id STRING NOT NULL,
  date DATE,
  element STRING,
  value FLOAT64,
  mflag STRING,
  qflag STRING,
  sflag STRING,
  time STRING
);

INSERT INTO `bigquery-public-data.ghcn_d.ghcnd_1951` (id, date, element, value, mflag, qflag, sflag, time) VALUES ('AG000060390', '1951-06-14', 'PRCP', 0.0, NULL, NULL, 'E', NULL), ('AG000060390', '1951-05-20', 'PRCP', 0.0, NULL, NULL, 'E', NULL), ('AG000060390', '1951-03-28', 'PRCP', 0.0, NULL, NULL, 'E', NULL), ('AG000060390', '1951-04-24', 'PRCP', 42.0, NULL, NULL, 'E', NULL), ('AG000060390', '1951-10-15', 'PRCP', 245.0, NULL, NULL, 'E', NULL);
-- DBMS: bigquery
CREATE TABLE `bigquery-public-data.ghcn_d.ghcnd_1814`
(
  id STRING NOT NULL,
  date DATE,
  element STRING,
  value FLOAT64,
  mflag STRING,
  qflag STRING,
  sflag STRING,
  time STRING
);

INSERT INTO `bigquery-public-data.ghcn_d.ghcnd_1814` (id, date, element, value, mflag, qflag, sflag, time) VALUES ('EZE00100082', '1814-01-22', 'PRCP', 0.0, NULL, NULL, 'E', NULL), ('EZE00100082', '1814-03-18', 'PRCP', 0.0, NULL, NULL, 'E', NULL), ('EZE00100082', '1814-04-09', 'PRCP', 0.0, NULL, NULL, 'E', NULL), ('EZE00100082', '1814-04-29', 'PRCP', 0.0, NULL, NULL, 'E', NULL), ('EZE00100082', '1814-08-20', 'PRCP', 0.0, NULL, NULL, 'E', NULL);
-- DBMS: bigquery
CREATE TABLE `bigquery-public-data.ghcn_d.ghcnd_2015`
(
  id STRING NOT NULL OPTIONS(description=""),
  date DATE,
  element STRING,
  value FLOAT64,
  mflag STRING,
  qflag STRING,
  sflag STRING,
  time STRING
)
OPTIONS(
  description="http://www1.ncdc.noaa.gov/pub/data/ghcn/daily/readme.txt"
);

INSERT INTO `bigquery-public-data.ghcn_d.ghcnd_2015` (id, date, element, value, mflag, qflag, sflag, time) VALUES ('USS0005N04S', '2015-01-11', 'AWDR', 260.0, NULL, NULL, 'T', NULL), ('USS0005N04S', '2015-10-06', 'AWDR', 200.0, NULL, NULL, 'T', NULL), ('USS0005N04S', '2015-06-06', 'AWDR', 190.0, NULL, NULL, 'T', NULL), ('USS0005N04S', '2015-05-22', 'AWDR', 187.0, NULL, NULL, 'T', NULL), ('USS0005N04S', '2015-03-12', 'AWDR', 151.0, NULL, NULL, 'T', NULL);
-- DBMS: bigquery
CREATE TABLE `bigquery-public-data.ghcn_d.ghcnd_1793`
(
  id STRING NOT NULL,
  date DATE,
  element STRING,
  value FLOAT64,
  mflag STRING,
  qflag STRING,
  sflag STRING,
  time STRING
);

INSERT INTO `bigquery-public-data.ghcn_d.ghcnd_1793` (id, date, element, value, mflag, qflag, sflag, time) VALUES ('EZE00100082', '1793-12-05', 'TMAX', 0.0, NULL, NULL, 'E', NULL), ('EZE00100082', '1793-01-02', 'TMAX', 4.0, NULL, NULL, 'E', NULL), ('EZE00100082', '1793-01-14', 'TMAX', -4.0, NULL, NULL, 'E', NULL), ('EZE00100082', '1793-03-27', 'TMAX', 6.0, NULL, NULL, 'E', NULL), ('EZE00100082', '1793-01-07', 'TMAX', -7.0, NULL, NULL, 'E', NULL);
-- DBMS: bigquery
CREATE TABLE `bigquery-public-data.ghcn_d.ghcnd_1906`
(
  id STRING NOT NULL,
  date DATE,
  element STRING,
  value FLOAT64,
  mflag STRING,
  qflag STRING,
  sflag STRING,
  time STRING
);

INSERT INTO `bigquery-public-data.ghcn_d.ghcnd_1906` (id, date, element, value, mflag, qflag, sflag, time) VALUES ('USC00133290', '1906-03-01', 'MDPR', 0.0, NULL, NULL, '0', NULL), ('USC00133473', '1906-03-01', 'MDPR', 0.0, NULL, NULL, '0', NULL), ('RQC00660158', '1906-05-27', 'PRCP', 0.0, NULL, NULL, '0', NULL), ('RQC00660158', '1906-08-31', 'PRCP', 0.0, NULL, NULL, '0', NULL), ('RQC00660158', '1906-05-22', 'PRCP', 0.0, NULL, NULL, '0', NULL);
-- DBMS: bigquery
CREATE TABLE `bigquery-public-data.ghcn_d.ghcnd_1843`
(
  id STRING NOT NULL,
  date DATE,
  element STRING,
  value FLOAT64,
  mflag STRING,
  qflag STRING,
  sflag STRING,
  time STRING
);

INSERT INTO `bigquery-public-data.ghcn_d.ghcnd_1843` (id, date, element, value, mflag, qflag, sflag, time) VALUES ('CA006158350', '1843-06-27', 'PRCP', 0.0, 'T', NULL, 'C', NULL), ('CA006158350', '1843-05-06', 'PRCP', 0.0, NULL, NULL, 'C', NULL), ('CA006158350', '1843-05-14', 'PRCP', 0.0, NULL, NULL, 'C', NULL), ('CA006158350', '1843-05-25', 'PRCP', 0.0, NULL, NULL, 'C', NULL), ('CA006158350', '1843-06-12', 'PRCP', 0.0, NULL, NULL, 'C', NULL);
-- DBMS: bigquery
CREATE TABLE `bigquery-public-data.ghcn_d.ghcnd_1834`
(
  id STRING NOT NULL,
  date DATE,
  element STRING,
  value FLOAT64,
  mflag STRING,
  qflag STRING,
  sflag STRING,
  time STRING
);

INSERT INTO `bigquery-public-data.ghcn_d.ghcnd_1834` (id, date, element, value, mflag, qflag, sflag, time) VALUES ('EZE00100082', '1834-08-12', 'PRCP', 0.0, NULL, NULL, 'E', NULL), ('EZE00100082', '1834-08-20', 'PRCP', 0.0, NULL, NULL, 'E', NULL), ('EZE00100082', '1834-10-28', 'PRCP', 0.0, NULL, NULL, 'E', NULL), ('EZE00100082', '1834-11-15', 'PRCP', 0.0, NULL, NULL, 'E', NULL), ('EZE00100082', '1834-02-09', 'PRCP', 0.0, NULL, NULL, 'E', NULL);
-- DBMS: bigquery
CREATE TABLE `bigquery-public-data.ghcn_d.ghcnd_1971`
(
  id STRING NOT NULL,
  date DATE,
  element STRING,
  value FLOAT64,
  mflag STRING,
  qflag STRING,
  sflag STRING,
  time STRING
);

INSERT INTO `bigquery-public-data.ghcn_d.ghcnd_1971` (id, date, element, value, mflag, qflag, sflag, time) VALUES ('AG000060390', '1971-04-20', 'PRCP', 9.0, NULL, NULL, 'E', NULL), ('AG000060390', '1971-01-05', 'PRCP', 12.0, NULL, NULL, 'E', NULL), ('AG000060390', '1971-02-10', 'PRCP', 52.0, NULL, NULL, 'E', NULL), ('AG000060390', '1971-10-20', 'PRCP', 0.0, NULL, NULL, 'E', NULL), ('AG000060390', '1971-07-23', 'PRCP', 0.0, NULL, NULL, 'E', NULL);
-- DBMS: bigquery
CREATE TABLE `bigquery-public-data.ghcn_d.ghcnd_1863`
(
  id STRING NOT NULL,
  date DATE,
  element STRING,
  value FLOAT64,
  mflag STRING,
  qflag STRING,
  sflag STRING,
  time STRING
);

INSERT INTO `bigquery-public-data.ghcn_d.ghcnd_1863` (id, date, element, value, mflag, qflag, sflag, time) VALUES ('AGE00135039', '1863-02-18', 'TMAX', 100.0, NULL, 'I', 'E', NULL), ('EIE00101859', '1863-08-02', 'TMAX', 44.0, NULL, 'O', 'E', NULL), ('ITE00100554', '1863-12-03', 'TMAX', -2.0, NULL, 'I', 'E', NULL), ('AGE00135039', '1863-02-17', 'TMIN', 115.0, NULL, 'I', 'E', NULL), ('EZE00100082', '1863-12-31', 'TMIN', -75.0, NULL, 'I', 'E', NULL);
-- DBMS: bigquery
CREATE TABLE `bigquery-public-data.ghcn_d.ghcnd_1926`
(
  id STRING NOT NULL,
  date DATE,
  element STRING,
  value FLOAT64,
  mflag STRING,
  qflag STRING,
  sflag STRING,
  time STRING
);

INSERT INTO `bigquery-public-data.ghcn_d.ghcnd_1926` (id, date, element, value, mflag, qflag, sflag, time) VALUES ('ASN00007067', '1926-03-18', 'DAPR', 4.0, NULL, NULL, 'a', NULL), ('ASN00008058', '1926-08-02', 'DAPR', 2.0, NULL, NULL, 'a', NULL), ('ASN00009030', '1926-08-23', 'DAPR', 2.0, NULL, NULL, 'a', NULL), ('ASN00009055', '1926-07-19', 'DAPR', 2.0, NULL, NULL, 'a', NULL), ('ASN00009557', '1926-07-12', 'DAPR', 2.0, NULL, NULL, 'a', NULL);
-- DBMS: bigquery
CREATE TABLE `bigquery-public-data.ghcn_d.ghcnd_1875`
(
  id STRING NOT NULL,
  date DATE,
  element STRING,
  value FLOAT64,
  mflag STRING,
  qflag STRING,
  sflag STRING,
  time STRING
);

INSERT INTO `bigquery-public-data.ghcn_d.ghcnd_1875` (id, date, element, value, mflag, qflag, sflag, time) VALUES ('USC00034251', '1875-03-31', 'DAPR', 2.0, NULL, NULL, '0', NULL), ('USC00034251', '1875-05-28', 'DAPR', 7.0, NULL, NULL, '0', NULL), ('USC00034251', '1875-04-24', 'DAPR', 16.0, NULL, NULL, '0', NULL), ('USC00034251', '1875-02-28', 'DAPR', 28.0, NULL, NULL, '0', NULL), ('USC00034251', '1875-03-31', 'MDPR', 612.0, NULL, NULL, '0', NULL);
-- DBMS: bigquery
CREATE TABLE `bigquery-public-data.ghcn_d.ghcnd_1930`
(
  id STRING NOT NULL,
  date DATE,
  element STRING,
  value FLOAT64,
  mflag STRING,
  qflag STRING,
  sflag STRING,
  time STRING
);

INSERT INTO `bigquery-public-data.ghcn_d.ghcnd_1930` (id, date, element, value, mflag, qflag, sflag, time) VALUES ('ASN00009023', '1930-06-30', 'DAPR', 2.0, NULL, NULL, 'a', NULL), ('ASN00009055', '1930-08-18', 'DAPR', 2.0, NULL, NULL, 'a', NULL), ('ASN00009693', '1930-03-26', 'DAPR', 2.0, NULL, NULL, 'a', NULL), ('ASN00010016', '1930-06-02', 'DAPR', 2.0, NULL, NULL, 'a', NULL), ('ASN00010140', '1930-07-06', 'DAPR', 2.0, NULL, NULL, 'a', NULL);
-- DBMS: bigquery
CREATE TABLE `bigquery-public-data.ghcn_d.ghcnd_2023`
(
  id STRING NOT NULL OPTIONS(description=""),
  date DATE OPTIONS(description=""),
  element STRING OPTIONS(description=""),
  value FLOAT64 OPTIONS(description=""),
  mflag STRING OPTIONS(description=""),
  qflag STRING OPTIONS(description=""),
  sflag STRING OPTIONS(description=""),
  time STRING OPTIONS(description=""),
  source_url STRING OPTIONS(description="Source "),
  etl_timestamp TIMESTAMP OPTIONS(description="Load time for this data row")
);

INSERT INTO `bigquery-public-data.ghcn_d.ghcnd_2023` (id, date, element, value, mflag, qflag, sflag, time, source_url, etl_timestamp) VALUES ('US1COEP0384', '2023-12-11', 'SNOW', 0.0, NULL, NULL, 'N', '0747', 'http://www.ncei.noaa.gov/pub/data/ghcn/daily/by_year/2023.csv.gz', '2024-09-25 02:36:11.101393+00:00'), ('USC00283951', '2023-12-11', 'TMAX', 172.0, NULL, NULL, '7', '0700', 'http://www.ncei.noaa.gov/pub/data/ghcn/daily/by_year/2023.csv.gz', '2024-09-25 02:36:11.101393+00:00'), ('USC00230608', '2023-12-11', 'TMIN', -61.0, NULL, NULL, '7', '0500', 'http://www.ncei.noaa.gov/pub/data/ghcn/daily/by_year/2023.csv.gz', '2024-09-25 02:36:11.101393+00:00'), ('USC00213812', '2023-12-11', 'SNOW', 0.0, NULL, NULL, '7', '0700', 'http://www.ncei.noaa.gov/pub/data/ghcn/daily/by_year/2023.csv.gz', '2024-09-25 02:36:11.101393+00:00'), ('USC00123146', '2023-12-11', 'TMAX', 111.0, NULL, NULL, '7', '0700', 'http://www.ncei.noaa.gov/pub/data/ghcn/daily/by_year/2023.csv.gz', '2024-09-25 02:36:11.101393+00:00');
-- DBMS: bigquery
CREATE TABLE `bigquery-public-data.ghcn_d.ghcnd_1988`
(
  id STRING NOT NULL,
  date DATE,
  element STRING,
  value FLOAT64,
  mflag STRING,
  qflag STRING,
  sflag STRING,
  time STRING
);

INSERT INTO `bigquery-public-data.ghcn_d.ghcnd_1988` (id, date, element, value, mflag, qflag, sflag, time) VALUES ('USW00003940', '1988-11-28', 'ACMH', 0.0, NULL, NULL, 'X', NULL), ('USW00024023', '1988-09-04', 'ACMH', 0.0, NULL, NULL, 'X', NULL), ('USW00013988', '1988-06-12', 'ACMH', 0.0, NULL, NULL, 'X', NULL), ('USW00013970', '1988-10-11', 'ACMH', 0.0, NULL, NULL, 'X', NULL), ('USW00024131', '1988-08-24', 'ACMH', 0.0, NULL, NULL, 'X', NULL);