Skip to content
Snippets Groups Projects
Commit 6f13e3cc authored by Fadi Gattoussi's avatar Fadi Gattoussi
Browse files

Added airlines and destination_cities json files

parent 0f6d6f6c
No related branches found
No related tags found
No related merge requests found
# Shared data to GUI
import random
import pandas as pd
import json
destinations = ["Tunis", "Paris", "Moscow"]
airlines = ["Air Tunisia", "Air France", "Lufthansa", "Air Zimbabwe"]
model_years = list(i for i in range(2015, 2023))
delaytime = []
with open('destination_cities.json', 'r') as f:
destinations = json.load(f)
with open('airlines.json', 'r') as f:
airlines = json.load(f)
model_years = list(i for i in range(2018, 2023))
selected_day = list(range(366))
delay = list(random.random() for _ in range(366))
delay = list(delaytime)
# Shared Data from GUI
GUI_selections = {"date": "", "airline": "", "destination": "", "years to model": ""}
File added
["Endeavor Air Inc.", "JetBlue Airways", "ExpressJet Airlines Inc.", "Allegiant Air", "Hawaiian Airlines Inc.", "Spirit Air Lines", "SkyWest Airlines Inc.", "Frontier Airlines Inc.", "Empire Airlines Inc.", "Southwest Airlines Co.", "Mesa Airlines Inc.", "Republic Airlines", "Delta Air Lines Inc.", "United Air Lines Inc.", "Alaska Airlines Inc.", "Horizon Air", "Commutair Aka Champlain Enterprises, Inc.", "Trans States Airlines", "GoJet Airlines, LLC d/b/a United Express", "Air Wisconsin Airlines Corp", "Cape Air", "Compass Airlines", "Virgin America", "Peninsula Airways Inc.", "Envoy Air", "American Airlines Inc.", "Comair Inc.", "Capital Cargo International"]
\ No newline at end of file
["Atlanta, GA", "Albany, GA", "Mobile, AL", "Evansville, IN", "Detroit, MI", "Jacksonville/Camp Lejeune, NC", "Boston, MA", "Syracuse, NY", "New Bern/Morehead/Beaufort, NC", "Montgomery, AL", "New York, NY", "Minneapolis, MN", "Cleveland, OH", "Charlotte, NC", "Fayetteville, NC", "St. Louis, MO", "Columbus, OH", "Indianapolis, IN", "Knoxville, TN", "Mosinee, WI", "Alexandria, LA", "Killeen, TX", "San Antonio, TX", "Peoria, IL", "Houston, TX", "Dallas/Fort Worth, TX", "Richmond, VA", "Portland, ME", "Kalamazoo, MI", "Cincinnati, OH", "Bristol/Johnson City/Kingsport, TN", "Washington, DC", "Asheville, NC", "Baton Rouge, LA", "Buffalo, NY", "Grand Rapids, MI", "Bismarck/Mandan, ND", "Chattanooga, TN", "Traverse City, MI", "Fort Smith, AR", "Burlington, VT", "Kansas City, MO", "Green Bay, WI", "Tulsa, OK", "Valdosta, GA", "Charleston/Dunbar, WV", "Fayetteville, AR", "Rochester, NY", "Savannah, GA", "Roanoke, VA", "Harrisburg, PA", "New Orleans, LA", "Nashville, TN", "Raleigh/Durham, NC", "Milwaukee, WI", "Gainesville, FL", "Tampa, FL", "Greensboro/High Point, NC", "Charlottesville, VA", "Bangor, ME", "Grand Forks, ND", "Brunswick, GA", "Memphis, TN", "Wilmington, NC", "Bloomington/Normal, IL", "Norfolk, VA", "Manchester, NH", "Dayton, OH", "Greer, SC", "Lexington, KY", "Louisville, KY", "Hartford, CT", "Saginaw/Bay City/Midland, MI", "Minot, ND", "Columbia, SC", "Columbus, GA", "Des Moines, IA", "Dothan, AL", "Elmira/Corning, NY", "Pittsburgh, PA", "Jacksonville, FL", "Chicago, IL", "Springfield, MO", "Shreveport, LA", "Huntsville, AL", "Omaha, NE", "Tallahassee, FL", "Madison, WI", "Lansing, MI", "Baltimore, MD", "Charleston, SC", "Little Rock, AR", "Fort Myers, FL", "Orlando, FL", "Fargo, ND", "Appleton, WI", "Akron, OH", "Harlingen/San Benito, TX", "White Plains, NY", "Philadelphia, PA", "Moline, IL", "Aguadilla, PR", "San Francisco, CA", "Newark, NJ", "Fort Lauderdale, FL", "Salt Lake City, UT", "Ponce, PR", "San Jose, CA", "Long Beach, CA", "Las Vegas, NV", "Los Angeles, CA", "West Palm Beach/Palm Beach, FL", "San Juan, PR", "Sarasota/Bradenton, FL", "Austin, TX", "Newburgh/Poughkeepsie, NY", "Denver, CO", "Seattle, WA", "Providence, RI", "Sacramento, CA", "Charlotte Amalie, VI", "Portland, OR", "Worcester, MA", "San Diego, CA", "Reno, NV", "Albany, NY", "Phoenix, AZ", "Oakland, CA", "Palm Springs, CA", "Christiansted, VI", "Burbank, CA", "Daytona Beach, FL", "Albuquerque, NM", "Brownsville, TX", "El Paso, TX", "Oklahoma City, OK", "Gulfport/Biloxi, MS", "South Bend, IN", "Mission/McAllen/Edinburg, TX", "Lake Charles, LA", "Lafayette, LA", "Myrtle Beach, SC", "Rochester, MN", "Lincoln, NE", "Birmingham, AL", "Augusta, GA", "Jackson/Vicksburg, MS", "Cedar Rapids/Iowa City, IA", "Panama City, FL", "Valparaiso, FL", "Key West, FL", "Allentown/Bethlehem/Easton, PA", "Sanford, FL", "Billings, MT", "Flint, MI", "Missoula, MT", "Idaho Falls, ID", "Stockton, CA", "Toledo, OH", "Sioux Falls, SD", "Ashland, WV", "Fresno, CA", "Eugene, OR", "Bellingham, WA", "Punta Gorda, FL", "St. Cloud, MN", "St. Petersburg, FL", "Plattsburgh, NY", "Ogdensburg, NY", "Concord, NC", "Springfield, IL", "Provo, UT", "Montrose/Delta, CO", "Fort Wayne, IN", "Portsmouth, NH", "Trenton, NJ", "Niagara Falls, NY", "Belleville, IL", "Rockford, IL", "Ogden, UT", "Boise, ID", "Medford, OR", "Great Falls, MT", "Pasco/Kennewick/Richland, WA", "Wichita, KS", "Grand Island, NE", "Monterey, CA", "Grand Junction, CO", "Laredo, TX", "Rapid City, SD", "Kalispell, MT", "Santa Maria, CA", "Bozeman, MT", "Hagerstown, MD", "Clarksburg/Fairmont, WV", "Colorado Springs, CO", "Owensboro, KY", "Honolulu, HI", "Kahului, HI", "Kona, HI", "Lihue, HI", "Hilo, HI", "Columbia, MO", "Casper, WY", "Scranton/Wilkes-Barre, PA", "Tucson, AZ", "Bend/Redmond, OR", "Santa Barbara, CA", "Aspen, CO", "Ontario, CA", "Helena, MT", "Sun Valley/Hailey/Ketchum, ID", "Durango, CO", "Williston, ND", "Arcata/Eureka, CA", "San Luis Obispo, CA", "Mammoth Lakes, CA", "Spokane, WA", "Jackson, WY", "Santa Rosa, CA", "Santa Ana, CA", "Redding, CA", "Bakersfield, CA", "Hayden, CO", "Midland/Odessa, TX", "Ithaca/Cortland, NY", "Lewiston, ID", "Pocatello, ID", "Aberdeen, SD", "Cody, WY", "Alpena, MI", "Escanaba, MI", "Pellston, MI", "Bemidji, MN", "Brainerd, MN", "Butte, MT", "Cedar City, UT", "St. George, UT", "Sault Ste. Marie, MI", "Marquette, MI", "Elko, NV", "Hibbing, MN", "Binghamton, NY", "Twin Falls, ID", "Rhinelander, WI", "International Falls, MN", "Iron Mountain/Kingsfd, MI", "Dallas, TX", "Columbus, MS", "Monroe, LA", "State College, PA", "Erie, PA", "La Crosse, WI", "Duluth, MN", "Muskegon, MI", "Pueblo, CO", "Hancock/Houghton, MI", "Paducah, KY", "Quincy, IL", "Rock Springs, WY", "Jamestown, ND", "Devils Lake, ND", "Laramie, WY", "Gillette, WY", "Eau Claire, WI", "Hays, KS", "Eagle, CO", "Cape Girardeau, MO", "North Bend/Coos Bay, OR", "Amarillo, TX", "Miami, FL", "Islip, NY", "Pago Pago, TT", "Hoolehua, HI", "Lanai, HI", "Kapalua, HI", "Atlantic City, NJ", "Latrobe, PA", "Lubbock, TX", "Pensacola, FL", "Corpus Christi, TX", "Melbourne, FL", "Fairbanks, AK", "Anchorage, AK", "Newport News/Williamsburg, VA", "Guam, TT", "Gunnison, CO", "Bethel, AK", "Kodiak, AK", "Deadhorse, AK", "Barrow, AK", "Ketchikan, AK", "Juneau, AK", "Sitka, AK", "Petersburg, AK", "Wrangell, AK", "Nome, AK", "Kotzebue, AK", "Yakutat, AK", "Cordova, AK", "Adak Island, AK", "Yakima, WA", "Santa Fe, NM", "Champaign/Urbana, IL", "Dickinson, ND", "Saipan, TT", "Rota, TT", "Walla Walla, WA", "Wenatchee, WA", "Pullman, WA", "College Station/Bryan, TX", "Hobbs, NM", "Youngstown/Warren, OH", "Unalaska, AK", "Scottsbluff, NE", "Nantucket, MA", "Martha's Vineyard, MA", "Branson, MO", "Tyler, TX", "San Angelo, TX", "Wichita Falls, TX", "Beaumont/Port Arthur, TX", "Lawton/Fort Sill, OK", "Waco, TX", "Flagstaff, AZ", "Yuma, AZ", "Meridian, MS", "Hattiesburg/Laurel, MS", "Roswell, NM", "Kearney, NE", "Moab, UT", "Vernal, UT", "Lewisburg, WV", "Staunton, VA", "Salina, KS", "Liberal, KS", "North Platte, NE", "Prescott, AZ", "Abilene, TX", "Manhattan/Ft. Riley, KS", "Texarkana, AR", "Lynchburg, VA", "Greenville, NC", "New Haven, CT", "Presque Isle/Houlton, ME", "Hilton Head, SC", "Longview, TX", "Waterloo, IA", "Sioux City, IA", "Dubuque, IA", "Garden City, KS", "Salisbury, MD", "Williamsport, PA", "Florence, SC", "Stillwater, OK", "Joplin, MO", "Watertown, NY", "Cheyenne, WY", "Del Rio, TX", "Hyannis, MA", "Dillingham, AK", "King Salmon, AK", "Gustavus, AK", "West Yellowstone, MT"]
\ No newline at end of file
This diff is collapsed.
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment