While working on my project to find the shortest route to all US National Parks, I dealt with the US National Park API. It ended up that the information I needed was not easily accessible from the API, however I learned a lot and thought I would share.
You can download the following Jupyter notebook from my GitHub.
Accessing the US National Park API in Python¶
The US National Park Service has an API that can be used to get a variety of information about campgrounds, parks, events, and much more. In order to access the API, you must register with a name and e-mail and receive an API key. There is a guide to using the API, however I had some issues with the information provided and I suspect the API has been changed without the documentation not updated. Below I go over what worked for me.
We will be using Python’s requests library to make HTTP requests to the API. I began this project using urllib but eventually switched to the requests library because it is easier to use.
import requests # Used to make HTTP requests to the API
import json # Used to process JSON strings
Accessing the ‘parks’ endpoint¶
Below we use our API key and access the ‘parks’ endpoint. NOTE that the parameters dict uses "api_key" instead of "Authorization" as mentioned on the Python code snippet on the NPS website.
We are using v1 of the API because v0 is deprecated. Also, you can only make 500 API requests per hour. The default number of results returned is 50. The data is returned in JSON format with 4 keys/value pairs in the root object: limit, total, start, data.
- limit is how many entries in data were returned. By default 50 entries are requested.
- total is how many entries are available to be requested (496 as of this writing)
- start is works like an offset into the data. We start at 1 by default, but can request to start elsewhere.
- data is the data that we requested (more on this below)
API_Key_NPS = "YOUR_API_KEY_HERE" # Insert your API key here
endpoint = "https://developer.nps.gov/api/v1/parks?"
parameters = {"api_key":API_Key_NPS} # use "api_key" not "Authorization"
response = requests.get(endpoint, params=parameters)
print("response status code: " + str(response.status_code))
data_all = response.json() # Interpret bytes as JSON format and convert to a Python dict
print('limit: ' + data_all['limit'])
print('total: ' + data_all['total'])
print('start: ' + data_all['start'])
response status code: 200 limit: 50 total: 496 start: 1
What data do we get back?¶
Let’s take a closer look at the data that we got back. The data key within data_all is a list of all of the parks. We can access each park by index and print out the value of a key. We get useful information like description, name, lattitude/longitude, weather, park code, etc.
list_of_parks = data_all['data']
for key in list_of_parks[0].keys(): # iterate over all information about the first park in the list
print(key + ': ' + list_of_parks[0][key])
directionsUrl: http://www.nps.gov/afam/planyourvisit/directions.htm description: Over 200,000 African-American soldiers and sailors served in the U.S. Army and Navy during the Civil War. Their service helped to end the war and free over four million slaves. The African American Civil War Memorial honors their service and sacrifice. designation: url: https://www.nps.gov/afam/index.htm states: DC latLong: lat:38.916554, long:-77.025977 parkCode: afam fullName: African American Civil War Memorial weatherInfo: Washington DC gets to see all four seasons. Humidity will make the temps feel hotter in summer and colder in winter. Spring (March - May) Temp: Average high is 65.5 degrees with a low of 46.5 degrees Summer (June - August) Temp: Average high is 86 degrees with a low of 68.5 degrees Fall (September - November) Temp: Average high is 68 degrees with a low of 51.5 degrees Winter (December - February) Temp: Average high is 45 degrees with a low of 30 degrees (Source: www.usclimatedata.com) directionsInfo: The memorial is located at the corner of Vermont Avenue, 10th St, and U Street NW, near the U Street/African-American Civil War Memorial/Cardozo Metro Station. id: 1A47416F-DAA3-4137-9F30-14AF86B4E547 name: African American Civil War Memorial
Get ALL the data!¶
In order to get all the data, we will need to send a request with limit >= 496. We can set this limit within our parameters dictionary as shown below. NOTE: If you get status code of 500 from attempting this, see the Extra: Get all the data! (a little bit at a time) section below
parameters = {"api_key":API_Key_NPS, "limit":500} # limit is arbitrary value larger than total number of parks
response = requests.get(endpoint, params=parameters)
print("response status code: " + str(response.status_code))
data_all = response.json() # Interpret bytes as JSON format and convert to a Python dict
print('limit: ' + data_all['limit'])
print('total: ' + data_all['total'])
print('start: ' + data_all['start'])
response status code: 200 limit: 500 total: 496 start: 1
Convert data to pandas DataFrame and pickle¶
If we want to process the data easily, pandas is a good option. We can also store the data on our local hard drive as a pickle file (.pkl) so that we don’t have access the API anymore.
import pandas as pd
df_parks = pd.DataFrame(data_all['data']) # convert list of json objects to dataframe
df_parks = df_parks.drop_duplicates() # remove duplicate parks (since we requested 510 and there are only 507)
print(df_parks)
df_parks.to_pickle('all_park_data.pkl')
description \
0 For over a century people from around the worl...
1 Acadia National Park protects the natural beau...
2 From the sweet little farm at the foot of Penn...
3 Over 200,000 African-American soldiers and sai...
4 African Burial Ground is the oldest and larges...
5 During the 1890s, scientists rediscovered what...
6 Established in 2000 for the preservation, prot...
7 The headwaters of Alagnak Wild River lie withi...
8 Alaska’s parks, forests, and refuges are rich ...
9 Alcatraz Island offers a close-up look at the ...
10 During World War II the remote Aleutian Island...
11 13,000 years ago this site was already well-kn...
12 The first railroad to circumvent the Allegheny...
13 American Memorial Park honors the American and...
14 An oasis in the desert, Amistad National Recre...
15 Welcome to Anacostia Park, your neighborhood n...
16 The Camp Sumter military prison at Andersonvil...
17 The Andrew Johnson National Historic Site and ...
18 Given its remote location and challenging weat...
19 23,000 soldiers were killed, wounded or missin...
20 Along windswept beaches and cliffs, visitors e...
21 The Appalachian Trail is a 2,180+ mile long pu...
22 On April 9, 1865, the surrender of the Army of...
23 For millions of years, granite monadnocks have...
24 Visit Arches to discover a landscape of contra...
25 Located at the confluence of two rivers, Arkan...
26 Arlington House is the nation’s memorial to Ro...
27 Want to live on the edge? Visit a place recrea...
28 Our country’s landscape is rich and mysterious...
29 The Augusta Canal helped usher the Industrial ...
.. ...
466 Virgin Islands Coral Reef National Monument in...
467 Virgin Islands National Park is more than just...
468 With over 40% of the park water, Voyageurs is ...
469 Standing as tall as 14 feet and weighing 20,00...
470 Come gaze across curved canyon walls! Among th...
471 War in the Pacific National Historical Park wa...
472 Built to honor George Washington, the United S...
473 In 1781, General Rochambeau’s French Army join...
474 On November 27, 1868, Lt. Colonel George Armst...
475 Visit the home and studio of America's most be...
476 The Wheeling National Heritage Area celebrates...
477 Whiskeytown Lake’s beautiful crystal-clear wat...
478 Rising from the heart of the Tularosa Basin is...
479 The 1847 attack on the Whitmans horrified Amer...
480 High atop one of Cincinnati's most prominent h...
481 Wilson's Creek was the first major Civil War b...
482 Bison, elk, and other wildlife roam the rollin...
483 More than a museum, the Wing is an experience....
484 No matter what your age or taste in shows, you...
485 Women’s Rights National Historical Park tells ...
486 Through stone architecture and bronze sculptur...
487 Wrangell St. Elias is a vast national park tha...
488 Wind, sand, and a dream of flight brought Wilb...
489 Nestled between the Painted Desert and pondero...
490 On March 1, 1872, Yellowstone became the first...
491 Discover what it took for the United States to...
492 Not just a great valley, but a shrine to human...
493 Through a continuing tradition of public and p...
494 Located in Interior Alaska, Yukon-Charley Rive...
495 Follow the paths where ancient native people a...
designation \
0 National Historical Park
1 National Park
2 National Historical Park
3
4 National Monument
5 National Monument
6 National Historic Trail
7 Wild River
8
9
10 National Historic Area
11 National Monument
12 National Historic Site
13 Park
14 National Recreation Area
15 Park
16 National Historic Site
17 National Historic Site
18 National Monument & Preserve
19 National Battlefield
20 National Lakeshore
21 National Scenic Trail
22 National Historical Park
23 National Heritage Area
24 National Park
25 National Memorial
26
27 National Seashore
28 National Heritage Area
29 National Heritage Area
.. ...
466 National Monument
467 National Park
468 National Park
469 National Monument
470 National Monument
471 National Historical Park
472
473 National Historic Trail
474 National Historic Site
475 National Historic Site
476 National Heritage Area
477 National Recreation Area
478 National Monument
479 National Historic Site
480 National Historic Site
481 National Battlefield
482 National Park
483 Affiliated Area
484
485 National Historical Park
486
487 National Park & Preserve
488 National Memorial
489 National Monument
490 National Park
491 Part of Colonial National Historical Park
492 National Park
493 National Monument
494 National Preserve
495 National Park
directionsInfo \
0 The Birthplace Unit of the park is located app...
1 From Boston take I-95 north to Augusta, Maine,...
2 Traveling on U.S. Interstate 93, take exit 7 -...
3 The memorial is located at the corner of Vermo...
4 The African Burial Ground National Monument is...
5 If traveling east or west on U.S. Highway 20 g...
6 The trail can be unofficially accessed through...
7 Alagnak Wild River is located in a remote part...
8 Anchorage APLIC is located in downtown Anchora...
9 The Alcatraz Ferry Terminal is located on The ...
10 The park is located on Amaknak Island in the A...
11 Alibates Flint Quarries is located approximate...
12 The park is located just off U.S. Route 22 app...
13 The park is centrally located along the wester...
14 Six miles west of the HWY 90 and 277 North int...
15 Anacostia Park is located in South East Washin...
16 Andersonville National Historic Site is locate...
17 GPS\nThe GPS setting for Andrew Johnson NHS ma...
18 Located on the Alaska Peninsula, 450 miles sou...
19 Ten miles south of I-70 on Maryland Route 65
20 Apostle Islands National Lakeshore features se...
21 There are many points of access along the Appa...
22 Appomattox Court House NHP is located 3 miles ...
23 The Arabia Mountain National Heritage Area lie...
24 Arches National Park is located in southeast U...
25 Arkansas Post National Memorial is located in ...
26 Public Transportation: The Memorial is accessi...
27 There are two entrances to Assateague Island N...
28 There are several visitor locations in the Atc...
29 To Augusta Canal Discovery Center (1450 Greene...
.. ...
466 Once on St. John, the only part of Virgin Isla...
467 There are no airports on St. John so you must ...
468 Voyageurs National Park is located in Northern...
469 From I-35 North, take exit 339 and head west o...
470 Walnut Canyon National Monument is located app...
471 From the airport or Tumon, where most hotels a...
472 GPS Coordinates: 38.889463, -77.035237\nAddres...
473 The Washington-Rochambeau Revolutionary Route ...
474 Cheyenne is situated in western Oklahoma appro...
475 If you are coming to Weir Farm National Histor...
476 We are located at 1400 Main Street, Wheeling, ...
477 Car\nFrom Interstate 5, take the Highway 44 We...
478 White Sands National Monument is located off o...
479 Airports are located in Walla Walla (11 miles ...
480 From I-71 north; Take Exit 2 (Reading Road and...
481 From I-44: exit at Exit 70 (Missouri Highway M...
482 Wind Cave National Park is located in South Da...
483 Coming from North of I-5: Take exit 165A towar...
484 Wolf Trap National Park for the Performing Art...
485 From the New York State Thruway (I-90) take ex...
486 GPS Coordinates: 38.889413, -77.040553\nAddres...
487 The administrative building and main park visi...
488 Wright Brothers National Memorial is located a...
489 Wupatki and Sunset Crater Volcano National Mon...
490 Yellowstone National Park covers nearly 3,500 ...
491 For an internet map search or GPS, use the fol...
492 You can drive to Yosemite all year and enter v...
493 •From Cortez, take Hwy. 491 south approximatel...
494 Although there is no direct highway connection...
495 Zion National Park is located on State Route 9...
directionsUrl \
0 http://www.nps.gov/abli/planyourvisit/directio...
1 http://www.nps.gov/acad/planyourvisit/directio...
2 http://www.nps.gov/adam/planyourvisit/directio...
3 http://www.nps.gov/afam/planyourvisit/directio...
4 http://www.nps.gov/afbg/planyourvisit/directio...
5 http://www.nps.gov/agfo/planyourvisit/directio...
6 http://home.nps.gov/alka/planyourvisit/directi...
7 http://www.nps.gov/alag/planyourvisit/directio...
8 http://alaskacenters.gov/anchorage-directions.cfm
9 http://home.nps.gov/alca/planyourvisit/directi...
10 http://www.nps.gov/aleu/planyourvisit/directio...
11 http://www.nps.gov/alfl/planyourvisit/directio...
12 http://www.nps.gov/alpo/planyourvisit/directio...
13 https://www.nps.gov/amme/planyourvisit/directi...
14 https://www.nps.gov/amis/planyourvisit/directi...
15 http://www.nps.gov/anac/planyourvisit/directio...
16 http://www.nps.gov/ande/planyourvisit/directio...
17 http://www.nps.gov/anjo/planyourvisit/directio...
18 http://www.nps.gov/ania/planyourvisit/directio...
19 http://www.nps.gov/anti/planyourvisit/directio...
20 http://www.nps.gov/apis/planyourvisit/directio...
21 http://www.nps.gov/appa/planyourvisit/directio...
22 http://www.nps.gov/apco/planyourvisit/directio...
23 http://arabiaalliance.org/explore/
24 http://www.nps.gov/arch/planyourvisit/directio...
25 http://www.nps.gov/arpo/planyourvisit/directio...
26 http://www.nps.gov/arho/planyourvisit/carpooli...
27 http://www.nps.gov/asis/planyourvisit/directio...
28 http://www.atchafalaya.org/page.php?name=NPS-P...
29 http://augustacanal.com/directions.php
.. ...
466 http://www.nps.gov/vicr/planyourvisit/directio...
467 http://www.nps.gov/viis/planyourvisit/directio...
468 http://www.nps.gov/voya/planyourvisit/directio...
469 http://www.nps.gov/waco/planyourvisit/directio...
470 http://www.nps.gov/waca/planyourvisit/directio...
471 http://www.nps.gov/wapa/planyourvisit/directio...
472 http://www.nps.gov/wamo/planyourvisit/directio...
473 http://www.nps.gov/waro/planyourvisit/directio...
474 http://www.nps.gov/waba/planyourvisit/index.htm
475 http://www.nps.gov/wefa/planyourvisit/directio...
476 https://www.google.com/maps/place/1400+Main+St...
477 http://www.nps.gov/whis/planyourvisit/directio...
478 http://www.nps.gov/whsa/planyourvisit/directio...
479 http://www.nps.gov/whmi/planyourvisit/directio...
480 http://www.nps.gov/wiho/planyourvisit/directio...
481 http://www.nps.gov/wicr/planyourvisit/directio...
482 http://www.nps.gov/wica/planyourvisit/directio...
483 http://www.nps.gov/wing/planyourvisit/directio...
484 http://www.nps.gov/wotr/planyourvisit/directio...
485 http://www.nps.gov/wori/planyourvisit/directio...
486 http://www.nps.gov/wwii/planyourvisit/directio...
487 http://www.nps.gov/wrst/planyourvisit/wrangell...
488 http://www.nps.gov/wrbr/planyourvisit/directio...
489 http://www.nps.gov/wupa/planyourvisit/directio...
490 http://www.nps.gov/yell/planyourvisit/directio...
491 http://www.nps.gov/york/planyourvisit/directio...
492 http://www.nps.gov/yose/planyourvisit/driving.htm
493 http://www.nps.gov/yuho/planyourvisit/directio...
494 http://www.nps.gov/yuch/planyourvisit/directio...
495 http://www.nps.gov/zion/planyourvisit/directio...
fullName \
0 Abraham Lincoln Birthplace National Historical...
1 Acadia National Park
2 Adams National Historical Park
3 African American Civil War Memorial
4 African Burial Ground National Monument
5 Agate Fossil Beds National Monument
6 Ala Kahakai National Historic Trail
7 Alagnak Wild River
8 Alaska Public Lands
9 Alcatraz Island
10 Aleutian Islands World War II National Histori...
11 Alibates Flint Quarries National Monument
12 Allegheny Portage Railroad National Historic Site
13 American Memorial Park
14 Amistad National Recreation Area
15 Anacostia Park
16 Andersonville National Historic Site
17 Andrew Johnson National Historic Site
18 Aniakchak National Monument & Preserve
19 Antietam National Battlefield
20 Apostle Islands National Lakeshore
21 Appalachian National Scenic Trail
22 Appomattox Court House National Historical Park
23 Arabia Mountain National Heritage Area
24 Arches National Park
25 Arkansas Post National Memorial
26 Arlington House, The Robert E. Lee Memorial
27 Assateague Island National Seashore
28 Atchafalaya National Heritage Area
29 Augusta Canal National Heritage Area
.. ...
466 Virgin Islands Coral Reef National Monument
467 Virgin Islands National Park
468 Voyageurs National Park
469 Waco Mammoth National Monument
470 Walnut Canyon National Monument
471 War In The Pacific National Historical Park
472 Washington Monument
473 Washington-Rochambeau National Historic Trail
474 Washita Battlefield National Historic Site
475 Weir Farm National Historic Site
476 Wheeling National Heritage Area
477 Whiskeytown National Recreation Area
478 White Sands National Monument
479 Whitman Mission National Historic Site
480 William Howard Taft National Historic Site
481 Wilson's Creek National Battlefield
482 Wind Cave National Park
483 Wing Luke Museum Affiliated Area
484 Wolf Trap National Park for the Performing Arts
485 Women's Rights National Historical Park
486 World War II Memorial
487 Wrangell - St Elias National Park & Preserve
488 Wright Brothers National Memorial
489 Wupatki National Monument
490 Yellowstone National Park
491 Yorktown Battlefield Part of Colonial National...
492 Yosemite National Park
493 Yucca House National Monument
494 Yukon - Charley Rivers National Preserve
495 Zion National Park
id \
0 77E0D7F0-1942-494A-ACE2-9004D2BDC59E
1 6DA17C86-088E-4B4D-B862-7C1BD5CF236B
2 E4C7784E-66A0-4D44-87D0-3E072F5FEF43
3 1A47416F-DAA3-4137-9F30-14AF86B4E547
4 E6E1D22A-7A89-47F8-813C-B611059A8CF9
5 64B9F127-31ED-43C9-882D-D7CD471AF314
6 3B8307B3-54AB-4E5F-ACBC-8DECB98AD5F1
7 C4E1A9A4-D121-4734-94FA-7788A93C2AAA
8 7D6098F9-3F75-4775-A56D-CD9C7F9A9488
9 C08AD828-98FF-478E-A63C-614E7534274B
10 94B046DC-2AFD-4ECB-A60D-CE210A8550B1
11 6D82D070-995A-4524-A56E-C1CE182E7D9B
12 3350C18C-8E07-487B-930E-37AD873D31AD
13 A0B4CA5E-608A-4DF2-8EFB-E2E4619EA243
14 34CB30BA-8A5F-4563-AA34-6633708DD9DC
15 9463E25C-7342-4A34-9537-4A6DA74B2B06
16 00E65872-53F7-4C9B-BD29-B9BC99930D0D
17 2ED6E071-57AA-4B08-8DDA-5CB09FBB75C8
18 7FF37F14-88C8-469E-A447-ACE6D9AF44D2
19 8415526C-C932-4236-A634-2D89DF718936
20 D84122DD-1B0E-4D13-927C-5D6D2A0D200E
21 FAEF5684-83A4-4CF2-A701-60CF8D4014BD
22 16CCCC56-1DC1-47D6-AE91-E939955BFC53
23 EDF06DE3-0951-4CF1-A3DE-723E60BED6F9
24 36240051-018E-4915-B6EA-3F1A7F24FBE4
25 6876F4F4-9B8F-4648-89EA-C1BBF770C494
26 E84B1E08-CCE8-4FFF-8DB6-B92F40953225
27 307BE169-345D-472C-8128-20F1D59864A7
28 22B8BA4E-3EED-4F41-88A2-A529114B6859
29 813548D1-F8EA-4C07-8878-17FB3C385378
.. ...
466 B2178CA4-35DE-4827-9B7A-B25FAAE1E69B
467 C65070FE-942C-4E00-8C2B-64CA33C85B4A
468 859727CB-2812-40DF-B8DB-D4AE9EA00089
469 46CA5FAF-2AEE-4795-B609-8CB81F9FBBEC
470 8DFC9C19-FF0A-4B48-A34F-FD3D02BFE100
471 D44FE5CB-71B4-4B7C-A52A-41BE9D9211B3
472 37E34290-2E37-4A67-8C95-7A3442F354B1
473 3D547E73-F0BF-4FEA-9CAC-9611D024E2FF
474 BE27CCA2-1ECA-4A6A-90E7-8EB38029FEF3
475 EA86FED8-2E03-467A-A8BD-4F032A647F35
476 DE4C41D8-4356-462C-8544-6C5607E6709E
477 89730CB2-BB7D-400B-AF35-5F95A574D97D
478 32D2B528-193E-43FA-BF38-32493D9E317D
479 10505DA0-A627-47EA-8533-5C67C3B2AF15
480 8CB65BC9-2A9D-4AA0-A5E2-B64E9CDA1575
481 2067FAB2-41D4-43DF-8142-9B1FC40AFDFC
482 37C48EE0-2881-4D22-8F91-A249AE3B0CD0
483 CEC8BD62-9229-4455-ABE8-F4310F4AB623
484 72F41D84-A8ED-47FC-935A-2FD28C3C582E
485 09689FA5-2147-4BF2-935C-AE92AB85A2E5
486 F85AF8D0-1B85-4B2C-9356-840A4AF6A354
487 B7944940-3FE5-4F9B-80AB-2FD78A4CDD48
488 E2AE772D-7A2B-49CC-9AFA-E8F068506B22
489 686C8EC8-5487-43B9-B5E8-FCABD56227F0
490 F58C6D24-8D10-4573-9826-65D42B8B83AD
491 D09FF0F8-B16E-4D2B-9C37-03202D6B8176
492 4324B2B4-D1A3-497F-8E6B-27171FAE4DB2
493 9854D136-AFC0-4966-BB40-FE9323B56A49
494 6F550E4D-AE26-4250-A674-397E2DF88092
495 41BAB8ED-C95F-447D-9DA1-FCC4E4D808B2
latLong \
0 lat:37.5858662, long:-85.67330523
1 lat:44.30777545, long:-68.30063316
2 lat:42.2553961, long:-71.01160356
3 lat:38.916554, long:-77.025977
4 lat:40.71452681, long:-74.00447358
5 lat:42.42170419, long:-103.753886
6
7 lat:59.05180188, long:-156.112002
8
9 lat:37.82676234, long:-122.4230206
10 lat:53.9143076, long:-166.5197218
11 lat:35.5819662, long:-101.6717008
12 lat:40.42977467, long:-78.57431622
13 lat:15.21680033, long:145.7231096
14 lat:29.53539777, long:-101.075821
15 lat:38.89644397, long:-76.96314236
16 lat:32.19831758, long:-84.12988898
17 lat:36.15624509, long:-82.83709021
18 lat:56.85317675, long:-157.5544362
19 lat:39.46763452, long:-77.73828017
20 lat:46.96240467, long:-90.66045665
21 lat:40.41029575, long:-76.4337548
22 lat:37.38022164, long:-78.79856982
23 lat:33.6085739135742, long:-84.1584930419922
24 lat:38.72261844, long:-109.5863666
25 lat:34.00389998, long:-91.30837178
26 lat:38.8822021484375, long:-77.0734786987305
27 lat:38.05593172, long:-75.24524611
28 lat:30.2919769287109, long:-91.5019378662109
29 lat:33.5099067687988, long:-82.0053787231445
.. ...
466 lat:18.28996918, long:-64.70683395
467 lat:18.34279656, long:-64.74194451
468 lat:48.48370609, long:-92.8382913
469 lat:31.60465887, long:-97.17606143
470 lat:35.16822994, long:-111.5024239
471 lat:13.43795691, long:144.6922461
472 lat:38.88865182, long:-77.03546586
473
474 lat:35.62083963, long:-99.70445143
475 lat:41.25886268, long:-73.45452542
476 lat:40.0387420654297, long:-80.6968994140625
477 lat:40.61359941, long:-122.6022657
478 lat:32.77907858, long:-106.3333461
479 lat:46.04119286, long:-118.4629388
480 lat:39.11970352, long:-84.50758951
481 lat:37.1000127, long:-93.40986704
482 lat:43.58012365, long:-103.4394709
483
484 lat:38.93854526, long:-77.265089
485 lat:42.90817073, long:-76.81655558
486 lat:38.88923917, long:-77.0403759
487 lat:61.4182147, long:-142.6028439
488 lat:36.01637713, long:-75.66997163
489 lat:35.55741077, long:-111.3957216
490 lat:44.59824417, long:-110.5471695
491 lat:37.38623205, long:-76.29900672
492 lat:37.84883288, long:-119.5571873
493 lat:37.24778944, long:-108.6861274
494 lat:65.0935608, long:-142.7960021
495 lat:37.29839254, long:-113.0265138
name parkCode \
0 Abraham Lincoln Birthplace abli
1 Acadia acad
2 Adams adam
3 African American Civil War Memorial afam
4 African Burial Ground afbg
5 Agate Fossil Beds agfo
6 Ala Kahakai alka
7 Alagnak alag
8 Alaska Public Lands anch
9 Alcatraz Island alca
10 Aleutian Islands World War II aleu
11 Alibates Flint Quarries alfl
12 Allegheny Portage Railroad alpo
13 American Memorial amme
14 Amistad amis
15 Anacostia anac
16 Andersonville ande
17 Andrew Johnson anjo
18 Aniakchak ania
19 Antietam anti
20 Apostle Islands apis
21 Appalachian appa
22 Appomattox Court House apco
23 Arabia Mountain armo
24 Arches arch
25 Arkansas Post arpo
26 Arlington House, The Robert E. Lee Memorial arho
27 Assateague Island asis
28 Atchafalaya attr
29 Augusta Canal auca
.. ... ...
466 Virgin Islands Coral Reef vicr
467 Virgin Islands viis
468 Voyageurs voya
469 Waco Mammoth waco
470 Walnut Canyon waca
471 War In The Pacific wapa
472 Washington Monument wamo
473 Washington-Rochambeau waro
474 Washita Battlefield waba
475 Weir Farm wefa
476 Wheeling whee
477 Whiskeytown whis
478 White Sands whsa
479 Whitman Mission whmi
480 William Howard Taft wiho
481 Wilson's Creek wicr
482 Wind Cave wica
483 Wing Luke Museum wing
484 Wolf Trap National Park for the Performing Arts wotr
485 Women's Rights wori
486 World War II Memorial wwii
487 Wrangell - St Elias wrst
488 Wright Brothers wrbr
489 Wupatki wupa
490 Yellowstone yell
491 Yorktown Battlefield york
492 Yosemite yose
493 Yucca House yuho
494 Yukon - Charley Rivers yuch
495 Zion zion
states \
0 KY
1 ME
2 MA
3 DC
4 NY
5 NE
6 HI
7 AK
8 AK
9 CA
10 AK
11 TX
12 PA
13 MP
14 TX
15 DC
16 GA
17 TN
18 AK
19 MD
20 WI
21 CT,GA,MA,MD,ME,NC,NH,NJ,NY,PA,TN,VA,VT,WV
22 VA
23 GA
24 UT
25 AR
26 VA
27 MD,VA
28 LA
29 GA
.. ...
466 VI
467 VI
468 MN
469 TX
470 AZ
471 GU
472 DC
473 MA,RI,CT,NY,NJ,PA,DE,MD,VA,DC
474 OK
475 CT
476 WV
477 CA
478 NM
479 WA
480 OH
481 MO
482 SD
483 WA
484 VA
485 NY
486 DC
487 AK
488 NC
489 AZ
490 ID,MT,WY
491 VA
492 CA
493 CO
494 AK
495 UT
url \
0 https://www.nps.gov/abli/index.htm
1 https://www.nps.gov/acad/index.htm
2 https://www.nps.gov/adam/index.htm
3 https://www.nps.gov/afam/index.htm
4 https://www.nps.gov/afbg/index.htm
5 https://www.nps.gov/agfo/index.htm
6 https://www.nps.gov/alka/index.htm
7 https://www.nps.gov/alag/index.htm
8 https://www.nps.gov/anch/index.htm
9 https://www.nps.gov/alca/index.htm
10 https://www.nps.gov/aleu/index.htm
11 https://www.nps.gov/alfl/index.htm
12 https://www.nps.gov/alpo/index.htm
13 https://www.nps.gov/amme/index.htm
14 https://www.nps.gov/amis/index.htm
15 https://www.nps.gov/anac/index.htm
16 https://www.nps.gov/ande/index.htm
17 https://www.nps.gov/anjo/index.htm
18 https://www.nps.gov/ania/index.htm
19 https://www.nps.gov/anti/index.htm
20 https://www.nps.gov/apis/index.htm
21 https://www.nps.gov/appa/index.htm
22 https://www.nps.gov/apco/index.htm
23 https://www.nps.gov/armo/index.htm
24 https://www.nps.gov/arch/index.htm
25 https://www.nps.gov/arpo/index.htm
26 https://www.nps.gov/arho/index.htm
27 https://www.nps.gov/asis/index.htm
28 https://www.nps.gov/attr/index.htm
29 https://www.nps.gov/auca/index.htm
.. ...
466 https://www.nps.gov/vicr/index.htm
467 https://www.nps.gov/viis/index.htm
468 https://www.nps.gov/voya/index.htm
469 https://www.nps.gov/waco/index.htm
470 https://www.nps.gov/waca/index.htm
471 https://www.nps.gov/wapa/index.htm
472 https://www.nps.gov/wamo/index.htm
473 https://www.nps.gov/waro/index.htm
474 https://www.nps.gov/waba/index.htm
475 https://www.nps.gov/wefa/index.htm
476 https://www.nps.gov/whee/index.htm
477 https://www.nps.gov/whis/index.htm
478 https://www.nps.gov/whsa/index.htm
479 https://www.nps.gov/whmi/index.htm
480 https://www.nps.gov/wiho/index.htm
481 https://www.nps.gov/wicr/index.htm
482 https://www.nps.gov/wica/index.htm
483 https://www.nps.gov/wing/index.htm
484 https://www.nps.gov/wotr/index.htm
485 https://www.nps.gov/wori/index.htm
486 https://www.nps.gov/wwii/index.htm
487 https://www.nps.gov/wrst/index.htm
488 https://www.nps.gov/wrbr/index.htm
489 https://www.nps.gov/wupa/index.htm
490 https://www.nps.gov/yell/index.htm
491 https://www.nps.gov/york/index.htm
492 https://www.nps.gov/yose/index.htm
493 https://www.nps.gov/yuho/index.htm
494 https://www.nps.gov/yuch/index.htm
495 https://www.nps.gov/zion/index.htm
weatherInfo
0 There are four distinct seasons in Central Ken...
1 Located on Mount Desert Island in Maine, Acadi...
2 Be prepared for hot, humid weather. The histo...
3 Washington DC gets to see all four seasons. Hu...
4 http://forecast.weather.gov/MapClick.php?CityN...
5 Summers can be very warm, high 90's to 100 wit...
6 Island weather is unpredictable. Visitors shou...
7 Located between the stormy north Pacific Ocean...
8 Visitors center is located inside the Federal ...
9 The climate on Alcatraz is unpredictable and c...
10 The Aleutian Islands are known for unpredictab...
11 The Texas Panhandle experiences a wide variety...
12 The park is located in Cambria County, PA, and...
13 Saipan Island has a tropical rainforest climat...
14 Weather in Southwest Texas can change in a mat...
15 Spring brings mild temperatures and a light br...
16 Summer temperatures reach highs in the 80s-90s...
17 There are four distinct seasons in East Tennes...
18 When you visit, be prepared to encounter all t...
19 The weather is fairly mild. Summers can be ve...
20 Lake Superior is renowned for its cold tempera...
21 It is your responsibility to be prepared for a...
22 The park may close due to emergency weather co...
23 https://www.wunderground.com/q/zmw:30087.1.999...
24 Arches is part of the Colorado Plateau, a "hig...
25 Arkansas shares the same climate classificatio...
26 Summers on the parkway are generally hot and h...
27 Spring: Often windy and cool with lows in the ...
28 The weather varies throughout the year and eve...
29 The weather varies throughout the year and eve...
.. ...
466 Mostly Perfect. \nThe Tradewinds (the Easterli...
467 Mostly Perfect! The Tradewinds (the Easterlies...
468 There are four distinct seasons in Voyageur co...
469 Overall, the monume enjoys a sunny, mild clima...
470 Be prepared for variable and extreme weather c...
471 http://forecast.weather.gov/MapClick.php?lat=1...
472 Washington DC gets to see all four seasons. Hu...
473 With over 680 miles of land and water trails a...
474 Weather in western Oklahoma can vary considera...
475 Weir Farm’s grounds are open all year and each...
476 Over a year, the temperatures vary from low 20...
477 Whiskeytown NRA is in a Mediterranean climate,...
478 Temperatures at White Sands vary greatly throu...
479 Summers are hot. Hats, water and sunblock are ...
480 The park lies in a humid continental zone with...
481 Summer months are frequently hot and humid, wi...
482 Spring: Highs range from 50 - 70 F with highl...
483 The Wing Luke may close in the case of incleme...
484 The weather at Wolf Trap National Park for the...
485 In the winter, temperatures range from 0-40 de...
486 Washington DC gets to see all four seasons. Hu...
487 Varies widely depending on location in park an...
488 Weather on the Outer Banks varies seasonally a...
489 Be prepared for variable and extreme weather c...
490 Yellowstone's weather can vary quite a bit, ev...
491 Yorktown, VA climate is warm during summer whe...
492 Yosemite National Park covers nearly 1,200 squ...
493 Spring and Fall are mild with daytime temperat...
494 The area that Yukon-Charley Rivers encompasses...
495 Zion is known for a wide range of weather cond...
[496 rows x 12 columns]
Visualize data¶
Its important to know what the data looks like so we can do some quick plots. We can see that there are many different types of NPS designations and some overlap with eachother. There are seperate designations for ‘National Park’, ‘National and State Parks’, ‘National Park & Preserve’. This makes it difficult to sort out the National Parks that may also have other designations.
print(df_parks.columns) # what information is available on each park
print(df_parks.shape)
print (df_parks['designation'].value_counts()) # Determine the frequency of each 'designation'
# Attempt to sort out just the 'National Parks'
nationalParks = df_parks[df_parks['fullName'].str.contains("National Park")]
print(nationalParks.shape)
print(nationalParks.fullName)
Index([u'description', u'designation', u'directionsInfo', u'directionsUrl',
u'fullName', u'id', u'latLong', u'name', u'parkCode', u'states', u'url',
u'weatherInfo'],
dtype='object')
(496, 12)
National Monument 80
National Historic Site 79
National Historical Park 57
National Park 50
35
National Heritage Area 22
National Memorial 18
National Historic Trail 17
National Recreation Area 16
National Battlefield 11
Park 11
National Seashore 10
National Preserve 9
National Military Park 9
National Park & Preserve 7
National Scenic Trail 6
National Heritage Corridor 5
National Battlefield Park 4
Part of Colonial National Historical Park 3
National Lakeshore 3
Parkway 3
National Monument & Preserve 3
National Reserve 2
National Scenic River 2
Memorial 2
National River 2
Wild & Scenic River 2
National Historic District 1
National Historic Area 1
National Recreational River 1
National Monument and Historic Shrine 1
Memorial Parkway 1
Cultural Heritage Corridor 1
International Park 1
National Parks 1
Part of Statue of Liberty National Monument 1
National River & Recreation Area 1
National Historical Park and Ecological Preserve 1
Heritage Area 1
Ecological & Historic Preserve 1
National Heritage Partnership 1
National Battlefield Site 1
National Historical Park and Preserve 1
National Historical Reserve 1
National and State Parks 1
National Wild and Scenic River 1
National Monument of America 1
Wild River 1
National Scenic Riverway 1
National Geologic Trail 1
International Historic Site 1
National River and Recreation Area 1
National Scenic Riverways 1
Scenic & Recreational River 1
Affiliated Area 1
Name: designation, dtype: int64
(61, 12)
1 Acadia National Park
24 Arches National Park
31 Badlands National Park
38 Big Bend National Park
45 Biscayne National Park
46 Black Canyon Of The Gunnison National Park
57 Bryce Canyon National Park
67 Canyonlands National Park
74 Capitol Reef National Park
78 Carlsbad Caverns National Park
91 Channel Islands National Park
109 Congaree National Park
113 Crater Lake National Park
119 Cuyahoga Valley National Park
123 Death Valley National Park
126 Denali National Park & Preserve
130 Dry Tortugas National Park
144 Everglades National Park
183 Gates Of The Arctic National Park & Preserve
184 Gateway Arch National Park
194 Glacier Bay National Park & Preserve
195 Glacier National Park
202 Grand Canyon National Park
204 Grand Teton National Park
206 Great Basin National Park
209 Great Sand Dunes National Park & Preserve
210 Great Smoky Mountains National Park
213 Guadalupe Mountains National Park
218 Haleakalā National Park
226 Hawai'i Volcanoes National Park
...
244 Indiana Dunes National Park
245 Isle Royale National Park
255 Joshua Tree National Park
261 Katmai National Park & Preserve
262 Kenai Fjords National Park
270 Kobuk Valley National Park
272 Lake Clark National Park & Preserve
276 Lassen Volcanic National Park
294 Mammoth Cave National Park
303 Mesa Verde National Park
319 Mount Rainier National Park
329 National Park of American Samoa
330 National Parks of New York Harbor
344 North Cascades National Park
351 Olympic National Park
368 Petrified Forest National Park
371 Pinnacles National Park
395 Rocky Mountain National Park
401 Saguaro National Park
421 Sequoia & Kings Canyon National Parks
422 Shenandoah National Park
442 Theodore Roosevelt National Park
467 Virgin Islands National Park
468 Voyageurs National Park
482 Wind Cave National Park
484 Wolf Trap National Park for the Performing Arts
487 Wrangell - St Elias National Park & Preserve
490 Yellowstone National Park
492 Yosemite National Park
495 Zion National Park
Name: fullName, Length: 61, dtype: object
Extra: Get all the data! (a little bit at a time) ¶
When I initially tried to request all 496 entries at once from the API, I kept getting response status codes of 500 (Internal Server Error). If this happens to you, you can use the work-around below to only request a few entries at a time and append the data as you go along.
responseList = [] # store json responses in a list
for i in range(0,510, 10): # There are currently 507 parks return, but we need this loop to only get 10 at a time.
parameters = {"api_key":API_Key_NPS, 'limit':'10', 'start':str(i)} # limit is arbitrary value larger than total number of parks
response = requests.get(endpoint, params=parameters)
print("request #" + str(i) + " response status code: " + str(response.status_code))
data = response.json() # Interpret bytes as JSON format and convert to a Python dict
responseList.append(data["data"])
print("length of response list " + str(len(responseList)))
request #0 response status code: 200 length of response list 1 request #10 response status code: 200 length of response list 2 request #20 response status code: 200 length of response list 3 request #30 response status code: 200 length of response list 4 request #40 response status code: 200 length of response list 5 request #50 response status code: 200 length of response list 6 request #60 response status code: 200 length of response list 7 request #70 response status code: 200 length of response list 8 request #80 response status code: 200 length of response list 9 request #90 response status code: 200 length of response list 10 request #100 response status code: 200 length of response list 11 request #110 response status code: 200 length of response list 12 request #120 response status code: 200 length of response list 13 request #130 response status code: 200 length of response list 14 request #140 response status code: 200 length of response list 15 request #150 response status code: 200 length of response list 16 request #160 response status code: 200 length of response list 17 request #170 response status code: 200 length of response list 18 request #180 response status code: 200 length of response list 19 request #190 response status code: 200 length of response list 20 request #200 response status code: 200 length of response list 21 request #210 response status code: 200 length of response list 22 request #220 response status code: 200 length of response list 23 request #230 response status code: 200 length of response list 24 request #240 response status code: 200 length of response list 25 request #250 response status code: 200 length of response list 26 request #260 response status code: 200 length of response list 27 request #270 response status code: 200 length of response list 28 request #280 response status code: 200 length of response list 29 request #290 response status code: 200 length of response list 30 request #300 response status code: 200 length of response list 31 request #310 response status code: 200 length of response list 32 request #320 response status code: 200 length of response list 33 request #330 response status code: 200 length of response list 34 request #340 response status code: 200 length of response list 35 request #350 response status code: 200 length of response list 36 request #360 response status code: 200 length of response list 37 request #370 response status code: 200 length of response list 38 request #380 response status code: 200 length of response list 39 request #390 response status code: 200 length of response list 40 request #400 response status code: 200 length of response list 41 request #410 response status code: 200 length of response list 42 request #420 response status code: 200 length of response list 43 request #430 response status code: 200 length of response list 44 request #440 response status code: 200 length of response list 45 request #450 response status code: 200 length of response list 46 request #460 response status code: 200 length of response list 47 request #470 response status code: 200 length of response list 48 request #480 response status code: 200 length of response list 49 request #490 response status code: 200 length of response list 50 request #500 response status code: 200 length of response list 51
Convert responseList to pandas DataFrame¶
Now we can convert the list of responses into a pandas DataFrame. We also store it as a pickle on the hard drive so we don’t have to send requests to the sketchy NPS servers anymore.
parks = pd.concat([pd.DataFrame(x) for x in responseList], ignore_index=True) # convert list of json objects to dataframe
parks = parks.drop_duplicates() # remove duplicate parks (since we requested 510 and there are only 507)
print(parks)
parks.to_pickle('all_park_data_2.pkl')
description \
0 Hoodoos (irregular columns of rock) exist on e...
1 The mounds preserved here are considered sacre...
2 First Ladies National Historic Site consists o...
3 Fort Davis is one of the best surviving exampl...
4 For centuries, the Oneida Carrying Place, a si...
5 Politics before the Civil War was a whirlwind ...
6 Aviation is chock-full of tradition & history ...
7 Welcome to National Capital Parks-East. We inv...
8 After 10,000 years, the people of South Texas ...
9 Discover what it took for the United States to...
10 Home to the National Woman's Party for nearly ...
11 Though a short distance from the urban areas o...
12 Almost 70 miles (113 km) west of Key West lies...
14 Fort Bowie witnessed almost 25 years of confli...
15 Albert Gallatin is best remembered for his thi...
16 Harriet Tubman was guided by a deep faith and ...
17 The "Monument" is located on the Gila River In...
18 "In this temple, as in the hearts of the peopl...
19 In 1942, the United States government ordered ...
20 Grab your paddle and your longing for adventur...
21 The great Outer Beach described by Thoreau in ...
23 Frederick Douglass spent his life fighting for...
24 Fredericksburg, Chancellorsville, Wilderness, ...
25 This vast landscape does not contain any roads...
26 The 25 miles of free-flowing Gauley River and ...
27 Walk in the steps of Captain John Smith and Po...
28 The 76 miles of the Niobrara National Scenic R...
29 Ozark National Scenic Riverways is the first n...
30 Sagamore Hill was the home of Theodore Rooseve...
31 Tucked away in the middle of New Mexico you’ll...
.. ...
512 For thousands of years the valleys, prairies, ...
513 It is an irresistible playground where unruly ...
514 The Battle of Stones River began on the last d...
515 More than a museum, the Wing is an experience....
516 On August 9, 1877 gun shots shattered a chilly...
517 The Confederate victory at Brices Cross Roads ...
518 Channel Islands National Park encompasses five...
519 Preserving America's early transportation hist...
520 Curecanti National Recreation Area is a series...
521 President Harry S Truman took America from its...
522 Maurice D. Hinchey Hudson River Valley Nationa...
523 The Blackstone River runs from Worcester, MA t...
524 Explore and honor the efforts and sacrifices o...
525 Since 1665, Saint Paul's Church played a vital...
527 North of the Arctic Circle, the monument forms...
529 Eisenhower National Historic Site is the home ...
530 In 1941 the Grand Coulee Dam was built on the ...
531 The Pearl Harbor attack intensified existing h...
532 Singing sand dunes, cinder cone volcanoes, Jos...
533 Rainbow Bridge is one of the world's largest k...
534 In the 1600's, on the banks of the Saugus Rive...
535 Come gaze across curved canyon walls! Among th...
536 Nestled between the Painted Desert and pondero...
537 Follow the paths where ancient native people a...
538 The final resting place of President Ulysses S...
539 Headlines screamed "Gold!" The dream of a bett...
540 Caribou, sand dunes, the Kobuk River, Onion Po...
541 ---Lyndon Baines Johnson\n\nLyndon B. Johnson ...
543 The Reconstruction era,1861-1898 the historic ...
544 Through a continuing tradition of public and p...
designation \
0 National Park
1 National Monument
2 National Historic Site
3 National Historic Site
4 National Monument
5 National Historic Site
6 Heritage Area
7
8 National Historical Park
9 Part of Colonial National Historical Park
10 National Monument
11 National Park
12 National Park
14 National Historic Site
15 National Historic Site
16 National Historical Park
17 National Monument
18
19 National Historic Site
20 National Scenic Riverway
21 National Seashore
23 National Historic Site
24 National Military Park
25 National Park & Preserve
26 National Recreation Area
27 Part of Colonial National Historical Park
28 National Scenic River
29 National Scenic Riverways
30 National Historic Site
31 National Monument
.. ...
512 National Historical Park
513 Wild & Scenic River
514 National Battlefield
515 Affiliated Area
516 National Battlefield
517 National Battlefield Site
518 National Park
519 National Historical Park
520 National Recreation Area
521 National Historic Site
522 National Heritage Area
523 National Heritage Corridor
524 National Historical Park
525 National Historic Site
527 National Monument
529 National Historic Site
530 National Recreation Area
531 National Historic Site
532 National Preserve
533 National Monument
534 National Historic Site
535 National Monument
536 National Monument
537 National Park
538 National Memorial
539 National Historical Park
540 National Park
541 National Historical Park
543 National Historical Park
544 National Monument
directionsInfo \
0 From the North:\nTake I-15 south to UT-20 (exi...
1 Located 3 miles north of Marquette, Iowa on Hw...
2 The First Ladies National Historic Site is loc...
3 We are approximately 2.5 hours south of Midlan...
4 Take I-90 (NY Thruway) to Exit 33 (Verona-Rome...
5 The park entrance road is located off of route...
6 The National Aviation Heritage Area has multip...
7 DC295 South to the Exit for I-694/I-395/Capito...
8 Park Headquarter's is located 4 miles south of...
9 For an internet map search or GPS, use the fol...
10 The Belmont-Paul Women's Equality NM is locate...
11 Plane\nCleveland Hopkins International Airport...
12 Dry Tortugas National Park is one of the most ...
14 From Willcox, AZ / points west on I-10: drive ...
15 Friendship Hill NHS is located on PA 166 three...
16 The Harriet Tubman National Historical Park in...
17 Please do not attempt to visit this area. The ...
18 GPS Coordinates: 38.889321, -77.050166\nAddres...
19 Manzanar is located on the west side of U.S. H...
20 The St. Croix National Scenic Riverway stretch...
21 The national seashore is located in eastern Ma...
23 The site can be reached by car, public transpo...
24 Our park has an immense number of sites to exp...
25 Gates of the Arctic is a wilderness park, with...
26 Plane\nThe largest airport is at Charleston, a...
27 Situated on the banks of the James River, Jame...
28 Most visitors start their trip in the city of ...
29 The Headquarters for Ozark National Scenic Riv...
30 Take either the Northern State Parkway to Exit...
31 Reach the Mountainair Headquarters by taking I...
.. ...
512 Driving south bound on U.S. Highway 95 you wi...
513 Hwy 118 south from Alpine; Hwy 385 south from ...
514 From Interstate 24 - Take Exit 76 and turn lef...
515 Coming from North of I-5: Take exit 165A towar...
516 Big Hole National Battlefield is located on Hi...
517 Brices Cross Roads National Battlefield Site c...
518 While the mainland visitor center in Ventura i...
519 There are many access point along the Chesapea...
520 U.S. Highway 50 runs the length of Curecanti b...
521 The Visitor Center is located at the intersect...
522 For directions to particular sites within the ...
523 The Heritage Corridor is in Linwood Mill Suite...
524 Please visit the "Directions and Transportatio...
525 Take the 5 Lexington Avenue (green) line to th...
527 Cape Krusenstern National Monument lies within...
529 There is no parking available on site. Access ...
530 From Spokane\n\nTake I-90 West\nAt Exit 277, m...
531 Minidoka National Historic Site is located bet...
532 Park headquarters in Barstow, California is 60...
533 Rainbow Bridge National Monument is located be...
534 From Interstate 95 Northbound: Take exit 43 to...
535 Walnut Canyon National Monument is located app...
536 Wupatki and Sunset Crater Volcano National Mon...
537 Zion National Park is located on State Route 9...
538 General Grant National Memorial is located in ...
539 Park headquarters and visitor center are locat...
540 Kobuk Valley National Park is very remote. The...
541 By car to National Park Headquarters and the V...
543
544 •From Cortez, take Hwy. 491 south approximatel...
directionsUrl \
0 http://www.nps.gov/brca/planyourvisit/directio...
1 http://www.nps.gov/efmo/planyourvisit/directio...
2 http://www.nps.gov/fila/planyourvisit/directio...
3 http://www.nps.gov/foda/planyourvisit/directio...
4 http://www.nps.gov/fost/planyourvisit/directio...
5 http://www.nps.gov/mava/planyourvisit/directio...
6 http://www.aviationheritagearea.org/
7 http://www.nps.gov/nace/planyourvisit/directio...
8 http://www.nps.gov/saan/planyourvisit/directio...
9 http://www.nps.gov/york/planyourvisit/directio...
10 http://www.nps.gov/bepa/planyourvisit/directio...
11 http://www.nps.gov/cuva/planyourvisit/directio...
12 http://www.nps.gov/drto/planyourvisit/directio...
14 http://www.nps.gov/fobo/planyourvisit/directio...
15 http://www.nps.gov/frhi/planyourvisit/directio...
16 http://www.nps.gov/hart/planyourvisit/directio...
17 http://www.nps.gov/cagr/contacts.htm
18 http://www.nps.gov/linc/planyourvisit/directio...
19 http://home.nps.gov/manz/planyourvisit/directi...
20 http://www.nps.gov/sacn/planyourvisit/directio...
21 http://www.nps.gov/caco/planyourvisit/directio...
23 http://www.nps.gov/frdo/planyourvisit/directio...
24 http://www.nps.gov/frsp/planyourvisit/directio...
25 http://www.nps.gov/gaar/planyourvisit/directio...
26 http:www.gari/planyourvisit/directions.htm
27 http://www.nps.gov/jame/planyourvisit/directio...
28 http://www.nps.gov/niob/planyourvisit/directio...
29 http://www.nps.gov/ozar/planyourvisit/directio...
30 http://www.nps.gov/sahi/planyourvisit/directio...
31 http://www.nps.gov/sapu/planyourvisit/directio...
.. ...
512 http://www.nps.gov/nepe/planyourvisit/directio...
513 http://www.nps.gov/rigr/planyourvisit/directio...
514 http://www.nps.gov/stri/planyourvisit/directio...
515 http://www.nps.gov/wing/planyourvisit/directio...
516 http://www.nps.gov/biho/planyourvisit/directio...
517 http://www.nps.gov/brcr/planyourvisit/directio...
518 http://www.nps.gov/chis/planyourvisit/directio...
519 http://www.nps.gov/choh/planyourvisit/directio...
520 http://www.nps.gov/cure/planyourvisit/directio...
521 http://www.nps.gov/hstr/planyourvisit/directio...
522 http://www.nps.gov/hurv/planyourvisit/directio...
523 http://www.nps.gov/blac/planyourvisit/directio...
524 http://www.nps.gov/rori/planyourvisit/directio...
525 http://www.nps.gov/sapa/planyourvisit/directio...
527 http://www.nps.gov/cakr/planyourvisit/directio...
529 http://www.nps.gov/eise/planyourvisit/directio...
530 http://www.nps.gov/laro/planyourvisit/directio...
531 http://www.nps.gov/miin/planyourvisit/directio...
532 http://www.nps.gov/moja/planyourvisit/directio...
533 http://www.nps.gov/rabr/planyourvisit/directio...
534 http://www.nps.gov/sair/planyourvisit/directio...
535 http://www.nps.gov/waca/planyourvisit/directio...
536 http://www.nps.gov/wupa/planyourvisit/directio...
537 http://www.nps.gov/zion/planyourvisit/directio...
538 http://www.nps.gov/gegr/planyourvisit/directio...
539 http://www.nps.gov/klgo/planyourvisit/directio...
540 http://www.nps.gov/kova/planyourvisit/directio...
541 http://www.nps.gov/lyjo/planyourvisit/directio...
543
544 http://www.nps.gov/yuho/planyourvisit/directio...
fullName \
0 Bryce Canyon National Park
1 Effigy Mounds National Monument
2 First Ladies National Historic Site
3 Fort Davis National Historic Site
4 Fort Stanwix National Monument
5 Martin Van Buren National Historic Site
6 National Aviation Heritage Area
7 National Capital Parks-East
8 San Antonio Missions National Historical Park
9 Yorktown Battlefield Part of Colonial National...
10 Belmont-Paul Women's Equality National Monument
11 Cuyahoga Valley National Park
12 Dry Tortugas National Park
14 Fort Bowie National Historic Site
15 Friendship Hill National Historic Site
16 Harriet Tubman National Historical Park
17 Hohokam Pima National Monument
18 Lincoln Memorial
19 Manzanar National Historic Site
20 Saint Croix National Scenic Riverway
21 Cape Cod National Seashore
23 Frederick Douglass National Historic Site
24 Fredericksburg & Spotsylvania National Militar...
25 Gates Of The Arctic National Park & Preserve
26 Gauley River National Recreation Area
27 Historic Jamestowne Part of Colonial National ...
28 Niobrara National Scenic River
29 Ozark National Scenic Riverways
30 Sagamore Hill National Historic Site
31 Salinas Pueblo Missions National Monument
.. ...
512 Nez Perce National Historical Park
513 Rio Grande Wild & Scenic River
514 Stones River National Battlefield
515 Wing Luke Museum Affiliated Area
516 Big Hole National Battlefield
517 Brices Cross Roads National Battlefield Site
518 Channel Islands National Park
519 Chesapeake & Ohio Canal National Historical Park
520 Curecanti National Recreation Area
521 Harry S Truman National Historic Site
522 Hudson River Valley National Heritage Area
523 John H. Chafee Blackstone River Valley Nationa...
524 Rosie the Riveter WWII Home Front National His...
525 Saint Paul's Church National Historic Site
527 Cape Krusenstern National Monument
529 Eisenhower National Historic Site
530 Lake Roosevelt National Recreation Area
531 Minidoka National Historic Site
532 Mojave National Preserve
533 Rainbow Bridge National Monument
534 Saugus Iron Works National Historic Site
535 Walnut Canyon National Monument
536 Wupatki National Monument
537 Zion National Park
538 General Grant National Memorial
539 Klondike Gold Rush National Historical Park
540 Kobuk Valley National Park
541 Lyndon B Johnson National Historical Park
543 Reconstruction Era National Historical Park
544 Yucca House National Monument
id \
0 6B1D053D-714F-46D1-B410-04BE868F14C1
1 0265E5A4-576A-4626-882A-05971DEE9B76
2 35CB040E-765C-47D0-A594-05943E64EF3E
3 DE70B987-01A4-4BA5-9662-030BE3329AB3
4 D57C8F0D-71E9-46D7-B00B-001BC7E39096
5 C1713EAF-0437-4CE1-8CFB-04147E1318F3
6 C8C207D8-49C4-4891-9915-0007205A0284
7 BA3C1A1D-AA6A-49EB-9237-0222CEEE2670
8 CCE1AD17-9B13-4D74-9CAC-0278D5477316
9 D09FF0F8-B16E-4D2B-9C37-03202D6B8176
10 E7E4E103-5FA9-45AC-8843-05DE554CDBB7
11 F4D44F29-3F67-498F-B05B-0783473D2708
12 167A05D1-5793-49E0-89FE-0A1DDFA9A7F4
14 5AD68231-8681-43F6-89B1-08E5AA4C7FE6
15 F6D0ABED-2C07-4194-8CB7-09476271EDB9
16 067468EC-25DB-447C-91A8-068C167EEF32
17 7F402367-BA37-4B9B-85BD-05A7679CD449
18 1EAEF5FA-8CD4-40D7-8B09-07F20E3E5AA5
19 249AF67F-BB6C-4D0A-B632-07BEE855D24B
20 5CB26B91-B888-46E0-95E1-0683A63C45B0
21 DE0A8012-5324-4F5C-98DA-0EE6589FDFB3
23 F6831504-A456-45C8-B87B-0FCE1D849A12
24 52430E36-3361-4BB8-BE6F-0F2834E50CB3
25 BC195D18-71C8-4A99-BF8E-10BFAB849679
26 A1994071-1BCB-4C14-9C21-108348882067
27 9CFF594A-8DB1-4377-BE2A-10CC2B0C47E1
28 406594CB-1532-45CD-82EA-0C03FD2F0422
29 CEC2A157-CDDC-4F11-BBE5-0AA2CEA35ADB
30 BA5A0D58-E05F-44AE-94F1-10A88A4AF143
31 4E7F8D4B-68EC-4A1B-BB71-0A295EB08557
.. ...
512 05F2A0A7-317D-4C4F-95D6-F046BE96310C
513 E1A636E5-E7AC-4B71-93DE-F1408F65C458
514 89157226-8474-4BAE-B471-F1730993A468
515 CEC8BD62-9229-4455-ABE8-F4310F4AB623
516 3262234F-A56A-447D-AE6C-F5C734ABD3A4
517 F6555AB7-654F-4418-8827-F91F54536C04
518 5595FC7A-F218-4439-8D2E-F47449838820
519 9192FFEE-4D88-4A03-A054-F47C33F0C3E9
520 80E30980-1B26-4AE7-A039-FA7D8D119070
521 76F393BA-D39F-43E9-B0A3-F746E2FEAD85
522 8AF6DC1B-724A-42EB-A859-F53876D5DD53
523 2435970E-D5E5-4E5B-93A0-F72D48DB2BE8
524 69F87C0F-AABE-4C34-97D3-F6DF33ACD772
525 7E946FDE-C454-4361-98A5-F60158B42770
527 77566B98-D9CC-40FB-AA6E-FAA0F56E2059
529 29621EB6-DFBA-40DD-A880-FE29BE9EE2D7
530 B548FF88-8155-4E56-8E77-FB140D06E1EC
531 FE52067B-EBB9-4FD2-B613-FE778985BAD9
532 D509DC08-53AD-4661-A2EA-FC69BE456E50
533 CF02A7E7-147F-4F1C-966B-FE3F2AE28DDC
534 A83EFD38-9FCF-4996-A957-FE416A8C6B6D
535 8DFC9C19-FF0A-4B48-A34F-FD3D02BFE100
536 686C8EC8-5487-43B9-B5E8-FCABD56227F0
537 41BAB8ED-C95F-447D-9DA1-FCC4E4D808B2
538 99F1F4ED-5B14-4756-B0EB-FF251B1A12BD
539 5D4AA834-B601-44A8-B786-FF3306BA8A39
540 691831BF-F280-4E02-BF4A-FF476BC66B23
541 ECDFABE2-6448-46EA-886E-FE79ACBBF16E
543 31B7A1C7-104D-4D35-BC85-FEFAC3FECEB0
544 9854D136-AFC0-4966-BB40-FE9323B56A49
latLong \
0 lat:37.58399144, long:-112.1826689
1 lat:43.08095081, long:-91.19687517
2 lat:40.79689857, long:-81.37579869
3 lat:30.59930381, long:-103.8961904
4 lat:43.21053441, long:-75.45557626
5 lat:42.36819596, long:-73.70834257
6 lat:39.9818229675293, long:-84.0711364746094
7 lat:38.85301412, long:-76.98495791
8 lat:29.31262089, long:-98.4289522
9 lat:37.38623205, long:-76.29900672
10 lat:38.89231541, long:-77.00381882
11 lat:41.26093905, long:-81.57116722
12 lat:24.64884965, long:-82.87176297
14 lat:32.14925942, long:-109.451132
15 lat:39.77543423, long:-79.92504169
16 lat:42.9128920286894, long:-76.5646715462208
17 lat:33.18713877, long:-111.9192737
18 lat:38.88927229, long:-77.05017778
19 lat:36.72559195, long:-118.1547177
20 lat:45.70019235, long:-92.36126685
21 lat:41.92381465, long:-70.04319832
23 lat:38.86298458, long:-76.98508147
24 lat:38.28277118, long:-77.6470428
25 lat:67.75961636, long:-153.2917758
26 lat:38.20614947, long:-81.00420836
27 lat:37.20027185, long:-76.75469561
28 lat:42.79413083, long:-99.91870646
29 lat:37.13968894, long:-91.25709817
30 lat:40.88579128, long:-73.49686438
31 lat:34.35423203, long:-106.2050309
.. ...
512 lat:46.07019093, long:-115.8761258
513 lat:29.52743158, long:-102.5979169
514 lat:35.87608652, long:-86.43078399
515
516 lat:45.64647324, long:-113.6458443
517 lat:34.50611958, long:-88.72889343
518 lat:33.98680093, long:-119.9112735
519 lat:39.3909816, long:-77.89763546
520 lat:38.46584558, long:-107.3303371
521 lat:38.92711967, long:-94.5162488
522 lat:42.0397300720215, long:-73.9580383300781
523 lat:42.201158, long:-71.668818
524 lat:37.90999027, long:-122.360156
525 lat:40.89283511, long:-73.82577276
527 lat:67.41499986, long:-163.5037786
529 lat:39.79577592, long:-77.26508101
530 lat:48.17148735, long:-118.3513713
531 lat:42.80586068, long:-114.4449868
532 lat:35.12485941, long:-115.5168258
533 lat:37.07788771, long:-110.9655099
534 lat:42.46830664, long:-71.0076953
535 lat:35.16822994, long:-111.5024239
536 lat:35.55741077, long:-111.3957216
537 lat:37.29839254, long:-113.0265138
538 lat:40.81332817, long:-73.96331542
539 lat:59.61042373, long:-135.2618535
540 lat:67.35631336, long:-159.2002293
541 lat:30.2519655, long:-98.60692433
543 lat:32.3868598937988, long:-80.6511077880859
544 lat:37.24778944, long:-108.6861274
name parkCode states \
0 Bryce Canyon brca UT
1 Effigy Mounds efmo IA
2 First Ladies fila OH
3 Fort Davis foda TX
4 Fort Stanwix fost NY
5 Martin Van Buren mava NY
6 National Aviation avia OH
7 National Capital Parks-East nace DC
8 San Antonio Missions saan TX
9 Yorktown Battlefield york VA
10 Belmont-Paul Women's Equality bepa DC
11 Cuyahoga Valley cuva OH
12 Dry Tortugas drto FL
14 Fort Bowie fobo AZ
15 Friendship Hill frhi PA
16 Harriet Tubman hart NY
17 Hohokam Pima pima AZ
18 Lincoln Memorial linc DC
19 Manzanar manz CA
20 Saint Croix sacn WI,MN
21 Cape Cod caco MA
23 Frederick Douglass frdo DC
24 Fredericksburg & Spotsylvania frsp VA
25 Gates Of The Arctic gaar AK
26 Gauley River gari WV
27 Historic Jamestowne jame VA
28 Niobrara niob NE
29 Ozark ozar MO
30 Sagamore Hill sahi NY
31 Salinas Pueblo Missions sapu NM
.. ... ... ...
512 Nez Perce nepe ID,MT,OR,WA
513 Rio Grande rigr TX
514 Stones River stri TN
515 Wing Luke Museum wing WA
516 Big Hole biho MT
517 Brices Cross Roads brcr MS
518 Channel Islands chis CA
519 Chesapeake & Ohio Canal choh DC,MD,WV
520 Curecanti cure CO
521 Harry S Truman hstr MO
522 Hudson River Valley hurv NY
523 John H. Chafee Blackstone River Valley blac MA,RI
524 Rosie the Riveter WWII Home Front rori CA
525 Saint Paul's Church sapa NY
527 Cape Krusenstern cakr AK
529 Eisenhower eise PA
530 Lake Roosevelt laro WA
531 Minidoka miin ID,WA
532 Mojave moja CA
533 Rainbow Bridge rabr UT
534 Saugus Iron Works sair MA
535 Walnut Canyon waca AZ
536 Wupatki wupa AZ
537 Zion zion UT
538 General Grant gegr NY
539 Klondike Gold Rush klgo AK
540 Kobuk Valley kova AK
541 Lyndon B Johnson lyjo TX
543 Reconstruction Era reer SC
544 Yucca House yuho CO
url \
0 https://www.nps.gov/brca/index.htm
1 https://www.nps.gov/efmo/index.htm
2 https://www.nps.gov/fila/index.htm
3 https://www.nps.gov/foda/index.htm
4 https://www.nps.gov/fost/index.htm
5 https://www.nps.gov/mava/index.htm
6 https://www.nps.gov/avia/index.htm
7 https://www.nps.gov/nace/index.htm
8 https://www.nps.gov/saan/index.htm
9 https://www.nps.gov/york/index.htm
10 https://www.nps.gov/bepa/index.htm
11 https://www.nps.gov/cuva/index.htm
12 https://www.nps.gov/drto/index.htm
14 https://www.nps.gov/fobo/index.htm
15 https://www.nps.gov/frhi/index.htm
16 https://www.nps.gov/hart/index.htm
17 https://www.nps.gov/pima/index.htm
18 https://www.nps.gov/linc/index.htm
19 https://www.nps.gov/manz/index.htm
20 https://www.nps.gov/sacn/index.htm
21 https://www.nps.gov/caco/index.htm
23 https://www.nps.gov/frdo/index.htm
24 https://www.nps.gov/frsp/index.htm
25 https://www.nps.gov/gaar/index.htm
26 https://www.nps.gov/gari/index.htm
27 https://www.nps.gov/jame/index.htm
28 https://www.nps.gov/niob/index.htm
29 https://www.nps.gov/ozar/index.htm
30 https://www.nps.gov/sahi/index.htm
31 https://www.nps.gov/sapu/index.htm
.. ...
512 https://www.nps.gov/nepe/index.htm
513 https://www.nps.gov/rigr/index.htm
514 https://www.nps.gov/stri/index.htm
515 https://www.nps.gov/wing/index.htm
516 https://www.nps.gov/biho/index.htm
517 https://www.nps.gov/brcr/index.htm
518 https://www.nps.gov/chis/index.htm
519 https://www.nps.gov/choh/index.htm
520 https://www.nps.gov/cure/index.htm
521 https://www.nps.gov/hstr/index.htm
522 https://www.nps.gov/hurv/index.htm
523 https://www.nps.gov/blac/index.htm
524 https://www.nps.gov/rori/index.htm
525 https://www.nps.gov/sapa/index.htm
527 https://www.nps.gov/cakr/index.htm
529 https://www.nps.gov/eise/index.htm
530 https://www.nps.gov/laro/index.htm
531 https://www.nps.gov/miin/index.htm
532 https://www.nps.gov/moja/index.htm
533 https://www.nps.gov/rabr/index.htm
534 https://www.nps.gov/sair/index.htm
535 https://www.nps.gov/waca/index.htm
536 https://www.nps.gov/wupa/index.htm
537 https://www.nps.gov/zion/index.htm
538 https://www.nps.gov/gegr/index.htm
539 https://www.nps.gov/klgo/index.htm
540 https://www.nps.gov/kova/index.htm
541 https://www.nps.gov/lyjo/index.htm
543 https://www.nps.gov/reer/index.htm
544 https://www.nps.gov/yuho/index.htm
weatherInfo
0 http://forecast.weather.gov/MapClick.php?lat=3...
1 All four seasons are represented in this area ...
2 The weather at First Ladies National Historic ...
3 Summer Temperatures average a High of 95 and l...
4 The Park lies within a temperate zone and expe...
5 The weather at Martin Van Buren National Histo...
6 The National Aviation Heritage Area lies in a ...
7 Summers are generally hot and humid, with dayt...
8 Over the course of a year, the temperature typ...
9 Yorktown, VA climate is warm during summer whe...
10 Washington DC gets to see all four seasons. Hu...
11 Spring's rain and warming temperatures bring n...
12 The climate in the Dry Tortugas is subtropical...
14 Please check the Fort Bowie weather page for u...
15 Weather varies considerably within each season...
16 Auburn, New York has four distinct seasons. Fa...
17 Park is not open to the public. Desert landsca...
18 Washington DC gets to see all four seasons. Hu...
19 Manzanar is located in the Owens Valley at 4,0...
20 Access to the Riverway is year-round. Early sp...
21 Cape Cod's weather is generally moderated by i...
23 Winter: Temperatures usually range from 30 to ...
24 The regional climate is characterized by mild ...
25 The climate of Gates of the Arctic National Pa...
26 Weather in the Appalachian Mountains can be un...
27 http://www.nps.gov/jame/planyourvisit/weather....
28 Summer (June-August): highs - low 80s to low 1...
29 Ozark National Scenic Riverways is located in ...
30 The Atlantic Ocean and Long Island Sound moder...
31 Salinas Pueblo Missions is at 6100-6500 ft (18...
.. ...
512 Elevations in the Park range from 700 feet abo...
513 Variable\n-- February-April: High temperatures...
514 Summer is hot and humid with highs in the 90s....
515 The Wing Luke may close in the case of incleme...
516 This climatic region is typified by large seas...
517 Mississippi is classified as a humid subtropic...
518 In general, the islands have a Mediterranean c...
519 The Washington, D.C. area has a four-season Mi...
520 Weather can vary greatly throughout the day. S...
521 Located on the western edge of Missouri, the p...
522 For details and information, please visit, www...
523 Summer temperatures range from 56-83F. Fall te...
524 Weather typical for San Francisco Bay Area. C...
525 The weather in New York City is basically the ...
527 Snow, rain, and freezing temperatures can occu...
529 http://www.wunderground.com/cgi-bin/findweathe...
530 Lake Roosevelt is generally a cool or cold pla...
531 Jerome and Twin Falls, Idaho, gets 10 inches o...
532 Mojave Desert experiences change with the seas...
533 Summers are extremely hot with little, if any,...
534 Hot, humid in the summer. Cold, snowy in winte...
535 Be prepared for variable and extreme weather c...
536 Be prepared for variable and extreme weather c...
537 Zion is known for a wide range of weather cond...
538 http://forecast.weather.gov/MapClick.php?CityN...
539 Skagway has a highly variable climate with fre...
540 Snow, rain, and freezing temperatures can occu...
541 Overall, the park enjoys a sunny, mild climate...
543
544 Spring and Fall are mild with daytime temperat...
[496 rows x 12 columns]