Open RodBarnes opened 1 year ago
UPDATE: Further testing seems to indicate that the q
parameter is a full text search? But, even then, in my example of "Dog Sledding" the "Aleutian Islands World War II National Historic Area" site comes up and it contains neither of the words "Dog" or "Sledding" anywhere in the record.
Below is one example but I've seen this same behavior in every use of the
q
parameter. A request for all Parks that have the Activity "Dog Sledding" results in a result set of 36 Parks, many of which do not have "Dog Sledding" in their Activities.https://developer.nps.gov/api/v1/parks?start=0&limit=700&q=activity%3DDog%20Sledding
The first site returned -- Aleutian Islands World War II National Historic Area -- seems like one that would have that Activity but it is not in the list:
I've tried
q=activity%3DDog%20Sledding
returns 36q=activities%3DDog%20Sledding
returns 42q=Dog%20Sledding
returns 13Though all include that first entry -- Aleutian Islands World War II National Historic Area -- despite that it does not list "Dog Sledding" in the Activities or any where else in its data record.
I've downloaded the entire Parks.json (for testing and research), and a text search of that content finds only 4 sites that have the Activity "Dog Sledding":