Module 2: R for science

This module will guide you through manipulation and vizualization of data in R

1What's a data frame?

2subset a data frame

3dplyr

4dplyr (continued)

5tidyr and tibble

6packge: ggplot2

7time series in ggplot

8advanced time series plot

8maps

About this course

This is a free, open source course on how to use different Data Science Techniques and Tools to make your science FAIR. It is made possible by a grant from the National Science Foundation RISE2324732. Contributions and comments on how to improve the course are welcome! To file an issue go to: https://github.com/LinkedEarth/LeapFROGS/issues

About EarthCube

The sharing of open source data, code, and workflows is fundamental to the building of a FAIR (Findable, Accessible, Interoperable, and Reusable) research ecosystem. Open source tools allow for a community to come together and contribute to the development and improvement of research infrastructure. Such collaborations lead to more robust and efficient solutions, as well as increased transparency and accessibility.The geoscience community is only now beginning to harness the power of the open source model, and formal training on the benefits and proper use of this model is still missing from most geoscience curricula. While computer science courses may provide some level of training, the technical details often do not align with the specific needs of geoscientists. Our objective is to build human infrastructure to promote reproducible and transparent geoscience by educating geoscientists on the effective utilization of open source resources through practical applications in their own scientific research.