Skip to content

Commit

Permalink
update README
Browse files Browse the repository at this point in the history
  • Loading branch information
dewittpe committed Sep 18, 2024
1 parent 2f9be64 commit ee2e86d
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 13 deletions.
9 changes: 3 additions & 6 deletions README.Rmd
Original file line number Diff line number Diff line change
@@ -1,7 +1,3 @@
---
output: github_document
---

<!-- README.md is generated from README.Rmd. Please edit that file -->

```{r, include = FALSE}
Expand Down Expand Up @@ -114,7 +110,7 @@ Sys.setenv(REDCap_API_URI = "https://<your-redcap-domain>/api/")
Export the data from REDCap and format it, based on the metadata of the REDCap
project via:

```{r}
```{r, eval = FALSE}
project1_redcap_core <- export_core()
project1 <- format_record(project1_redcap_core)
```
Expand All @@ -126,7 +122,8 @@ National Hockey League Stanley Cup Champion Colorado Avalanche. The data was
transcribed from [Hockey Reference](https://www.hockey-reference.com/teams/COL/2001.html)
into a REDCap Project hosed at the University of Colorado Denver.

The data set `avs_raw_core` was generated via
The data set `avs_raw_core` was generated via the following, after setting up my
keyring and token as described above.
```{r}
library(REDCapExporter)
Sys.setenv(REDCap_API_URI = "https://redcap.ucdenver.edu/api/")
Expand Down
9 changes: 2 additions & 7 deletions README.md
Original file line number Diff line number Diff line change
@@ -1,7 +1,3 @@
---
output: github_document
---

<!-- README.md is generated from README.Rmd. Please edit that file -->


Expand Down Expand Up @@ -116,9 +112,7 @@ project via:

``` r
project1_redcap_core <- export_core()
#> Error in export_core(): could not find function "export_core"
project1 <- format_record(project1_redcap_core)
#> Error in format_record(project1_redcap_core): could not find function "format_record"
```

### Example
Expand All @@ -128,7 +122,8 @@ National Hockey League Stanley Cup Champion Colorado Avalanche. The data was
transcribed from [Hockey Reference](https://www.hockey-reference.com/teams/COL/2001.html)
into a REDCap Project hosed at the University of Colorado Denver.

The data set `avs_raw_core` was generated via
The data set `avs_raw_core` was generated via the following, after setting up my
keyring and token as described above.

``` r
library(REDCapExporter)
Expand Down

0 comments on commit ee2e86d

Please sign in to comment.