Class 14, Friday, February 16
String and CSV Chrestomathics
Our family rule – When asked what is the weather – The forecast is pain
Look both ways
Agenda
- Chresthomatics
- CSV processing
Checkout
-
forecast.weather.gov/zipcity.php?inputstring=22903
Examples
- Analyzes a dataset of best selling fiction
Book, Author, Language, Date, Sales
Don Quixote, de Cervantes, Spanish, 1605, 500000000
A Tale of Two Cities, Dickens, English, 1859, 200000000
The Lord of the Rings, Tolkien, English, 1954, 150000000
The Little Prince, de Saint-Exupéry, French, 1943, 140000000
Harry Potter and the Philosopher's Stone, Rowling, English, 1997, 120000000
The Hobbit, Tolkien, English, 1937, 100000000
And Then There Were None, Christie, English, 1939, 100000000
Dream of the Red Chamber, Xueqin, Chinese, 1754, 100000000
Alice's Adventures in Wonderland, Carroll, English, 1865, 100000000
- Produces a weather forecast for a user-specified zipcode.
- Determines a rough estimate of the geocenter of continental USA by making use of CSV dataset continental-usa.csv.
Homework
Aesthetics
- Future criteria
To do
- Review artifacts
Warning: fopen(/l/cs1112/public_html/defs/htm/181-trailer): Failed to open stream: No such file or directory in /l/cs1112/public_html/defs/php/read.php on line 5
Unable to open file!