What This Document Is
This document is a practice midterm problem (Problem 14) from Computing for Data Analysis (CSE 6040) at Georgia Tech. It presents a data scraping challenge using Python, focused on extracting approval ratings data from a FiveThirtyEight webpage. The problem provides the URL for the webpage and a link to a PDF containing the source code.
Why This Document Matters
This practice problem is designed for students enrolled in CSE 6040 to test their ability to apply Python skills to real-world data extraction tasks. It’s used as preparation for a midterm exam, specifically assessing skills in handling raw data formats and applying basic computational problem-solving techniques. It’s valuable for anyone needing to practice web data extraction without requiring HTML or JavaScript expertise.
Common Limitations or Challenges
This document provides the problem statement and initial setup code, but it does *not* offer a solution. Students are expected to independently develop the Python code to parse the HTML and extract the desired data. It also assumes a basic understanding of Python syntax and file handling.
What This Document Provides
This document includes:
* The full text of Practice Midterm 1, Problem 14.
* A URL to the FiveThirtyEight webpage containing the data.
* A URL to a PDF of the webpage’s source code.
* Python code for downloading and verifying the data file.
* A sample snippet of the raw HTML to illustrate the data’s structure.
This preview *does not* include a solution to the data scraping problem, nor does it provide detailed explanations of HTML parsing techniques. It only presents the problem statement and the resources available to solve it.