documented dataset for shiny testing

This commit is contained in:
Andreas Gammelgaard Damsbo 2024-02-27 12:43:29 +01:00
parent 409d53a6be
commit b63fbbe3c9
4 changed files with 78 additions and 0 deletions

23
R/mtcars_redcap.R Normal file
View File

@ -0,0 +1,23 @@
#' mtcars dataset slightly modified to use for Shiny app upload demonstration
#'
#'
#' @format A data frame with 13 variables:
#' \describe{
#' \item{record_id}{ID, numeric}
#' \item{mpg}{ID, numeric}
#' \item{cyl}{ID, numeric}
#' \item{disp}{ID, numeric}
#' \item{hp}{ID, numeric}
#' \item{drat}{ID, numeric}
#' \item{wt}{ID, numeric}
#' \item{qsec}{ID, numeric}
#' \item{vs}{ID, numeric}
#' \item{am}{ID, numeric}
#' \item{gear}{ID, numeric}
#' \item{carb}{ID, numeric}
#' \item{name}{original rownames, charater}
#'
#' }
#' @usage data(mtcars_redcap)
"mtcars_redcap"

BIN
data/mtcars_redcap.rda Normal file

Binary file not shown.

23
man/deploy_shiny.Rd Normal file
View File

@ -0,0 +1,23 @@
% Generated by roxygen2: do not edit by hand
% Please edit documentation in R/shiny_cast.R
\name{deploy_shiny}
\alias{deploy_shiny}
\title{Deploy the Shiny app with rsconnect}
\usage{
deploy_shiny(path = here::here("app/"), name.app = "shiny_cast")
}
\arguments{
\item{path}{app folder path}
\item{name.app}{name of deployed app}
}
\value{
deploy
}
\description{
Deploy the Shiny app with rsconnect
}
\examples{
# deploy_shiny
}

32
man/mtcars_redcap.Rd Normal file
View File

@ -0,0 +1,32 @@
% Generated by roxygen2: do not edit by hand
% Please edit documentation in R/mtcars_redcap.R
\docType{data}
\name{mtcars_redcap}
\alias{mtcars_redcap}
\title{mtcars dataset slightly modified to use for Shiny app upload demonstration}
\format{
A data frame with 13 variables:
\describe{
\item{record_id}{ID, numeric}
\item{mpg}{ID, numeric}
\item{cyl}{ID, numeric}
\item{disp}{ID, numeric}
\item{hp}{ID, numeric}
\item{drat}{ID, numeric}
\item{wt}{ID, numeric}
\item{qsec}{ID, numeric}
\item{vs}{ID, numeric}
\item{am}{ID, numeric}
\item{gear}{ID, numeric}
\item{carb}{ID, numeric}
\item{name}{original rownames, charater}
}
}
\usage{
data(mtcars_redcap)
}
\description{
mtcars dataset slightly modified to use for Shiny app upload demonstration
}
\keyword{datasets}