carpentries-incubator / R-archaeology-lesson

Data Analysis and Visualization in R for Archaologists, modified from the Data Carpentry R Workshop for Ecologists. Course site at https://carpentries-incubator.github.io/R-archaeology-lesson/

Home Page:https://carpentries-incubator.github.io/R-archaeology-lesson/

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Data carpentry: R for data analysis and visualization of Archaological Data

N.B. This repository is an adaptation of the Data Carpentries R Ecology lesson (https://datacarpentry.org/R-ecology-lesson/). The aim is to modify it to use archaeological data. Currently it is a work in progress so will include references to ecology as well as archaeology.

This is an introduction to R designed for participants with no programming experience. It can be taught in 3/4 of a day (approximately 6 hours). The lesson starts with some basic information about syntax for the R programming language, the RStudio interface, and moves through to specific programming tasks, such as importing CSV files, the structure of data frame objects in R, dealing with categorical variables (i.e. factors), basic data manipulation (adding/removing rows and columns), and finishing with calculating summary statistics and a brief introduction to plotting. There is also a lesson on how to use databases from R that is intended to be taught after the SQL lesson, and ideally at the end of a Data Carpentry workshop.

Prerequisites

The lesson assumes no prior knowledge of R or RStudio. Learners should have R and RStudio installed on their computers. They will also need to be able to install R packages from CRAN, create directories, and download files. See the lesson website for instructions on installing R, RStudio, and the required R packages.

Topics

Code handout

There is a code handout that is intended to be distributed to the participants. This file includes some of the examples used during teaching and the titles of the section. It provides a guide that the participants can fill in as the lesson progresses. Participants can also source code from this file to avoid typos in more complex examples.

Contributing

Contributions to the content and development of these lesson are very welcome! If you would like to contribute, we encourage you to review our contributing guide.

Questions

If you have any questions or feedback, please open an issue, or contact the maintainers:

  • Alison Clarke

About

Data Analysis and Visualization in R for Archaologists, modified from the Data Carpentry R Workshop for Ecologists. Course site at https://carpentries-incubator.github.io/R-archaeology-lesson/

https://carpentries-incubator.github.io/R-archaeology-lesson/

License:Other


Languages

Language:R 52.6%Language:HTML 40.1%Language:CSS 4.8%Language:Makefile 2.5%