-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Rename references to old github organisation (#43)
- Loading branch information
1 parent
ff8d57f
commit 4d2159e
Showing
3 changed files
with
7 additions
and
7 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -2,7 +2,7 @@ | |
|
||
<!-- badges: start --> | ||
[![Lifecycle: experimental](https://img.shields.io/badge/lifecycle-experimental-orange.svg)](https://lifecycle.r-lib.org/articles/stages.html#experimental) | ||
[![R-CMD-check](https://github.com/UCLH-Foundry/omop-data-catalogue/actions/workflows/R-CMD-check.yaml/badge.svg)](https://github.com/UCLH-Foundry/omop-data-catalogue/actions/workflows/R-CMD-check.yaml) | ||
[![R-CMD-check](https://github.com/SAFEHR-data/omop-data-catalogue/actions/workflows/R-CMD-check.yaml/badge.svg)](https://github.com/SAFEHR-data/omop-data-catalogue/actions/workflows/R-CMD-check.yaml) | ||
<!-- badges: end --> | ||
|
||
The goal of calypso is to provide a summary of OMOP data and display it in a public data catalogue | ||
|
@@ -13,7 +13,7 @@ You can install the development version of calypso from within R like so: | |
|
||
```r | ||
# install.packages("pak") | ||
pak::pak("UCLH-Foundry/calypso") | ||
pak::pak("SAFEHR-data/calypso") | ||
``` | ||
|
||
## Development | ||
|
@@ -26,7 +26,7 @@ as it has good support for R package development and Shiny. | |
|
||
1. Clone this repository | ||
|
||
- Either with `git clone [email protected]:UCLH-Foundry/omop-data-catalogue.git` | ||
- Either with `git clone [email protected]:SAFEHR-data/omop-data-catalogue.git` | ||
- Or by creating [a new project in RStudio from version control](https://docs.posit.co/ide/user/ide/guide/tools/version-control.html#creating-a-new-project-based-on-a-remote-git-or-subversion-repository) | ||
|
||
2. Install [`{renv}`](https://rstudio.github.io/renv/index.html) and restore the project library by running the following from an R console in the project directory: | ||
|
@@ -35,7 +35,7 @@ as it has good support for R package development and Shiny. | |
install.packages("renv") | ||
renv::restore() | ||
``` | ||
3. Create the [duckdb](https://github.com/duckdb/duckdb) test database and run the analyses by running from an R console in the project directory (test dataset properties can be updated in the [`.Rprofile`](https://github.com/UCLH-Foundry/omop-data-catalogue/blob/main/.Rprofile) file): | ||
3. Create the [duckdb](https://github.com/duckdb/duckdb) test database and run the analyses by running from an R console in the project directory (test dataset properties can be updated in the [`.Rprofile`](https://github.com/SAFEHR-data/omop-data-catalogue/blob/main/.Rprofile) file): | ||
|
||
```r | ||
source(here::here("dev/test_db/setup_test_db.R")) | ||
|
@@ -50,7 +50,7 @@ as it has good support for R package development and Shiny. | |
|
||
The `dev/02_dev.R` script contains a few helper functions to get you started. | ||
|
||
Calypso test data can be found in [`inst/test_data`](https://github.com/UCLH-Foundry/omop-data-catalogue/tree/main/inst/data). These data have been generated by using the synthetic dataset '[synthea-allergies-10k](https://darwin-eu.github.io/CDMConnector/reference/eunomiaDir.html)', and adding some [dummy data](https://github.com/UCLH-Foundry/omop-data-catalogue/tree/main/dev/test_db/dummy) for the MEASUREMENT and OBSERVATION tables (to have some records in the 'calypso-summary-stats' table). | ||
Calypso test data can be found in [`inst/test_data`](https://github.com/SAFEHR-data/omop-data-catalogue/tree/main/inst/data). These data have been generated by using the synthetic dataset '[synthea-allergies-10k](https://darwin-eu.github.io/CDMConnector/reference/eunomiaDir.html)', and adding some [dummy data](https://github.com/SAFEHR-data/omop-data-catalogue/tree/main/dev/test_db/dummy) for the MEASUREMENT and OBSERVATION tables (to have some records in the 'calypso-summary-stats' table). | ||
|
||
If you want to recreate a test dataset, you can run the following R scripts: | ||
|
||
|