Editing Intro to Programming and Data Science (Fall 2023)/Week 9 Coding Challenges
From CommunityData
Warning: You are not logged in. Your IP address will be publicly visible if you make any edits. If you log in or create an account, your edits will be attributed to your username, along with other benefits.
The edit can be undone. Please check the comparison below to verify that this is what you want to do, and then publish the changes below to finish undoing the edit.
Latest revision | Your text | ||
Line 1: | Line 1: | ||
In our earlier assignment, we played around with the | In our earlier assignment, we played around with the Twitter API and you learned how to query APIs. In the project, we're going to try to move from this technical understanding to actually using APIs to answer real questions. | ||
Do the following, in a Jupyter notebook: | Do the following, in a Jupyter notebook: | ||
Line 5: | Line 5: | ||
'''The Question''' | '''The Question''' | ||
Identify a question that | Identify a question that Twitter data (or data gathered from another API) could help you to answer. Figure out a query that would gather that data. | ||
* Explain the question you would like to answer, and why it is interesting. | * Explain the question you would like to answer, and why it is interesting. | ||
Line 12: | Line 12: | ||
'''Gathering Data''' | '''Gathering Data''' | ||
* Save the '''raw data''' that | * Save the '''raw data''' that Twitter returns in a .json file | ||
* Write code that filters the data into what you are interested in and saves it as a CSV file. | * Write code that filters the JSON data into what you are interested in and saves it as a CSV file. | ||
'''Analysis''' | '''Analysis''' |