Science Score: 39.0%
This score indicates how likely this project is to be science-related based on various indicators:
-
○CITATION.cff file
-
✓codemeta.json file
Found codemeta.json file -
✓.zenodo.json file
Found .zenodo.json file -
✓DOI references
Found 2 DOI reference(s) in README -
○Academic publication links
-
○Academic email domains
-
○Institutional organization owner
-
○JOSS paper metadata
-
○Scientific vocabulary similarity
Low similarity (15.5%) to scientific vocabulary
Keywords
citations
doi
opencitations
pmcid
pmid
r
r-package
rstats
sparql
Last synced: 6 months ago
·
JSON representation
Repository
Client for the Open Citations Corpus
Basic Info
- Host: GitHub
- Owner: ropensci
- License: other
- Language: R
- Default Branch: master
- Homepage: https://docs.ropensci.org/citecorp
- Size: 120 KB
Statistics
- Stars: 11
- Watchers: 5
- Forks: 4
- Open Issues: 0
- Releases: 4
Topics
citations
doi
opencitations
pmcid
pmid
r
r-package
rstats
sparql
Created about 7 years ago
· Last pushed about 1 year ago
Metadata Files
Readme
Changelog
Contributing
License
Code of conduct
Codemeta
README.Rmd
---
title: citecorp
output: github_document
---
```{r echo=FALSE}
knitr::opts_chunk$set(
comment = "#>",
collapse = TRUE,
warning = FALSE,
message = FALSE
)
```
[](https://www.repostatus.org/#active)
[](https://github.com/ropensci/citecorp/actions/workflows/R-CMD-check.yaml)
[](https://github.com/metacran/cranlogs.app)
[](https://cran.r-project.org/package=citecorp)
[](https://app.codecov.io/gh/ropensci/citecorp)
Client for the Open Citations Corpus http://opencitations.net/ (OCC)
OCC created their own identifiers called Open Citation Identifiers (oci), e.g.,
```
06180334099-06101759895
```
You are probably not going to be using oci identifiers, but rather DOIs and/or PMIDs
and/or PMCIDs. See `?oc_lookup` for methods for cross-walking among identifier types.
If you'd like to use the OpenCitations Sparql endpoint yourself you can find that
at http://opencitations.net/sparql
## Install
CRAN version
```{r eval=FALSE}
install.packages("citecorp")
```
Development version
```{r eval=FALSE}
remotes::install_github("ropensci/citecorp")
```
```{r}
library("citecorp")
```
## Methods for converting IDs
```{r}
oc_doi2ids("10.1039/c9sc00991d")
oc_pmid2ids("31857888")
oc_pmcid2ids("PMC6422012")
```
You can pass in more than one identifer to each of the above functions:
```{r}
oc_doi2ids(oc_dois[1:6])
```
## COCI methods
OpenCitations Index of Crossref open DOI-to-DOI references
If you don't load `tibble` you get normal data.frame's
```{r}
library(tibble)
doi1 <- "10.1108/jd-12-2013-0166"
# references
oc_coci_refs(doi1)
# citations
oc_coci_cites(doi1)
# metadata
oc_coci_meta(doi1)
```
## Meta
* Please [report any issues or bugs](https://github.com/ropensci/citecorp/issues)
* License: MIT
* Get citation information for `citecorp` in R doing `citation(package = 'citecorp')`
* Please note that this project is released with a [Contributor Code of Conduct][coc].
By participating in this project you agree to abide by its terms.
[sparqldsl]: https://github.com/ropensci/sparqldsl
[coc]: https://github.com/ropensci/citecorp/blob/master/CODE_OF_CONDUCT.md
[](https://ropensci.org)
Owner
- Name: rOpenSci
- Login: ropensci
- Kind: organization
- Email: info@ropensci.org
- Location: Berkeley, CA
- Website: https://ropensci.org/
- Twitter: rOpenSci
- Repositories: 307
- Profile: https://github.com/ropensci
CodeMeta (codemeta.json)
{
"@context": [
"https://doi.org/10.5063/schema/codemeta-2.0",
"http://schema.org"
],
"@type": "SoftwareSourceCode",
"identifier": "citecorp",
"description": "Client for the Open Citations Corpus (<http://opencitations.net/>).\n Includes a set of functions for getting one identifier type from another,\n as well as getting references and citations for a given identifier.",
"name": "citecorp: Client for the Open Citations Corpus",
"codeRepository": "https://github.com/ropensci/citecorp",
"issueTracker": "https://github.com/ropensci/citecorp/issues",
"license": "https://spdx.org/licenses/MIT",
"version": "0.3.0",
"programmingLanguage": {
"@type": "ComputerLanguage",
"name": "R",
"url": "https://r-project.org"
},
"runtimePlatform": "R version 4.0.2 Patched (2020-06-30 r78761)",
"author": [
{
"@type": "Person",
"givenName": "Scott",
"familyName": "Chamberlain",
"email": "myrmecocystus@gmail.com",
"@id": "https://orcid.org/0000-0003-1444-9135"
}
],
"contributor": {},
"copyrightHolder": {},
"funder": {},
"maintainer": [
{
"@type": "Person",
"givenName": "Scott",
"familyName": "Chamberlain",
"email": "myrmecocystus@gmail.com",
"@id": "https://orcid.org/0000-0003-1444-9135"
}
],
"softwareSuggestions": [
{
"@type": "SoftwareApplication",
"identifier": "testthat",
"name": "testthat",
"provider": {
"@id": "https://cran.r-project.org",
"@type": "Organization",
"name": "Comprehensive R Archive Network (CRAN)",
"url": "https://cran.r-project.org"
},
"sameAs": "https://CRAN.R-project.org/package=testthat"
},
{
"@type": "SoftwareApplication",
"identifier": "vcr",
"name": "vcr",
"provider": {
"@id": "https://cran.r-project.org",
"@type": "Organization",
"name": "Comprehensive R Archive Network (CRAN)",
"url": "https://cran.r-project.org"
},
"sameAs": "https://CRAN.R-project.org/package=vcr"
},
{
"@type": "SoftwareApplication",
"identifier": "webmockr",
"name": "webmockr",
"provider": {
"@id": "https://cran.r-project.org",
"@type": "Organization",
"name": "Comprehensive R Archive Network (CRAN)",
"url": "https://cran.r-project.org"
},
"sameAs": "https://CRAN.R-project.org/package=webmockr"
}
],
"softwareRequirements": [
{
"@type": "SoftwareApplication",
"identifier": "crul",
"name": "crul",
"version": ">= 0.7.0",
"provider": {
"@id": "https://cran.r-project.org",
"@type": "Organization",
"name": "Comprehensive R Archive Network (CRAN)",
"url": "https://cran.r-project.org"
},
"sameAs": "https://CRAN.R-project.org/package=crul"
},
{
"@type": "SoftwareApplication",
"identifier": "data.table",
"name": "data.table",
"provider": {
"@id": "https://cran.r-project.org",
"@type": "Organization",
"name": "Comprehensive R Archive Network (CRAN)",
"url": "https://cran.r-project.org"
},
"sameAs": "https://CRAN.R-project.org/package=data.table"
},
{
"@type": "SoftwareApplication",
"identifier": "fauxpas",
"name": "fauxpas",
"version": ">= 0.5.0",
"provider": {
"@id": "https://cran.r-project.org",
"@type": "Organization",
"name": "Comprehensive R Archive Network (CRAN)",
"url": "https://cran.r-project.org"
},
"sameAs": "https://CRAN.R-project.org/package=fauxpas"
},
{
"@type": "SoftwareApplication",
"identifier": "jsonlite",
"name": "jsonlite",
"provider": {
"@id": "https://cran.r-project.org",
"@type": "Organization",
"name": "Comprehensive R Archive Network (CRAN)",
"url": "https://cran.r-project.org"
},
"sameAs": "https://CRAN.R-project.org/package=jsonlite"
}
],
"applicationCategory": "Literature",
"isPartOf": "https://ropensci.org",
"keywords": [
"doi",
"metadata",
"citation",
"opencitations",
"bibtex",
"citations",
"pmid",
"pmcid",
"sparql",
"r",
"r-package",
"rstats"
],
"readme": "https://github.com/ropensci/citecorp/blob/master/README.md",
"fileSize": "0KB",
"contIntegration": "https://travis-ci.com/ropensci/citecorp",
"developmentStatus": "https://www.repostatus.org/#active",
"releaseNotes": "https://github.com/ropensci/citecorp/blob/master/NEWS.md",
"provider": {
"@id": "https://cran.r-project.org",
"@type": "Organization",
"name": "Comprehensive R Archive Network (CRAN)",
"url": "https://cran.r-project.org"
},
"relatedLink": "https://docs.ropensci.org/citecorp/"
}
GitHub Events
Total
- Issues event: 4
- Issue comment event: 2
- Push event: 6
- Pull request review event: 1
- Pull request review comment event: 1
- Pull request event: 1
Last Year
- Issues event: 4
- Issue comment event: 2
- Push event: 6
- Pull request review event: 1
- Pull request review comment event: 1
- Pull request event: 1
Dependencies
.github/workflows/R-check.yml
actions
- actions/cache v2 composite
- actions/checkout v2 composite
- actions/upload-artifact v2 composite
- r-lib/actions/setup-pandoc v1 composite
- r-lib/actions/setup-r v1 composite
.github/workflows/real-requests.yml
actions
- actions/cache v2 composite
- actions/checkout v2 composite
- actions/upload-artifact v2 composite
- r-lib/actions/setup-pandoc v1 composite
- r-lib/actions/setup-r v1 composite
DESCRIPTION
cran
- crul >= 0.7.0 imports
- data.table * imports
- fauxpas >= 0.5.0 imports
- jsonlite * imports
- testthat * suggests
- vcr * suggests
- webmockr * suggests