The TSA tracks passanger claims for things like lost property, personal injury, and damaged items. Using this spreadsheet of claims from 2014, write a program that prints out the total dollar value (the "Close Amount") of claims by each airline. You can style your output any way you'd like, but please make it as human readable as possible (e.g. don't just print out a big dictionary).
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| import requests | |
| from bs4 import BeautifulSoup | |
| # Set the variable `url` to a URL of your choice. | |
| url = 'https://www.crummy.com/software/BeautifulSoup/bs4/doc/' | |
| # Send a request to the URL and save what we get back in the variable `response` | |
| response = requests.get(url) | |
| # Get the raw text of the response. This will be a whole bunch of HTML. |
There is a body of caselaw around TSA claims, such as George v. Rehiel (TSA). Using the PDF of this case, write a program that:
- takes an string from the user [1]
- searches the George v. Rehiel PDF for the string
- prints the number of times the string occurs
[1] For full credit, you only need to accept unigrams (single words). If your program accepts bigrams (two word phrases) and trigrams (three word phrases), you will receive ten (10) points of extra credit.
Service: mhv-du-rx-service-api
Success definition: Got any response back from Oracle Health (including ER:Error business rejections). Failure = HL7 send timeout / no response.
Day total: 341 orders | 312 success | 29 failure | 91.5% response rate
OlderNewer