-- DBMS: snowflake
CREATE TABLE US_ADDRESSES__POI.CYBERSYN.CYBERSYN_DATA_CATALOG (
    DATA_SOURCE ARRAY,
    LICENSE_URL ARRAY,
    CREATED_DATE DATE,
    LISTING_NAME ARRAY,
    TABLE_NAME_PROPER TEXT,
    LAST_UPDATED_TIMESTAMP TIMESTAMP_TZ,
    DESCRIPTION TEXT,
    TABLE_TYPE TEXT,
    SELECT_RELATED_TABLES ARRAY,
    DOCUMENTATION_URL TEXT,
    SHORT_DESCRIPTION TEXT,
    DATA_SOURCE_URL ARRAY,
    ENTITIES ARRAY,
    LISTING_URL ARRAY,
    TABLE_NAME TEXT
);

INSERT INTO "US_ADDRESSES__POI"."CYBERSYN"."CYBERSYN_DATA_CATALOG" (DATA_SOURCE, LICENSE_URL, CREATED_DATE, LISTING_NAME, TABLE_NAME_PROPER, LAST_UPDATED_TIMESTAMP, DESCRIPTION, TABLE_TYPE, SELECT_RELATED_TABLES, DOCUMENTATION_URL, SHORT_DESCRIPTION, DATA_SOURCE_URL, ENTITIES, LISTING_URL, TABLE_NAME) VALUES ('[
  "US Department of Transportation (DOT)"
]', '[
  "https://www.transportation.gov/data"
]', '2024-07-29', '[
  "Global Government",
  "Financials & Economics: Enterprise "
]', 'Aircraft Carrier Index', '2024-08-19 22:26:27.018000+00:00', 'The Aircraft Carrier Index table provides a list of airline carriers, including their unique identification codes, names, and key operational details.', 'index', '[
  "us_department_of_transportation_timeseries"
]', NULL, 'List of airline carriers, including their unique identification codes, names, and key operational details.', '[
  "https://www.bts.gov/browse-statistical-products-and-data/bts-publications/data-bank-28ds-t-100-domestic-segment-data"
]', NULL, '[
  "https://app.snowflake.com/marketplace/listing/GZTSZAS2KGK",
  "https://app.snowflake.com/marketplace/listing/GZTSZ290BUX66"
]', 'aircraft_carrier_index'), ('[
  "US Census Bureau (CB)"
]', '[
  "https://www.census.gov/data/developers/about/terms-of-service.html"
]', '2023-10-02', '[
  "Global Government",
  "Financials & Economics: Enterprise "
]', 'American Community Survey (ACS) Population Attributes', '2024-03-18 19:25:40.494000+00:00', 'Population variables covering demographic, social, economic, and housing trends in the US, releasing 1-year and 5-year estimates annually.

The US Census Bureau''s American Community Survey (ACS) is an annual survey based on a subset of the population (unlike the decennial census, which aims to count every individual). The ACS provides data at various geographic levels. They provide 1-year and 5-year estimates on a rolling basis (e.g., a 5-year estimate in 2022 would be based on data collected between January 1, 2018 and December 31, 2022). 1-year estimates are available for areas with populations of 65,000+. 5-year estimates are available for all areas.

Provides a wide format breakdown of variables included in the american_community_survey_timeseries table. The ACS Series ID is provided for reference.', 'attributes', '[
  "american_community_survey_timeseries"
]', 'https://docs.cybersyn.com/public-domain-sources/us-census-bureau', 'Population variables covering demographic, social, economic, and housing trends in the US, releasing 1-year and 5-year estimates annually.', '[
  "https://www.census.gov/programs-surveys/acs/about.html"
]', NULL, '[
  "https://app.snowflake.com/marketplace/listing/GZTSZAS2KGK",
  "https://app.snowflake.com/marketplace/listing/GZTSZ290BUX66"
]', 'american_community_survey_attributes'), ('[
  "Bank for International Settlements (BIS)"
]', '[
  "https://www.bis.org/terms_statistics.htm"
]', '2023-11-22', '[
  "Finance & Economics",
  "Financials & Economics: Enterprise "
]', 'BIS International Financial Statistics Attributes', '2024-08-29 09:01:48.214000+00:00', 'Financial variables on international property prices, central bank policy rates, banking activities and risks, credit availabity to the non-financial sector, liquidity, and consumer prices from the BIS, a central bank for other central banks.

