6. Lab: Women on High Courts

6. Lab: Women on High Courts

🎯 Learning Goals

  • Apply SQL learnings from previous lessons to explore and clean a data set
  • Export a data set from SQLite to CSV

📗 Technical Vocabulary

  • Data visualization

The Women on High Courts Data Set

In this lab, we will be working with the Women on High Courts data set. This data set was assembled by researchers interested in tracking how many women serve on judicial high courts throughout the world. There are three kinds of high courts represented in the dataset:
  • Appellate Courts
    • These courts review decisions made by lower courts (trial courts) to determine if legal errors occurred.
    • In the U.S., appellate courts include the U.S. Courts of Appeals (Circuit Courts) and state-level appellate courts.
  • Supreme Courts
    • The highest judicial authority in a country or state.
    • They have the final say on legal disputes and interpret laws, including constitutional matters.
    • In the U.S., the Supreme Court of the United States (SCOTUS) is the highest court, while each state also has its own supreme court.
  • Constitutional Courts
    • These courts specifically rule on constitutional matters, determining whether laws or government actions violate the constitution.
    • Some countries have a separate constitutional court (e.g., Germany’s Federal Constitutional Court), while others, like the U.S., handle constitutional issues within their supreme court.
👥
Discuss: Why do you think these researchers felt it was important to track the proportion of women judges on these courts? Do you think it is important? Why or why not?

Exploring the Dataset

Visualizations for the dataset are available here:
We will talk more about data visualizations in a later lesson. For now, take a few minutes to explore the visualizations on the site.
👥
Discuss: What are some key takeaways from the data visualizations that you noticed?

Working with the Dataset

Fork this Replit and follow along:

Review files

What files are present? What purpose do each of them serve?
Open up the documentation file in the data directory and scroll to page 6. Take a few minutes to read through the descriptions of the different fields in the dataset.
✏️

Code-Along and Try-It

Complete the code-along and try-it exercises in the Replit with your ILs and your group!

Exporting Data

After you complete the exercises, follow the directions at the end of main.sql to export your data! Open up the exported .csv file. Are the anomalies you fixed gone?
 
page icon
For a summary of this lesson, check out the 6. Lab: Women on High Courts One-Pager!