Client for the Open Citations Corpus http://opencitations.net/ (OCC)

OCC created their own identifiers called Open Citation Identifiers (oci), e.g.,

020010009033611182421271436182433010601-02001030701361924302723102137251614233701000005090307

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

install.packages("citecorp")

Development version

devtools::install_github("ropenscilabs/citecorp")
library("citecorp")

COCI methods

OpenCitations Index of Crossref open DOI-to-DOI references

If you don’t load tibble you get normal data.frame’s

library(tibble)
doi1 <- "10.1108/jd-12-2013-0166"
# references
oc_coci_refs(doi1)
#> # A tibble: 36 x 7
#>    citing   timespan journal_sc oci           creation author_sc cited     
#>  * <chr>    <chr>    <chr>      <chr>         <chr>    <chr>     <chr>     
#>  1 10.1108… P9Y2M5D  no         020010100083… 2015-03… no        10.1001/j…
#>  2 10.1108… P41Y8M   no         020010100083… 2015-03… no        10.1002/a…
#>  3 10.1108… P25Y6M   no         020010100083… 2015-03… no        10.1002/(…
#>  4 10.1108… P17Y2M   no         020010100083… 2015-03… no        10.1007/b…
#>  5 10.1108… P2Y2M3D  no         020010100083… 2015-03… no        10.1007/s…
#>  6 10.1108… P5Y8M27D no         020010100083… 2015-03… no        10.1007/s…
#>  7 10.1108… P2Y3M    no         020010100083… 2015-03… no        10.1016/j…
#>  8 10.1108… P1Y10M   no         020010100083… 2015-03… no        10.1016/j…
#>  9 10.1108… P12Y     no         020010100083… 2015-03… no        10.1023/a…
#> 10 10.1108… P13Y10M  no         020010100083… 2015-03… no        10.1038/3…
#> # … with 26 more rows
# citations
oc_coci_cites(doi1)
#> # A tibble: 13 x 7
#>    citing    timespan  journal_sc oci            creation author_sc cited  
#>  * <chr>     <chr>     <chr>      <chr>          <chr>    <chr>     <chr>  
#>  1 10.1177/… P1Y4M1D   no         0200101070736… 2016-07… no        10.110…
#>  2 10.7554/… P2Y11M20D no         0200705050436… 2018-03… no        10.110…
#>  3 10.1145/… P2Y       no         0200101040536… 2018     no        10.110…
#>  4 10.1093/… P2Y3M4D   no         0200100090336… 2017-06… no        10.110…
#>  5 10.1007/… P1Y       no         0200100000736… 2017     no        10.110…
#>  6 10.3346/… P0Y       no         0200303040636… 2015     no        10.110…
#>  7 10.1007/… P2Y9M12D  no         0200100000736… 2017-12… no        10.110…
#>  8 10.3233/… P1Y14D    no         0200302030336… 2016-03… no        10.110…
#>  9 10.3233/… P3Y5M4D   no         0200302030336… 2018-08… no        10.110…
#> 10 10.1007/… P2Y       no         0200100000736… 2018     no        10.110…
#> 11 10.1142/… P3Y4M21D  no         0200101040236… 2018-07… no        10.110…
#> 12 10.1007/… P1Y       no         0200100000736… 2017     no        10.110…
#> 13 10.1057/… P2Y4M     no         0200100050736… 2017-08  no        10.110…
# metadata
oc_coci_meta(doi1)
#> # A tibble: 1 x 13
#>   author source_title doi   page  citation oa_link citation_count title
#> * <chr>  <chr>        <chr> <chr> <chr>    <chr>   <chr>          <chr>
#> 1 Peron… Journal Of … 10.1… 253-… 10.1177… ""      13             Sett…
#> # … with 5 more variables: volume <chr>, reference <chr>, issue <chr>,
#> #   year <chr>, source_id <chr>

Meta

rofooter