R "Stats" Citation for a Scientific Paper

R stats citation for a scientific paper

The reviewer is wrong:

 citation("stats")

The ‘stats’ package is part of R. To cite R in publications use:

R Core Team (2013). R: A language and environment for statistical computing. R
Foundation for Statistical Computing, Vienna, Austria. ISBN 3-900051-07-0, URL
http://www.R-project.org/.

A BibTeX entry for LaTeX users is

@Manual{,
title = {R: A Language and Environment for Statistical Computing},
author = {{R Core Team}},
organization = {R Foundation for Statistical Computing},
address = {Vienna, Austria},
year = {2013},
note = {{ISBN} 3-900051-07-0},
url = {http://www.R-project.org/},
}

We have invested a lot of time and effort in creating R, please cite it when
using it for data analysis. See also ‘citation("pkgname")’ for citing R
packages.

Retrieve number of citations of a scientific paper in a given year

  • First, access the OpenCitations API with a given DOI.

  • Second, fetch the DOIs of all the citing papers.

  • Third, use these newly fetched DOIs and loop them through the CrossRef API to obtain the respective publication dates.

Example:

  • You are interested in obtaining all citations from the year 2020 to the paper with the DOI 10.1080/17512786.2019.1682940.

  • First, access OpenCitations via https://opencitations.net/index/coci/api/v1/citations/10.1080/17512786.2019.1682940 (which finds 6 citations in total).

  • Second, fetch the values in the field citing -- they show the DOIs of the citing papers. For example, the second citing DOI is 10.17645/mac.v8i3.3019.

  • Third, access CrossRef with the help of these DOIs, such as via https://api.crossref.org/works/10.17645/mac.v8i3.3019, and look at the published-field (which is 2020-07-10). Keep only those values that start with the year 2020.

  • Note - - maybe you could omit the third step if you fetch the creation-field in OpenCitations during the second step (it seems to be identical to the published-field in CrossRef). I haven't tested that systematically.

Be aware that the citation counts between OpenCitations and CrossRef can vary (OpenCitaions usually shows less citations than CrossRef).

How to cite the R Language Definition

Like you would cite any other web resource, since that is how it’s published. E.g. in BibTeX notation:

@misc{RLang,
title = {{R Language Definition}},
author = {{R Core Team}},
year = 2019,
howpublished = {\url{https://cran.r-project.org/doc/manuals/r-release/R-lang.html}},
note = {Accessed: 2019-06-17}
}

How to extract the citation metadata from scientific publications/books

I'm not too familiar with the various tools, but AnyStyle seems to have the functionality you're looking for, and is machine-learning based.

  • Repo: https://github.com/inukshuk/anystyle-parser
  • Demo: http://anystyle.io/


Related Topics



Leave a reply



Submit