/lcarsc

LCARS-C is a lightweight clinical data acquisition and management software for clinical research and other data-focused research projects.

Primary LanguageRMIT LicenseMIT

LCARS-C

LCARS-C is a lightweight clinical data acquisition and management software for clinical research and other data-focused research projects. It is based on R Shiny and the golem framework.

✨ New version: LCARS-M2 ✨

Please refer to the new version LCARS mark-II (LCARS-M2) here. The new version was designed using Python/Django. It incorporates the experience and learning points from the LCARS-C prototype.

Installation

Install from github:

install.packages("devtools")
devtools::install_github("hcstubbe/lcarsc")

Alternatively, clone this repository and install lcarsc from the repository’s base folder including the lcarsM dependency:

install.packages("devtools")
devtools::install_local("dependencies/lcarsM.tar.gz")
devtools::install_local()

Example

Using LCARS-C locally: In this example, the config and scientific databases are saved in the working directory as ‘db_test_data.sqlite3.sqlite3’ and ‘db_test_cfg.sqlite3.sqlite3’. The preview data is saved as ‘db_preview.sqlite3’. ‘db_preview.sqlite3’ is overwritten each time the software reboots or the page reloads.

library(lcarsc)
lcarsc::run_app(ecrf_database_driver = RSQLite::SQLite(),
        ecrf_dbhost = "dbtest",
        ecrf_dbname = "db_test_data.sqlite3",
        ecrf_dbuser = "test_user",
        ecrf_dbpassword = NULL,
        config_database_driver = RSQLite::SQLite(),
        config_dbpassword = NULL,
        config_dbhost = "dbtest",
        config_dbname = "db_test_cfg.sqlite3",
        config_dbuser = "test_user",
        options = list(host = '0.0.0.0', port = 3838))

Furter examples

Please refer to this link for further configuration examples.