https://github.com/archaeostat/archaeocal
An R Interface to OxCal
Science Score: 13.0%
This score indicates how likely this project is to be science-related based on various indicators:
-
○CITATION.cff file
-
✓codemeta.json file
Found codemeta.json file -
○.zenodo.json file
-
○DOI references
-
○Academic publication links
-
○Academic email domains
-
○Institutional organization owner
-
○JOSS paper metadata
-
○Scientific vocabulary similarity
Low similarity (16.0%) to scientific vocabulary
Keywords
geochronology
oxcal
r-package
radiocarbon-calibration
radiocarbon-dates
Last synced: 10 months ago
·
JSON representation
Repository
An R Interface to OxCal
Basic Info
- Host: GitHub
- Owner: ArchaeoStat
- License: gpl-3.0
- Language: R
- Default Branch: main
- Homepage: https://archaeostat.github.io/ArchaeoCal/
- Size: 1.27 MB
Statistics
- Stars: 2
- Watchers: 2
- Forks: 0
- Open Issues: 0
- Releases: 0
Topics
geochronology
oxcal
r-package
radiocarbon-calibration
radiocarbon-dates
Created about 3 years ago
· Last pushed over 1 year ago
Metadata Files
Readme
Changelog
Contributing
License
Code of conduct
README.Rmd
---
output: github_document
bibliography: inst/bibliography.bib
---
```{r, include = FALSE}
knitr::opts_chunk$set(
collapse = TRUE,
comment = "#>",
fig.path = "man/figures/README-",
out.width = "100%"
)
```
# ArchaeoCal
[](https://github.com/ArchaeoStat/ArchaeoCal/actions/workflows/R-CMD-check.yaml)
[](https://app.codecov.io/gh/ArchaeoStat/ArchaeoCal)
[](https://archaeostat.r-universe.dev){.pkgdown-devel}
[](https://www.repostatus.org/#wip)
## Overview
## Installation
You can install the latest version of **ArchaeoCal** from [our repository](https://ArchaeoStat.r-universe.dev) with:
```{r universe-installation, eval=FALSE}
options(repos = c(CRAN = "https://cloud.r-project.org",
universe = "https://archaeostat.r-universe.dev"))
install.packages("ArchaeoCal")
```
And the development version from [GitHub](https://github.com/) with:
```{r gh-installation, eval=FALSE}
# install.packages("remotes")
remotes::install_github("ArchaeoStat/ArchaeoCal")
```
## Usage
This example uses data available through the [**ArchaeoData**](https://github.com/ArchaeoStat/ArchaeoData) package which is available in a [separate repository](https://archaeostat.r-universe.dev). **ArchaeoData** provides OxCal [@bronkramsey2009] input models.
```{r ArchaeoData, eval=FALSE}
## Install the latest version
install.packages("ArchaeoData", repos = "https://archaeostat.r-universe.dev")
```
```{r setup, eval=FALSE}
## Load package
library(ArchaeoCal)
## Download OxCal
oxcal_configure(ask = FALSE)
```
```{r excute, eval=FALSE}
## Construct the path to the OxCal script
path <- file.path("oxcal", "ksarakil", "ksarakil.oxcal")
file <- system.file(path, package = "ArchaeoData")
## Read the script from Bosch et al. 2015
scr <- readLines(file)
## Print
# cat(scr, sep = "\n")
## Execute
## /!\ this may take a while /!\
out <- oxcal_execute(scr, file = "path/to/my/results")
## Parse OxCal output
res <- oxcal_parse(out)
```
## References
Owner
- Name: ArchaeoStat
- Login: ArchaeoStat
- Kind: organization
- Repositories: 2
- Profile: https://github.com/ArchaeoStat
GitHub Events
Total
- Push event: 6
Last Year
- Push event: 6
Dependencies
DESCRIPTION
cran
- V8 * imports
- arkhe >= 1.4.0 imports
- grDevices * imports
- graphics * imports
- methods * imports
- knitr * suggests
- markdown * suggests
- testthat >= 3.0.0 suggests