Skip to content
Snippets Groups Projects
Commit a8f11123 authored by Ashwin Maran's avatar Ashwin Maran
Browse files

add lab-p13 and p13

parent a666d2f3
No related branches found
No related tags found
No related merge requests found
Showing
with 923 additions and 0 deletions
# Lab-P13: SQL Databases and Plotting
In this lab, you'll learn to use SQL queries to extract data from a database. You will also write various plotting functions to visualize the extracted data.
-----------------------------
## Corrections/Clarifications
**Find any issues?** Please report to us:
- Ashwin Maran <amaran@wisc.edu>
- Brandon Tran <bqtran2@wisc.edu>
## Learning Objectives:
## Learning Objectives
In this lab, you will practice how to:
* use SQL queries to extract data from a database,
* use different SQL keywords to organize data,
* write different plotting functions to visualize data and engage in data exploration.
------------------------------
## Note on Academic Misconduct
You may do these lab exercises only with your project partner; you are not allowed to start
working on Lab-P13 with one person, then do the project with a different partner. Now may be a
good time to review [our course policies](https://cs220.cs.wisc.edu/s23/syllabus.html).
**Important:** P12 and P13 are two parts of the same data analysis.
You **cannot** switch project partners between these two projects.
If you partnered up with someone for P12, you have to sustain that partnership until the end of P13.
------------------------------
## Segment 0: Setup
Unlike previous labs, you will **not** be working on an Otter notebook in this lab. Most importantly, this means that `practice_test.py` will **not** be provided to you. There will be `assert` statements in your `practice.ipynb` notebook to guide you, but they will **not** be comprehensive. Instead, if you come across any syntactical or semantic errors, you will have to debug your code by yourself. Feel free to reach out to your TA or PM if you get stuck anywhere. and you will instead learn how to test your code by yourself.
You **will** however be provided with a `p13_test.py` for the project.
First, create a `lab-p13` directory and download the `practice.ipynb` file into the directory.
## Segments 1-3: Web Requests, Caching, DataFrames and Scraping
For the remaining segments, detailed instructions are provided in `practice.ipynb`. From the terminal, open a `jupyter notebook` session, open your `practice.ipynb` and follow the instructions in `practice.ipynb`.
## Project 13
You can now get started with [P13](https://git.doit.wisc.edu/cdis/cs/courses/cs220/cs220-s23-projects/-/tree/main/p13). **You may copy/paste any code created here in project P13**. Remember to only work on P13 with your partner from this point on. Have fun!
# Images
Images from lab-p13 are stored here.
lab-p13/images/barplot.png

12.2 KiB

lab-p13/images/columns.png

29.7 KiB

lab-p13/images/final.png

41.2 KiB

lab-p13/images/horizontalbarplot.png

8.34 KiB

lab-p13/images/inputs.png

11.5 KiB

lab-p13/images/piechart.png

14.6 KiB

lab-p13/images/regression.png

19.5 KiB

lab-p13/images/scatter-2.png

41.5 KiB

lab-p13/images/scatter.png

33.7 KiB

lab-p13/images/scatterplot.png

15.9 KiB

lab-p13/images/springs.png

76.3 KiB

lab-p13/images/tree-df-2.png

22.6 KiB

lab-p13/images/tree-df.png

31.5 KiB

This diff is collapsed.
p12/images/highest_ranked.PNG

14.4 KiB

p12/images/singapore_inst.PNG

23.4 KiB

p12/images/uw_madison.PNG

17.3 KiB

This diff is collapsed.
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment