a) Connect RStudio to Box
Ask for access to this folder to experiment with non-sensitive but realistic data: https://nih.app.box.com/folder/133596945131
install.packages("boxr")
library(boxr)
box_auth(“627lww8un9twnoa8f9rjvldf7kb56q1m“,”gSKdYKLd65aQpZGrq9x4QVUNnn5C8qqm”)
Make sure you understand the OAuth2 login and 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 and box_write them back. ← your examples, your domain.
Write back to the same file with modifications and see how Box tracks versions, authentications, and conflicts.
Connect Github
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.
remember to activate rsa key after generating it + check connection in your terminal with ssh -T git@github.com
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 used to read and write back to the shared Box folder.
Connect to open source community, create your own
As you take time with #15 analyzing 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.