Methods in Open Science


The primary goal of this course is to explore methods that scientists and analysts use to process, explore, and analyze data; document, present, and communicate results; and generate useful knowledge from raw data using reproducible methods. The more conceptual material is predominantly presented using web-based slides and modules. We have provided PDF versions of the lectures with the notes included. We have also provided materials associated with learning to code and analyze data in both the Python and R languages and computational environments. This material is intentionally redundant: you can complete the assignments in the language of your choosing or attempt them in both environments. In the world of data science, Python and R are both used, and many practitioners are bilingual. So, we have included examples in both languages. This material is presented as webpages with code examples and explanations, videos, examples, and assignments.

This course is meant for those who have no prior experience working with data analytics or coding. So, it is fine if these concepts are completely new to you. We have tried to focus on key concepts and hands-on applications. Once you have completed this course, you may want to take a deeper dive into some of the topics discussed.

Methods in Open Science

After completing this course you will be able to:

  • explain the characteristics of data and the methods we use to extract useful information from them.
  • implement data cleaning, manipulation, and summarization to prepare raw data as input to additional analyses.
  • code at an intermediate level in the Python or R language/computational environment.
  • construct effective graphs and data visualizations.
  • execute and interpret statistical tests and assess the appropriateness of tests and input data for exploring a specific hypothesis.
  • critique modeling methods for making predictions and assess model output.
  • perform data science experiments to address specific questions using appropriate techniques and data.

This course was produced by West Virginia View (www.wvview.org) with support from AmericaView (americaview.org). This material is based upon work supported by the U.S. Geological Survey under Grant/Cooperative Agreement No. G18AP00077 and G23AP00683. The views and conclusions contained in this document are those of the authors and should not be interpreted as representing the opinions or policies of the U.S. Geological Survey. Mention of trade names or commercial products does not constitute their endorsement by the U.S. Geological Survey. This course and associated materials were also supported by the National Science Foundation (NSF) (Federal Award ID No. 2046059: "CAREER: Mapping Anthropocene Geomorphology with Deep Learning, Big Data Spatial Analytics, and LiDAR").

Course content generated by West Virginia View (WV View) are licensed under CC BY-NC-SA 4.0.

© [2026] West Virginia View (WV View). Unless otherwise noted, this work is licensed under a Creative Commons Attribution-NonCommercial-ShareAlike 4.0 International License (CC BY-NC-SA 4.0). You are free to share and adapt these materials for non-commercial purposes, provided you give appropriate credit and distribute any derivative works under the same license. To view a copy of this license, visit https://creativecommons.org/licenses/by-nc-sa/4.0/.

Suggested attribution string: "[Title of Material]" by West Virginia View (WV View) is licensed under CC BY-NC-SA 4.0. Available at [URL].


Card Types: Lecture Assignment Resource Video Code

Getting Started

Introduction

HTML PDF

Setup Computational Environment

HTML

Environment YML files

Data

Data Download

Data

Python Language

HTML

Python Open Data Science

HTML

R Open Data Science

HTML

Foundations

Data

HTML PDF

Computers

HTML PDF

Coding

HTML PDF

Version Control, Markdown, and Quarto

HTML PDF

Python Intro

HTML

Python Functions and Loops

HTML

R Intro

HTML

R Functions and Loops

HTML

R Strings and Factors

HTML

Control Flow/Loops

PDF

File/Folder Processing

PDF

Functions 1

PDF

Functions 2

PDF

Data Exploration and Engineering

Explore Data

HTML PDF

Data Engineering

HTML PDF

Python NumPy

HTML

Python Pandas

HTML

R tidyverse

HTML

DC vs. Marvel

PDF

US County Query/Summary

PDF

Data Visualization

Python Graphing

HTML

R Graphing

HTML

R Graphing 2

HTML

US County Graphs

PDF

Skyrim/Elden Ring Graphs

PDF

Time Series Graphs

PDF

Graph Editing

PDF

Coal Quality

PDF

Periodic Table

PDF

Exoplanets

PDF

Inference

Inference

HTML PDF

Python Inference

HTML

R Inference

HTML

Manual T-Test

PDF

ANOVA and Sample Size

PDF

Modeling and Machine Learning

Modeling

HTML PDF

Assessment

HTML PDF

Machine Learning

HTML PDF

Improving Models

HTML PDF

Python ML

HTML

Python EBMs

HTML

R Regression

HTML

R Random Forests

HTML

Single Regression

PDF

Multiple Regression

PDF

Accuracy Assessment

PDF

ML with RF

PDF

ML Algorithm Compare

PDF

ML Feature Space Compare

PDF

Other Topics

Conclusions

HTML PDF