Solutions

This site hosts a repository of solutions for a number of Duke programming classes taken during the Fall 2022 semester. All problem sets can be found under the navigation bar or linked here on the homepage. This website is fully built with Quarto and deployed with Netlify.

All source code:

Problem sets in:

Contact:

@andreweatherman @andreweatherman

SOC 223 (R):

Week 1

  • Focuses on the basics of reading in and understanding data in R. Uses nrow, ncol, and class. Practices with causact::baseballData.

Week 2

  • Focuses on the basics of plotting data with ggplot2 and reading statistical distributions from plots. Practices with Olympic data supplied by the course instructor.

SOC 367S (R):

Week 1

  • Focuses on the basics of reading in and understanding data in R. Uses mean, max, and class. Practices with congress data supplied by the course instructor.

CS 201 (Java):

CS 216 (Python):

Week 1

  • Focuses on the basics of working with text data and reading in and cleaning .CSVs in pandas. Practices with data supplied by the course instructor.