This section uses the Yelp Fusion API to answer the question:
“Where is the best Cuban food in Seattle?”
In doing so, it demonstrates how to request data from an API, and process/analyze the results of that request. Using
Note: You will need to obtain two API Keys in order to run the code: one from the Yelp API, and another from the Google Maps API. Once you have obtained these keys, we suggest you save them in the api_key.R.
This project uses the results from the Yelp API to generate the following map of Cuban restaurants in Seattle (which will reflect the current ratings on Yelp, and so may differ from the book):