intcal.write.data: Write intcal data to a file.

View source: R/intcal_json.R

intcal.write.dataR Documentation

Write intcal data to a file.

Description

Write the intcal.json file that comes with the rintcal packages to somewhere local. This can be useful if you want to avoid repeatedly downloading the json file from intchron.org.

Usage

intcal.write.data(data, fname)

Arguments

data

intcal variable as obtained from intcal.read.data()

fname

Name of the file to be written

Examples

 intcal <- intcal.read.data()
 myintcal <- tempfile()
 intcal.write.data(intcal, myintcal)

Maarten14C/IntCal documentation built on Oct. 11, 2023, 1:25 a.m.