diff --git a/R/shiny_cast.R b/R/shiny_cast.R
index f0b0f15..78099bb 100644
--- a/R/shiny_cast.R
+++ b/R/shiny_cast.R
@@ -18,18 +18,6 @@ shiny_cast <- function(...) {
}
shiny::runApp(appDir = appDir, ...)
-
- # This is from the VarSelLCM
- # shiny_cast2 <- function(X){
- # check.results(X)
- # G <- .GlobalEnv
- # assign("resVSLC", X, envir=G)
- # a=shiny::runApp(system.file(package="REDCapCAST"),launch.browser = TRUE)
- # return(invisible(a))
- # }
-
- # shiny::runApp(appDir = here::here("app/"),...)
- # ## Need adjustments to run anywhere
}
diff --git a/inst/shiny-examples/casting/www/SHINYCAST.html b/inst/shiny-examples/casting/www/SHINYCAST.html
deleted file mode 100644
index c01df45..0000000
--- a/inst/shiny-examples/casting/www/SHINYCAST.html
+++ /dev/null
@@ -1,432 +0,0 @@
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
Introduction
-
Welcome to the REDCap database casting tool. This is the introduction
-for the graphical app (build in shiny), that allows you to create a new
-REDCap database or instrument based on your spreadsheet.
-
-
Disclaimer
-
This tool is aimed at demonstrating use of REDCapCAST. The app can be
-run locally or on a hosted server (will save no data anywhere). No
-responsibility for data loss or any other problems will be taken. You
-are very welcome to contact me for support.
-
-
-
Options
-
These are the functionalities to create and migrate data from a
-spreadsheet to a REDCap database:
-
-create a REDCap data dictionary or instrument based on a
-spreadsheet (.csv/.xls(x)/.dta/.ods) and,
-upload said database file on a given REDCap server and upload the
-dataset via API access or download for all manual upload.
-
-
-
-
Background
-
-
-
Use and feedback
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
diff --git a/inst/shiny-examples/casting/www/SHINYCAST.md b/inst/shiny-examples/casting/www/SHINYCAST.md
index 877147e..524740f 100644
--- a/inst/shiny-examples/casting/www/SHINYCAST.md
+++ b/inst/shiny-examples/casting/www/SHINYCAST.md
@@ -16,8 +16,6 @@ The functions of this app can be described in two parts:
2. upload the created database file and data to a given REDCap server via API access.
-Below, each step is described in more details.
-
## Getting started
On the left, you initially just find one single option to upload a spreadsheet. Having done this, you can then preview the uploaded data and generated data dictionary by selecting the relevant tab on the top right.
@@ -30,7 +28,7 @@ Based on the uploaded spreadsheet, the app will make a qualified guess on data c
If you want to add data to an existing database, an instrument can be created. This metadata file is identical to a data dictionary, but does not include a "record_id" field and is packaged as a .zip file, which is uploaded in the "Designer" interface in REDCap.
-### Transferring directly to REDCap database
+### Transferring directly to a REDCap database
Based on the API-functions in REDCap, you can upload your data dictionary and renamed data directly from this interface (no data is stored on the server, but consider launching this shiny app on your own machine after having installed the [REDCapCAST package](https://agdamsbo.github.io/REDCapCAST/#installation) in R). Launch a local instance of this app with:
@@ -38,6 +36,8 @@ Based on the API-functions in REDCap, you can upload your data dictionary and re
REDCapCAST::shiny_cast()
```
+Please mind you, that uploading a new data dictionary can delete data in your database and is non-reversible. Make sure to save a backup beforehand. Also, uploading a data dictionary to a server in production is not possible. This step is only advisable for newly created databases. See the "Disclaimer" above.
+
## Background
The main structure of variables of a REDCap database is defined by a so-called data dictionary. This is a simple spreadsheet file defining one or more instruments, data classes, branching logic and more. It does not contain any information on randomization, longitudinal data or repeatable instruments. These functions must be set up in the REDCap interface after having defined the data dictionary.
@@ -58,7 +58,7 @@ This app and package can be cited using the following bibtex citation or by refe
@Manual{,
title = {REDCapCAST: REDCap Castellated Data Handling And Metadata Casting},
author = {Andreas Gammelgaard Damsbo and Paul Egeler},
- year = {2016},
+ year = {2024},
note = {R package version 24.11.1, https://agdamsbo.github.io/REDCapCAST/},
url = {https://github.com/agdamsbo/REDCapCAST},
}