Onboarding and researchers using RStudio into Confluence Data Platform:
Copy the File ID. This will be used in the R boxr packageIn Rstudio, run the following commands:
install.packages("boxr")
library(boxr)
box_auth()
The console will then ask for credentials as shown below
enter the following information:
Client ID: 627lww8un9twnoa8f9rjvldf7kb56q1m
Client Secret: gSKdYKLd65aQpZGrq9x4QVUNnn5C8qqm
Discuss why these credentials don't give you access to anything ! <-- important !
It's all set, try x = box_read(<fileId>)
Run analysis on the file loaded with box_read.
Write back with modifications and see how Box tracks versions and authentications
Ask for access to this folder to experiment with non-sensitive but realistic data: https://nih.app.box.com/folder/133596945131
Configure Github in your RStudio and ask for write permissions to https://github.com/episphere/Rtest
Let's now connect your machine's RStudio with your Github account - chose Global Options and generate a public key for git. Commit that public key to your Github ssh.
Let's connect Rtest by creating a new project: in Githbub click on the green Code button and copy the ssh link, git@github.com:episphere/Rtest.git , and use it to create a new project.
Let's take time at this point to go over the creation and management of code branches in github directly from RStudio. For an overall view of who is doing what check the network in insights (shortcut: https://github.com/episphere/Rtest/network). Use the code you right to read and write back to the shared Box folder.
As you take time with #15 analysing data with others, make friends and co-conspirators at https://gitter.im/episphere/Fair. As these interactions unfold, we'll be generating persistent support material at https://github.com/episphere/fair/wiki and https://github.com/episphere/fair/discussions.