All Projects → Pakillo → biblioformat

Pakillo / biblioformat

Licence: Unknown, MIT licenses found Licenses found Unknown LICENSE MIT LICENSE.md
Revise and Reformat Plain Text Bibliographies with R

Programming Languages

r
7636 projects

Projects that are alternatives of or similar to biblioformat

oem
Penalized least squares estimation using the Orthogonalizing EM (OEM) algorithm
Stars: ✭ 22 (+22.22%)
Mutual labels:  r-package
xaringanBuilder
An R package for building xaringan slides into multiple outputs, including html, pdf, png, gif, pptx, and mp4.
Stars: ✭ 157 (+772.22%)
Mutual labels:  r-package
vosonSML
R package for collecting social media data and creating networks for analysis.
Stars: ✭ 65 (+261.11%)
Mutual labels:  r-package
RcppEigen
Rcpp integration for the Eigen templated linear algebra library
Stars: ✭ 89 (+394.44%)
Mutual labels:  r-package
healthyR
Hospital Data Analysis Workflow Tools
Stars: ✭ 21 (+16.67%)
Mutual labels:  r-package
unrtf
Wrapper for 'unrtf' utility to extract text from RTF documents
Stars: ✭ 14 (-22.22%)
Mutual labels:  r-package
scMCA
Mouse cell atlas
Stars: ✭ 45 (+150%)
Mutual labels:  r-package
geostan
Bayesian spatial analysis
Stars: ✭ 40 (+122.22%)
Mutual labels:  r-package
tsgam
Functions for using GAMs to model time series
Stars: ✭ 30 (+66.67%)
Mutual labels:  r-package
PackageReviewR
R Package 📦 to review 🔍 R 📦s
Stars: ✭ 18 (+0%)
Mutual labels:  r-package
MetQy
Repository for R package MetQy (read related publication here: https://www.ncbi.nlm.nih.gov/pmc/articles/PMC6247936/)
Stars: ✭ 17 (-5.56%)
Mutual labels:  r-package
arcdiagram
R package arcdiagram
Stars: ✭ 75 (+316.67%)
Mutual labels:  r-package
wopr
An R package and Shiny application to provide API access to the WorldPop Open Population Repository (WOPR)
Stars: ✭ 28 (+55.56%)
Mutual labels:  r-package
metafor
A meta-analysis package for R
Stars: ✭ 174 (+866.67%)
Mutual labels:  r-package
rdefra
rdefra: Interact with the UK AIR Pollution Database from DEFRA
Stars: ✭ 14 (-22.22%)
Mutual labels:  r-package
metadat
Meta-analytic datasets for R
Stars: ✭ 21 (+16.67%)
Mutual labels:  r-package
rcppcnpy
Rcpp bindings for NumPy files
Stars: ✭ 24 (+33.33%)
Mutual labels:  r-package
rfisheries
package for interacting with fisheries databases at openfisheries.org
Stars: ✭ 24 (+33.33%)
Mutual labels:  r-package
rcpptoml
Rcpp Bindings to C++ parser for TOML files
Stars: ✭ 26 (+44.44%)
Mutual labels:  r-package
eia
An R package wrapping the US Energy Information Administration open data API.
Stars: ✭ 38 (+111.11%)
Mutual labels:  r-package

biblioformat: Revise and Reformat Plain Text Bibliographies with R

This package aims to help with revising and reformatting reference lists (bibliographies) in plain text format. It takes a reference list as plain text, tries to retrieve DOIs and metadata from Crossref, and reformat them according to a chosen style (e.g. BibTeX, or following a particular journal citation style).

Installation

devtools::install_github("Pakillo/biblioformat")

Motivation

The motivation for this package is the need to revise and/or reformat reference lists (bibliographies) only available as plain text (e.g. at the end of a manuscript or document). This happens e.g. when our manuscript is rejected from a journal and we need to reformat the bibliography and we don't have the original bibliographic database (as BibTeX, Mendeley, Zotero...) but only a plain text of references.

This package takes the text with references, tries to identify their DOIs and metadata at Crossref, and outputs the revised citations in the chosen format (BibTeX, a particular journal style...).

Example

For example, if we have these references that we want to check (and optionally reformat):

Foster, G. et al. (2017) Future climate forcing potentially without precedent in the last 420 million years.

Chen, I.-C. et al. (2011) Science 333, 1024-1026

We can copy them to the clipboard or provide them as a character vector:

refs <- c(
  "Foster, G. et al. (2017) Future climate forcing potentially without precedent in the last 420 million years.",
  "Chen, I.-C. et al. (2011) Science 333, 1024-1026"
)

then

library(biblioformat)

newrefs <- biblioformat(refs, style = "global-ecology-and-biogeography")
newrefs

#> [1] "Foster, G.L., Royer, D.L. & Lunt, D.J. (2017) Future climate forcing potentially without precedent in the last 420 million years. Nature Communications, 8, 14845."      

#> [2] "Chen, I.-C., Hill, J.K., Ohlemuller, R., Roy, D.B. & Thomas, C.D. (2011) Rapid Range Shifts of Species Associated with High Levels of Climate Warming. Science, 333, 1024–1026."

Note that missing titles and journals have now been corrected. We can use >9000 different citation styles.

The revised references are automatically copied to the clipboard, so they can be directly pasted into the original document.

Alternatively, we can obtain the references in BibTeX format, for further editing or importing into a reference manager

newrefs <- biblioformat(refs, format = "bibtex", filename = "myrefs.bib")

Note that some references may be changed and erroneously confounded with others. Please check the output reference list.

Acknowledgements

This package is just a wrapper of the excellent rcrossref package by rOpenSci - big thanks to them!

Related

See also https://anystyle.io/ for an excellent free online parser of bibliographic references. Also http://cermine.ceon.pl/cermine/index.html, and others...

Note that the project description data, including the texts, logos, images, and/or trademarks, for each open source project belongs to its rightful owner. If you wish to add or remove any projects, please contact us at [email protected].