-- DBMS: snowflake
CREATE TABLE WEATHER__ENVIRONMENT.CYBERSYN.FEMA_DISASTER_DECLARATION_AREAS_INDEX (
    STATE_GEO_ID TEXT,
    DECLARED_PROGRAMS_DETAILED ARRAY,
    FEMA_REGION_ID NUMBER,
    DESIGNATED_DATE DATE,
    DISASTER_DECLARATION_RECORD_ID TEXT,
    FEMA_PLACE_CODE TEXT,
    ENTRY_DATE DATE,
    DISASTER_ID TEXT,
    FEMA_DESIGNATED_AREA TEXT,
    TRIBAL_REQUEST BOOLEAN,
    CLOSEOUT_DATE DATE,
    COUNTY_GEO_ID TEXT,
    UPDATE_DATE DATE
);

INSERT INTO "WEATHER__ENVIRONMENT"."CYBERSYN"."FEMA_DISASTER_DECLARATION_AREAS_INDEX" (STATE_GEO_ID, DECLARED_PROGRAMS_DETAILED, FEMA_REGION_ID, DESIGNATED_DATE, DISASTER_DECLARATION_RECORD_ID, FEMA_PLACE_CODE, ENTRY_DATE, DISASTER_ID, FEMA_DESIGNATED_AREA, TRIBAL_REQUEST, CLOSEOUT_DATE, COUNTY_GEO_ID, UPDATE_DATE) VALUES ('geoId/27', '[
  "Direct Federal Assistance",
  "Hazard Mitigation",
  "Public Assistance",
  "Debris Removal",
  "Protective Measures",
  "Roads & Bridges",
  "Water Control Facilities",
  "Public Buildings",
  "Public Utilities",
  "Recreational or Other",
  "Public Utilities",
  "Protective Measures",
  "Direct Federal Assistance",
  "Recreational or Other",
  "Water Control Facilities",
  "Debris Removal",
  "Public Buildings",
  "Public Assistance",
  "Hazard Mitigation",
  "Roads & Bridges"
]', 5, '2011-05-10', 'f8c10df3-f85a-4a84-be40-6b71a1c64d7b', '99139', '2011-05-10', '1982', 'Scott (County)', False, '2019-09-04', 'geoId/27139', '2011-05-10'), ('geoId/27', '[
  "Direct Federal Assistance",
  "Hazard Mitigation",
  "Public Assistance",
  "Debris Removal",
  "Protective Measures",
  "Roads & Bridges",
  "Water Control Facilities",
  "Public Buildings",
  "Public Utilities",
  "Recreational or Other",
  "Water Control Facilities",
  "Hazard Mitigation",
  "Direct Federal Assistance",
  "Recreational or Other",
  "Debris Removal",
  "Roads & Bridges",
  "Public Assistance",
  "Public Utilities",
  "Public Buildings",
  "Protective Measures"
]', 5, '2011-05-10', '0ed6b332-f7e0-4cec-ab06-47fb1936d618', '99027', '2011-05-10', '1982', 'Clay (County)', False, '2019-09-04', 'geoId/27027', '2011-05-10'), ('geoId/39', '[
  "Hazard Mitigation",
  "Public Assistance",
  "Debris Removal",
  "Protective Measures",
  "Roads & Bridges",
  "Water Control Facilities",
  "Public Buildings",
  "Public Utilities",
  "Recreational or Other",
  "Recreational or Other",
  "Hazard Mitigation",
  "Protective Measures",
  "Roads & Bridges",
  "Public Buildings",
  "Debris Removal",
  "Public Utilities",
  "Water Control Facilities",
  "Public Assistance"
]', 5, '2011-07-13', 'bc9c3598-89bb-43b8-8e1e-46e9327f4357', '99059', '2011-07-13', '4002', 'Guernsey (County)', False, '2019-09-03', 'geoId/39059', '2011-07-13'), ('geoId/29', '[
  "Direct Federal Assistance",
  "Protective Measures",
  "Direct Federal Assistance"
]', 7, '2008-03-19', '9ab63b65-3fa0-445f-b5e8-d5fb913eec6e', '99007', '2008-03-20', '1749', 'Audrain (County)', False, '2015-05-21', 'geoId/29007', '2008-03-27'), ('geoId/38', '[
  "Crisis Counseling",
  "Disaster Housing",
  "Disaster Unemployment Assist.",
  "Individual Assistance",
  "Individual & Family Grant",
  "Public Assistance",
  "Public Assistance",
  "Crisis Counseling",
  "Disaster Housing",
  "Individual & Family Grant",
  "Individual Assistance",
  "Disaster Unemployment Assist."
]', 8, '2000-06-27', '4d57359c-09a1-4fa5-87c6-da211eaabec8', '99049', '2000-06-27', '1334', 'McHenry (County)', False, '2010-08-10', 'geoId/38049', '2001-06-01');