Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Read IntChron's export formats #4

Closed
4 tasks done
joeroe opened this issue Oct 13, 2020 · 1 comment
Closed
4 tasks done

Read IntChron's export formats #4

joeroe opened this issue Oct 13, 2020 · 1 comment
Labels
enhancement New feature or request
Milestone

Comments

@joeroe
Copy link
Owner

joeroe commented Oct 13, 2020

As well as JSON, IntChron's API can also export data as (from https://intchron.org/) html, csv, txt (a tsv), oxcal, and bib. It would be nice to provide functions for reading this data into R, either directly from IntChron or via a downloaded file.

  • HTML: ignore
  • csv & tsv: could have straightforward read_ functions with a bit of extra handling for the formatting idiosyncracies
  • oxcal: since these generally contain less data than the other formats, I'm not sure it's useful to extract it. That functionality would also overlap with stratigraphr and oxcAAR.
  • bib: should be integrated into a more comprehensive workflow for managing references, see Retrieve bibliographic data #7
@joeroe joeroe added this to the v1.0 milestone Oct 13, 2020
@joeroe joeroe added the enhancement New feature or request label Oct 13, 2020
joeroe added a commit that referenced this issue Oct 19, 2020
@joeroe
Copy link
Owner Author

joeroe commented Oct 20, 2020

CSV and TSV can now be read with intchron_read_delim(); OxCal we will leave for the time being; BibTeX will be handled in #7.

@joeroe joeroe closed this as completed Oct 20, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

1 participant