Exploring an API to find and collect temperature data
In Chapter 2, Working with Pandas DataFrames, we worked on data collection and how to perform an initial inspection and filtering of the data; this usually gives us ideas of things that need to be addressed before we move further in our analysis. Since this chapter builds on those skills, we will get to practice some of them here as well. To begin, we will start by exploring the weather API that's provided by the NCEI. Then, in the next section, we will learn about data wrangling using temperature data that was previously obtained from this API.
Important note
To use the NCEI API, you will have to request a token by filling out this form with your email address: https://www.ncdc.noaa.gov/cdo-web/token.
For this section, we will be working in the 2-using_the_weather_api.ipynb
notebook to request temperature data from the NCEI API. As we learned in Chapter 2,Working with Pandas DataFrames, we can use the requests...