EDS 221
  • home
  • syllabus
  • daily materials
    • day 1 (8/12)
    • day 2 (8/13)
    • day 3 (8/14)
    • day 4 (8/15)
    • day 5 (8/16)
    • day 6 (8/19)
    • day 7 (8/20)
    • day 8 (8/21)
    • day 9 (8/22)
    • day 10 (8/23)

Scientific Programming Essentials

Master of Environmental Data Science (MEDS)

Summer 2024

A friendly yellow python in a teal beanie helpfully holds a ball of yarn, which is being used by a round hedgehog to knit a teal and yellow mitten. A squirrel on a drum labeled 'SQL' paints an 'R' to make it read 'SQ(R)L' (which may be read as 'squirrel'). The goal is to show Python, R, and SQL together in polyglot workflows facilitated by R Markdown / Quarto.

Artwork by Allison Horst

Course Description

This course teaches key scientific programming skills and demonstrates the application of these techniques to environmental data analysis and problem solving. Topics include structured programming and algorithm development, flow control, simple and advanced data input-output and representation, functions and objects, documentation, testing and debugging. The course will be taught using a combination of the R and Python programming languages.

By the end of EDS 221, students should be able to:

  • Understand, create, and work with different data structures (e.g. vectors, data frames, lists) and types (e.g. numeric, character, factor, logical, date-times)

  • Design, implement, test, and document functions, including functions with iteration, conditionals, messages, and warnings in R

  • Use basic (non-collaborative) project-oriented workflos with reproducible code (R scripts, Quarto documents, Jupyter notebooks) and version control (git/GitHub basics)

  • Perform basic data wrangling and visualization with real world environmental data and tidyverse packages (in R)

  • Employ troubleshooting and debugging strategies including tools, mindsets, strategies, and resources

Teaching Team


Instructor

Ruth Oliver
Email: rutholiver@ucsb.edu
Learn more: ryoliver-lab.github.io

TA

Anna Pede
Email: acostolapede@ucsb.edu
Learn more: Bren profile

Acknowledgements

EDS 221 was originally developed and taught by Allison Horst. This new website houses materials which are heavily reused, adapted from, and inspired by Allison’s original work.

The Bren School of Environmental Science & Management logo

 

This website is built with , and Quarto