Although there are many datasets available in convenient formats like CSVs, there is also a large amount of data that is accessible only via an API. If you want to analyze streaming data from Twitter, for example, or dig into posting trends on Reddit, you need to get that data from the relevant APIs.
In this course, you’ll learn the fundamentals of APIs, such as connecting to an open API and interpreting different status codes. You’ll also learn how to work with the JSON data format in R (since most data from APIs will be in JSON format). Then, you’ll tackle more complex tasks like authenticating with private APIs and submitting more complex requests.
Best of all, you’ll learn by doing — you’ll practice and get feedback directly in the browser. The course concludes with a guided project that asks you to assemble a full data analysis project using an API to get data on New York’s solar energy resources.
- Querying external data sources using an API
- Querying using an API with authentication
- Interpreting various API status codes
Introduction to APIs in R [4 lessons]
Projects in this course
The Dataquest guarantee
Dataquest has helped thousands of people start new careers in data. If you put in the work and follow our path, you’ll master data skills and grow your career.
We believe so strongly in our paths that we offer a full satisfaction guarantee. If you complete a career path on Dataquest and aren’t satisfied with your outcome, we’ll give you a refund.