The Bank for International Settlements (BIS) is an international financial organization that provides data series on Property Prices (real estate market trends), Central Bank Policy Rates (global monetary policy), Locational and Consolidated Banking Statistics (international banking activities and risks), Credit to the Non-Financial Sector (credit availability), Global Liquidity Indicators, and Consumer Prices (inflationary activity).

Provides a wide format breakdown of variables included in the bank_for_international_settlements_timeseries table. The BIS Series ID is provided for reference.', 'attributes', '[
  "bank_for_international_settlements_timeseries",
  "geography_index",
  "fx_rates_timeseries"
]', 'https://docs.cybersyn.com/public-domain-sources/bank-for-international-settlements', 'Financial variables on international property prices, central bank policy rates, banking activities and risks, credit availabity to the non-financial sector, liquidity, and consumer prices from the BIS, a central bank for other central banks.', '[
  "https://www.bis.org/statistics/index.htm?m=205"
]', '[
  "geo_id"
]', '[
  "https://app.snowflake.com/marketplace/listing/GZTSZAS2KF7",
  "https://app.snowflake.com/marketplace/listing/GZTSZ290BUX66"
]', 'bank_for_international_settlements_attributes'), ('[
  "Bureau of Labor Statistics (BLS)"
]', '[
  "https://www.bls.gov/bls/linksite.htm"
]', '2023-06-13', '[
  "Finance & Economics",
  "Financials & Economics: Enterprise "
]', 'BLS Employment Statistics Attributes', '2024-08-28 15:28:45.891000+00:00', 'Employment, job openings, labor turnover, and wages tracked across US regions in the LAUS, JOLTS, and SAE reports from the BLS.

The US Bureau of Labor Statistics (BLS) produces granular employment reports: Local Area Unemployment Statistics (LAUS) provides monthly and annual employment, unemployment, and labor force data for states and localities; Job Openings and Labor Turnover Survey (JOLTS) covers labor demand and turnover rates, including data on job openings, hires, and separations; and State and Metro Employment (SAE) delivers employment and wage data across various industries at state and metropolitan levels.

Provides a wide format breakdown of variables included in the bureau_of_labor_statistics_employment_timeseries table. The BLS report is provided for reference. Additionally, variables are defined by seasonal adjustment, related industry, and size of the establishment referenced.', 'attributes', '[
  "bureau_of_labor_statistics_employment_timeseries"
]', 'https://docs.cybersyn.com/public-domain-sources/us-bureau-of-labor-statistics', 'Employment, job openings, labor turnover, and wages tracked across US regions in the LAUS, JOLTS, and SAE reports from the BLS.', '[
  "https://www.bls.gov/"
]', NULL, '[
  "https://app.snowflake.com/marketplace/listing/GZTSZAS2KF7",
  "https://app.snowflake.com/marketplace/listing/GZTSZ290BUX66"
]', 'bureau_of_labor_statistics_employment_attributes'), ('[
  "Bureau of Labor Statistics (BLS)"
]', '[
  "https://www.bls.gov/bls/linksite.htm"
]', '2023-06-13', '[
  "Finance & Economics",
  "Financials & Economics: Enterprise "
]', 'BLS Consumer Price Index (CPI) Statistics Timeseries', '2024-08-28 15:28:46.898000+00:00', 'US CPI and average price data, measuring average change in prices paid by consumers for goods and services over time and thus inflation, at the country, region, division, and CBSA levels, reported by the Bureau of Labor Statistics.

The US Bureau of Labor Statistics (BLS) releases the Consumer Price Index (CPI) report, which measures the average change in prices paid by consumers for goods and services over time. This report serves as a key indicator of inflation. The Average Price report provides estimates of price levels (i.e. average price paid by the consumer for a good or service).

Each row represents a distinct timeseries from the CPI & Average Price BLS reports, date, and value by geographic entity, joinable to Cybersyn''s geography entity tables. Each variable is detailed in the bureau_of_labor_statistics_price_attributes table.', 'timeseries', '[
  "bureau_of_labor_statistics_price_attributes",
  "geography_index"
]', 'https://docs.cybersyn.com/public-domain-sources/us-bureau-of-labor-statistics', NULL, '[
  "https://www.bls.gov/"
]', '[
  "geo_id"
]', '[
  "https://app.snowflake.com/marketplace/listing/GZTSZAS2KF7",
  "https://app.snowflake.com/marketplace/listing/GZTSZ290BUX66"
]', 'bureau_of_labor_statistics_price_timeseries');