All Projects → ropensci → Rorcid

ropensci / Rorcid

Licence: other
A programmatic interface the Orcid.org API

Programming Languages

r
7636 projects

Projects that are alternatives of or similar to Rorcid

kaggler
🏁 API client for Kaggle
Stars: ✭ 50 (-50.5%)
Mutual labels:  api-wrapper, rstats, r-package
Taxize
A taxonomic toolbelt for R
Stars: ✭ 209 (+106.93%)
Mutual labels:  api-wrapper, r-package, rstats
Rcrossref
R client for various CrossRef APIs
Stars: ✭ 137 (+35.64%)
Mutual labels:  api-wrapper, r-package, rstats
WikidataQueryServiceR
An R package for the Wikidata Query Service API
Stars: ✭ 23 (-77.23%)
Mutual labels:  api-wrapper, rstats, r-package
rredlist
IUCN Red List API Client
Stars: ✭ 31 (-69.31%)
Mutual labels:  api-wrapper, rstats, r-package
Ckanr
R client for the CKAN API
Stars: ✭ 91 (-9.9%)
Mutual labels:  api-wrapper, r-package, rstats
cablecuttr
An R wrapper for CanIStream.It API
Stars: ✭ 17 (-83.17%)
Mutual labels:  api-wrapper, rstats, r-package
worrms
World Register of Marine Species R client
Stars: ✭ 13 (-87.13%)
Mutual labels:  api-wrapper, rstats, r-package
Gistr
Interact with GitHub gists from R
Stars: ✭ 90 (-10.89%)
Mutual labels:  api-wrapper, r-package, rstats
Drake
An R-focused pipeline toolkit for reproducibility and high-performance computing
Stars: ✭ 1,301 (+1188.12%)
Mutual labels:  r-package, rstats
Lexisnexistools
📰 Working with newspaper data from 'LexisNexis'
Stars: ✭ 59 (-41.58%)
Mutual labels:  r-package, rstats
Elevatr
An R package for accessing elevation data
Stars: ✭ 95 (-5.94%)
Mutual labels:  r-package, rstats
Monkeylearn
⛔️ ARCHIVED ⛔️ 🐒 R package for text analysis with Monkeylearn 🐒
Stars: ✭ 95 (-5.94%)
Mutual labels:  r-package, rstats
Mixomics
Development repository for the Bioconductor package 'mixOmics '
Stars: ✭ 58 (-42.57%)
Mutual labels:  r-package, rstats
Sysreqs
R package to install system requirements
Stars: ✭ 63 (-37.62%)
Mutual labels:  r-package, rstats
Lawn
⛔ ARCHIVED ⛔ turf.js R client
Stars: ✭ 57 (-43.56%)
Mutual labels:  r-package, rstats
Gsodr
Global Surface Summary of the Day ('GSOD') Weather Data Client for R
Stars: ✭ 72 (-28.71%)
Mutual labels:  r-package, rstats
Pkgsearch
Search R packages on CRAN
Stars: ✭ 73 (-27.72%)
Mutual labels:  r-package, rstats
Nodbi
Document DBI connector for R
Stars: ✭ 56 (-44.55%)
Mutual labels:  r-package, rstats
Feddata
Functions to Automate Downloading Geospatial Data Available from Several Federated Data Sources
Stars: ✭ 70 (-30.69%)
Mutual labels:  r-package, rstats

rorcid

R build status cran checks codecov.io rstudio mirror downloads cran version

rorcid is an R programmatic interface to the Orcid public API. rorcid is not a product developed or distributed by ORCID®.

rorcid docs: https://docs.ropensci.org/rorcid/

Orcid API docs:

The package now works with the v3.0 ORCID API. It's too complicated to allow users to work with different versions of the API, so it's hard-coded to v3.0.

Authentication

There are three ways to authenticate with rorcid:

  • Interactively login with OAuth. This doesn't require any input on your part. We use a client id and client secret key to ping ORCID.org; at which point you log in with your username/password; then we get back a token (same as the above option). We don't know your username or password, only the token that we get back. We cache that token locally in a hidden file in whatever working directory you're in. If you delete that file, or run the code from a new working directory, then we re-authorize.
  • Use a client_id and client_secret to do 2-legged OAuth. ORCID docs at https://members.orcid.org/api/oauth/2legged-oauth and https://members.orcid.org/api/post-oauthtoken-reading-public-data This requires you to register a "client application". See https://orcid.org/content/register-client-application-2 for instructions
  • Use a token as a result of either of the two above approaches. The token is a alphanumeric UUID, e.g. dc0a6b6b-b4d4-4276-bc89-78c1e9ede56e. You can get this token by running orcid_auth(), then storing that key (the uuid alone, not the "Bearer " part) either as en environment variable in your .Renviron file in your home directory (with the name ORCID_TOKEN), or as an R option in your .Rprofile file (with the name orcid_token). See [Startup] for more information. Either an environment variable or R option work. If we don't find either we do the next option.

We recommend the 3rd option if possible, specifically, storing the token as an environment variable permanently.

If authentication fails, you can still use rorcid. ORCID does not require authentication at this point, but may in the future - this prepares you for when that happens.

See https://info.orcid.org/documentation/integration-guide/getting-started-with-your-orcid-integration/#easy-faq-2569 for more about ORCID OAuth Scopes.

Computing environments without browsers

One pitfall is when you are using rorcid on a server, and you're ssh'ed in, so that there's no way to open a browser to do the OAuth browser flow. Similarly for any other situation in which a browser can not be opened. In this case, run orcid_auth() on another machine in which you do have the ability to open a browser, then collect the info that's ouptput from orcid_auth() and store it as an environment variable (see above).

Installation

Stable version

install.packages("rorcid")

Development version

remotes::install_github("ropensci/rorcid")
library('rorcid')

Docs

Get started with rorcid at https://docs.ropensci.org/rorcid/

Meta

  • Please report any issues or bugs
  • License: MIT
  • Get citation information for rorcid in R doing citation(package = 'rorcid')
  • Please note that this package is released with a Contributor Code of Conduct. By contributing to this project, you agree to abide by its terms.
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].