Course materials for MPJO-722-01, Georgetown University
This project is maintained by dwillis
SQL: Complete Part 3 of the SQLite tutorial. It’s long; start early.
SQL: Using your existing fec.sqlite file, download this CSV file of expenditures by the Senate campaign of Josh Mandel. Import it into the fec database, creating a table called mandel. Look at the CSV file in Excel before you define the fields in SQLite – be sure to define the zip field as VARCHAR, not INTEGER. Define the amount, month, day and year fields as INTEGER.
Once you’ve done that, write queries to do the following, using wildcards (but not always) and GROUP BY:
Email me both the fec.sqlite file as an attachment (don't export the data) and the SQL from your queries (I can check the results) by 5:20 p.m. on Feb. 19.