mirror of
https://github.com/agdamsbo/REDCapCAST.git
synced 2026-06-19 05:07:30 +02:00
first commit to add shiny app for basic upload of dictionary and dataset
This commit is contained in:
parent
796826d7d9
commit
05c0f35016
12 changed files with 333 additions and 5 deletions
20
man/file_extension.Rd
Normal file
20
man/file_extension.Rd
Normal file
|
|
@ -0,0 +1,20 @@
|
|||
% Generated by roxygen2: do not edit by hand
|
||||
% Please edit documentation in R/utils.r
|
||||
\name{file_extension}
|
||||
\alias{file_extension}
|
||||
\title{Helper to import files correctly}
|
||||
\usage{
|
||||
file_extension(filenames)
|
||||
}
|
||||
\arguments{
|
||||
\item{filenames}{file names}
|
||||
}
|
||||
\value{
|
||||
character vector
|
||||
}
|
||||
\description{
|
||||
Helper to import files correctly
|
||||
}
|
||||
\examples{
|
||||
file_extension(list.files(here::here(""))[[2]])[[1]]
|
||||
}
|
||||
22
man/read_input.Rd
Normal file
22
man/read_input.Rd
Normal file
|
|
@ -0,0 +1,22 @@
|
|||
% Generated by roxygen2: do not edit by hand
|
||||
% Please edit documentation in R/utils.r
|
||||
\name{read_input}
|
||||
\alias{read_input}
|
||||
\title{Flexible file import based on extension}
|
||||
\usage{
|
||||
read_input(file, consider.na = c("NA", "\\"\\"", ""))
|
||||
}
|
||||
\arguments{
|
||||
\item{file}{file name}
|
||||
|
||||
\item{consider.na}{character vector of strings to consider as NAs}
|
||||
}
|
||||
\value{
|
||||
tibble
|
||||
}
|
||||
\description{
|
||||
Flexible file import based on extension
|
||||
}
|
||||
\examples{
|
||||
read_input("https://raw.githubusercontent.com/agdamsbo/cognitive.index.lookup/main/data/sample.csv")
|
||||
}
|
||||
14
man/server_factory.Rd
Normal file
14
man/server_factory.Rd
Normal file
|
|
@ -0,0 +1,14 @@
|
|||
% Generated by roxygen2: do not edit by hand
|
||||
% Please edit documentation in R/shiny_cast.R
|
||||
\name{server_factory}
|
||||
\alias{server_factory}
|
||||
\title{Shiny server factory}
|
||||
\usage{
|
||||
server_factory()
|
||||
}
|
||||
\value{
|
||||
shiny server
|
||||
}
|
||||
\description{
|
||||
Shiny server factory
|
||||
}
|
||||
18
man/shiny_cast.Rd
Normal file
18
man/shiny_cast.Rd
Normal file
|
|
@ -0,0 +1,18 @@
|
|||
% Generated by roxygen2: do not edit by hand
|
||||
% Please edit documentation in R/shiny_cast.R
|
||||
\name{shiny_cast}
|
||||
\alias{shiny_cast}
|
||||
\title{Launch the included Shiny-app for database casting and upload}
|
||||
\usage{
|
||||
shiny_cast()
|
||||
}
|
||||
\value{
|
||||
shiny app
|
||||
}
|
||||
\description{
|
||||
Launch the included Shiny-app for database casting and upload
|
||||
}
|
||||
\examples{
|
||||
# shiny_cast()
|
||||
|
||||
}
|
||||
14
man/ui_factory.Rd
Normal file
14
man/ui_factory.Rd
Normal file
|
|
@ -0,0 +1,14 @@
|
|||
% Generated by roxygen2: do not edit by hand
|
||||
% Please edit documentation in R/shiny_cast.R
|
||||
\name{ui_factory}
|
||||
\alias{ui_factory}
|
||||
\title{UI factory for shiny app}
|
||||
\usage{
|
||||
ui_factory()
|
||||
}
|
||||
\value{
|
||||
shiny ui
|
||||
}
|
||||
\description{
|
||||
UI factory for shiny app
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue