Skip to content
GitLab
Menu
Projects
Groups
Snippets
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
Anna Tominaga
ASPREE R Package
Commits
560f8734
Commit
560f8734
authored
Dec 11, 2018
by
Jason Rigby
Browse files
update documentation
parent
ef2f5b23
Changes
1
Hide whitespace changes
Inline
Side-by-side
README.md
View file @
560f8734
...
...
@@ -6,12 +6,20 @@ install.packages(c("devtools", "getPass"))
Then, the ASPREE package itself can be installed using the following command:
```
username <- "your_monash_username"
devtools::install_git("https://gitlab.erc.monash.edu.au/aspree/aspree-r-package.git",
credentials = git2r::cred_user_pass(readline(prompt="USERNAME: "),
getPass::getPass()))
credentials = git2r::cred_user_pass(username, getPass::getPass()))
```
You will be prompted for your Monash GitLab credentials before installation proceeds.
Here's an example using the ASPREE library to retrieve ASPREE XT consent status:
```
library(aspree)
library(dplyr)
aspreeConsent <- aspreeDb("ASPREE Data Snapshot") %>% getXTConsent()
```
# Development
Recommended reading:
[
the devtools cheatsheet
](
https://www.rstudio.com/wp-content/uploads/2015/03/devtools-cheatsheet.pdf
)
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment