Skip to content
Go to file

Latest commit


Git stats


Failed to load latest commit information.
Latest commit message
Commit time


DOI GitHub Release Travis-CI Build Status

This repository contains the data and code for our paper (in french):

Frerebeau, N., Ben Amara, A. et Cantin, N. (2020). Analyse de données de composition et identification des altérations géochimiques des matériaux céramiques : le cas des productions d’un atelier ibérique (Teruel, Espagne ; IIe-Ier siècles avant J.-C.). Archéosciences, revue d’Archéométrie, X, p. X-X. DOI :

The files hosted in this repository are the development versions and may have changed since the paper was published.

How to cite

Please cite this compendium as:

Frerebeau, N., Ben Amara, A. and Cantin, N. (2020). Compendium of R code and data for “Alterations of ceramic materials: compositional data analysis of an Iberian workshop (Teruel, Spain; 2nd-1st c. BC)”. Accessed 16 juin 2020. Online at


Text and figures: CC-BY-SA-4.0.

Code: see the DESCRIPTION file.

Datasets: CC-BY-SA-4.0.

How to download or install

You can download the compendium as a zip from from this URL.

Or you can install this compendium as an R package, TaphoCeram, from GitHub with:

# install.packages("remotes")

To download the package source as you see it on GitHub, for offline browsing, use this line at the shell prompt (assuming you have Git installed on your computer):

git clone


Once the download is complete, open the TaphoCeram.Rproj in RStudio to begin working with the package and compendium files.

The analysis/ directory contains:

  • The Rmarkdown source file of the manuscript (in the paper/ subdirectory),
  • All the figures generated from R code (in the figures/ subdirectory),
  • All the raw data files (in CSV format, in the data/ subdirectory),
  • Code files used for data cleaning (in the scripts/ subdirectory).

The R/ directory contains the custom R functions used in this project. Datasets (in RDA format) are located in the data/ directory.


The original manuscript was produced with R 3.6.3. See the DESCRIPTION file for a full list of the packages that this project depends on, including the suggested packages. The packrat/ directory contains the source code for all the packages we depend on. If all works well, these will be installed on your machine when you open TaphoCeram.Rproj in RStudio.

You can’t perform that action at this time.