** This file is using github-flavored markdown and should be viewed in GitHub **
An ORCID profile is a useful solution to author ambiguity. It can be used to create an NIH biosketch and help consolidate all your research output in one online profile. In this advanced workshop, participants will work with the R packages RORCID and VITAE in RStudio to create a resume based on a template ORCID profile. A basic understanding of R, RStudio, and installing packages is necessary for optimal workshop experience. Maximum attendance is 25.
Requires introductory knowledge of R and working with APIs. Requires R and RStudio installed on the computer being used.
Peace Ossom-Williamson, Director for Research Data Services, The University of Texas Arlington (Twitter: @123POW)
- Website: https://peaceossom.com
- ORCID: https://orcid.org/0000-0001-6229-7514
Floaters: Amy Koshoffer, Mark Chalmers, Jennifer Latessa
The following creators are credited for their output which are utilized in this workshop:
- Tamara Sternlieb – CV via rorcid and vitae
- Scott Chamberlain et al. - rorcid R package
- Mitchell O'Hara-Wild - vitae R package
Information about ORCID data can be found at the following links:
- ORCID API Documentation (click “What sections can I read on ORCID record using the API?”) at https://info.orcid.org/documentation/api-tutorials/api-tutorial-read-data-on-a-record/#easy-faq-2361
- rorcid walkthrough: https://ciakovx.github.io/rorcid.html
Other resources:
- Rmarkdown Cheat Sheet - https://www.rstudio.com/wp-content/uploads/2015/02/rmarkdown-cheatsheet.pdf
- About ORCID - https://info.orcid.org/what-is-orcid/
❗🔥For the workshop to be successful, the following installations/updates must occur:🔥❗
- R must be updated with version 4.0 or later
- RStudio must be updated with 1.4 or later
- Install or update tinytex using the following steps:
# To install tinytex
tinytex::install_tinytex()
More help and information is available in this debugging guide and this StackOverflow answered question.
- Download the repository from https://github.com/pow123/rorcid_resume_workshop
- Unzip the folder and rename it from rorcid_resume_workshop-main to rorcid_resume_workshop.
- If you'd like to add your headshot, upload it into the rorcid_resume_workshop folder. Make sure to save with the filename:
ProfilePic.jpg
. - Open RStudio and select “New Project.” Then select “Existing Repository.”
- Navigate to and select the rorcid_resume_workshop directory.
- Open the
ORCID-CV.Rmd
file. - Load the following packages:
library(rorcid)
library(httpuv)
For the libraries you need to install, first use install.packages()
before loading libraries.
Visit your ORCID profile and make sure it is up-to-date. You can also use browse(as.orcid("YourORCID")
, replacing "YourORCID" with your ORCID number in quotes, to open your profile from RStudio.
Make sure to provide education and experience and link your ORCID profile with relevant publications.
- First, make sure you are logged into ORCID.
- Next, use
orcid_auth()
and a new browser window will open telling you that authentication was successful and to come back to R. - In the console a "Bearer" alphanumeric code will appear. Copy the alphanumeric code.
- Next, in the console, load the
usethis
package and modify your Renvironment:
# Input install.packages("usethis") to install the package first.
# Note: The following will edit the R environment of this project alone, but you can use “user” instead.
library(usethis)
usethis::edit_r_environ("project")
- A new window will open in the text editor which will be called
.REnviron
. - In the new window, write the following:
# In the line below, replace your_alphanumeric_code below with the one you copied before.
# ...and make sure to include the quotation marks!
ORCID_TOKEN="your_alphanumeric_code"
- Next restart your R session. 1
The template provided uses the "AwesomeCV" template from the vitae
R package. After the workshop, you can try different CV options here: https://github.com/mitchelloharawild/vitae/blob/master/README.md
- To begin updating the info on the resume, make sure you are in the
ORCID-CV.Rmd
file. - Next, input your metadata at the top for name, surname, position, address, phone, email, twitter, linkedin, and about me.
- Throughout the file, make sure to replace the given ORCID with your own ID number by searching for 0000-0001-6229-7514 and replacing it.
- Load the following libraries now (or load them where they are located in the Rmd file):
rorcid
tidyverse
vitae
dplyr
For the libraries you need to install, first use install.packages()
before loading libraries.
- Under both “Education” and “Experience”, there are options to use ORCID metadata or to input your own (see the commented out lines in your
ORCID-CV.Rmd
file). - Update the “Languages” and “Skills” sections by replacing the examples with your own details.
- Next, I recommend running the R lines to ensure they work.
- Run one line in RStudio by clicking on the line in your file and pressing Ctrl+Enter (or press the “Run” button). For multiple lines, select the block of code before pressing Ctrl+Enter.
- What is occurring: First you store the metadata in a variable (which should appear in your Environment), and then you present it in a table (which should appear in the Rmd file).
To see a map of arguments: |
---|
view(rorcid::fields) |
- Once everything runs smoothly, you can Knit the file to create the PDF resume.
1 To restart an R session, go to the menu at the top of RStudio, and select Session → Restart R. ↩
This work is licensed under a Creative Commons Attribution 4.0 International License.