https://github.com/neotomadb/bulk-baconizing
Using bacon to generate a large number of new chronologies from existing Neotoma records.
https://github.com/neotomadb/bulk-baconizing
bacon chronologies neotoma paleoecology rmarkdown travis workflow
Last synced: 4 months ago
JSON representation
Using bacon to generate a large number of new chronologies from existing Neotoma records.
- Host: GitHub
- URL: https://github.com/neotomadb/bulk-baconizing
- Owner: NeotomaDB
- License: mit
- Created: 2018-11-09T16:14:38.000Z (over 7 years ago)
- Default Branch: master
- Last Pushed: 2025-04-14T16:20:26.000Z (about 1 year ago)
- Last Synced: 2025-07-21T20:16:35.921Z (11 months ago)
- Topics: bacon, chronologies, neotoma, paleoecology, rmarkdown, travis, workflow
- Language: HTML
- Size: 16.1 MB
- Stars: 3
- Watchers: 6
- Forks: 5
- Open Issues: 5
-
Metadata Files:
- Readme: README.md
- License: LICENSE
- Code of conduct: CODE_OF_CONDUCT.md
Awesome Lists containing this project
README
[](https://zenodo.org/badge/latestdoi/156887009)

[](https://doi.org/10.1038/s41597-019-0182-7) [](https://travis-ci.org/NeotomaDB/bulk-baconizing) [](https://nsf.gov/awardsearch/showAward?AWD_ID=1550707) [](https://nsf.gov/awardsearch/showAward?AWD_ID=1241868) [](https://nsf.gov/awardsearch/showAward?AWD_ID=1740694)
# Bulk Baconizing
For cases where a large number of records need to be processed using Bacon, this repository serves as a template to generate the required age files in an organized fashion. It provides default parameters for initial runs, and provides a tracking module to indicate whether any issues were encountered in the construction of the geochronological table.
## Citation
Please cite your use of this repository as software:
Goring SJ, Dawson A, Stegner MA, Wang Y. 2019. Bulk Baconizing. Gitub Repository. DOI: 10.5281/zenodo.2545891
Or import with BibTeX:
```
@misc{Goring2019,
author = {Goring, S.J.},
title = {Bulk Baconizing},
year = {2019},
publisher = {GitHub},
journal = {GitHub repository},
howpublished = {\url{https://github.com/NeotomaDB/bulk-baconizing}},
doi = {10.5281/zenodo.2545891}
}
```
## Contributions
Please note that this project is released with a [Contributor Code of Conduct](CODE_OF_CONDUCT.md). By participating in this project you agree to abide by its terms.
* [Simon Goring](http://goring.org) [](https://orcid.org/0000-0002-2700-4605)
* Andria Dawson
* Allison Stegner [](https://orcid.org/0000-0002-1412-8203)
* Yue Wang [](https://orcid.org/0000-0002-9826-3276)
## Maintenance Files
### Continuous Integration and Quality Assurance
`.travis.yaml`, `Makefile` and `DESCRIPTION` are used to integrate this repository with the [Travis Continuous Integration](https://travis-ci.org/) platform. You can keep these files, or not, but they are required to support a process in which each new commit to the master branch is independently loaded in a virtual machine hosted by Travis. For more on the use of [Continuous Integration](https://en.wikipedia.org/wiki/Continuous_integration) with RMarkdown, please visit the post [Adding CI to RMarkdown Documents](http://www.goring.org/resources/Adding_CI_To_RMarkdown.html).
### Organizational Files
The files `CODE_OF_CONDUCT.md`, the `LICENSE` file and this `README.md` file are part of best practices for public code. The [Code of Conduct](https://help.github.com/articles/adding-a-code-of-conduct-to-your-project/) helps define how we as an organization expect to be treated and defines how we should aspire to treat others. It also governs how individuals who interact with this repository and others should expect to be treated, and should treat others.
The `LICENSE` file uses an MIT license. This license is a permissive license with conditions only requiring preservation of copyright and license notices. Neotoma is funded by the National Sciences Foundation. Neotoma maintains a [Data Policy](https://www.neotomadb.org/data/category/use) that governs the use of data from the Database itself.
The `.gitignore` file is used to ensure that local files on the developers' systems do not clutter the master repository.
## How to Use This Repository
This is intended to be used as a template for users, and not as a solution in and of itself. The process for generating chronologies is itterative, as such, the use of this Rmd script is intended to be an itterative process, whereby you select sites, run Bacon, revise parameters and run the script again. Each itteration will involve modifying the parameters file, and also the `settings.yaml` file. Please be sure to check carefully as you do this. Errors may result in long wait times, or runs that provide no new useful information.

The key steps of the workflow process are:
1. Running the Rmd file.
2. Reading in the `settings.yaml` file.
3. Loading data from Neotoma using the [`neotoma` package](http://github.com/ropensci/neotoma).
4. Setting default parameters for the Bacon runs (accumulation rates, memory, etc.)
5. Updating parameters based on past runs (if you have files with alternate settings)
6. Building age files based on chronological controls from Neotoma
7. Running Bacon
The implied final step in this process would be modifying the settings file after the first run of this workflow, and adjusting the the parameters in the parameters file generated by the run, to ensure that the Bacon runs for each core reflect the best possible age models. When the Rmd is re-run with the `settings.yaml` and parameters file adjusted (see Rmd for details), it is possible to do runs faster, since the script is set to run only core that do not have successful runs, so it is possible to tinker with the settings for one or a few cores, while leaving the rest unchanged.
### Running with RStudio
Open the file using RStudio and click the `knit` button.

### Running from the command line
Navigate to the working directory and execute the command:
```
Rscript -e "rmarkdown::render('bulk_baconizing.Rmd')"
```
This should run the code as it is written. Be sure you have set the appropriate bounding box or geographic bounds for your region of interest.
## Feedback, Suggestions and Comments
Please use the [issue tracker](https://github.com/neotomadb/bulk-baconizing/issues) or email a package maintainer directly.
