diff --git a/pkgdown.yml b/pkgdown.yml index 7f5e849..6851194 100644 --- a/pkgdown.yml +++ b/pkgdown.yml @@ -2,7 +2,7 @@ pandoc: 3.1.11 pkgdown: 2.1.1 pkgdown_sha: ~ articles: {} -last_built: 2025-02-27T12:51Z +last_built: 2025-03-05T20:29Z urls: reference: https://agdamsbo.github.io/freesearcheR/reference article: https://agdamsbo.github.io/freesearcheR/articles diff --git a/reference/all_but.html b/reference/all_but.html new file mode 100644 index 0000000..348857f --- /dev/null +++ b/reference/all_but.html @@ -0,0 +1,89 @@ + +Select all from vector but — all_but • freesearcheR + Skip to contents + + +
+
+
+ +
+

Select all from vector but

+
+ +
+

Usage

+
all_but(data, ...)
+
+ +
+

Arguments

+ + +
data
+

vector

+ + +
...
+

exclude

+ +
+
+

Value

+

vector

+
+ +
+

Examples

+
all_but(1:10, c(2, 3), 11, 5)
+#> [1]  1  4  6  7  8  9 10
+
+
+
+ + +
+ + + + + + + diff --git a/reference/append_list.html b/reference/append_list.html new file mode 100644 index 0000000..e5084a3 --- /dev/null +++ b/reference/append_list.html @@ -0,0 +1,97 @@ + +Append list with named index — append_list • freesearcheR + Skip to contents + + +
+
+
+ +
+

Append list with named index

+
+ +
+

Usage

+
append_list(data, list, index)
+
+ +
+

Arguments

+ + +
data
+

data to add to list

+ + +
list
+

list

+ + +
index
+

index name

+ +
+
+

Value

+

list

+
+ +
+

Examples

+
ls_d <- list(test=c(1:20))
+ls_d <- list()
+data.frame(letters[1:20],1:20) |> append_list(ls_d,"letters")
+#> Error in append_list(data.frame(letters[1:20], 1:20), ls_d, "letters"): could not find function "append_list"
+letters[1:20]|> append_list(ls_d,"letters")
+#> Error in append_list(letters[1:20], ls_d, "letters"): could not find function "append_list"
+
+
+
+ + +
+ + + + + + + diff --git a/reference/columnSelectInput.html b/reference/columnSelectInput.html new file mode 100644 index 0000000..7b11f7d --- /dev/null +++ b/reference/columnSelectInput.html @@ -0,0 +1,124 @@ + +A selectizeInput customized for data frames with column labels — columnSelectInput • freesearcheR + Skip to contents + + +
+
+
+ +
+

Copied and modified from the IDEAFilter package +Adds the option to select "none" which is handled later

+
+ +
+

Usage

+
columnSelectInput(
+  inputId,
+  label,
+  data,
+  selected = "",
+  ...,
+  col_subset = NULL,
+  placeholder = "",
+  onInitialize,
+  none_label = "No variable selected"
+)
+
+ +
+

Arguments

+ + +
inputId
+

passed to selectizeInput

+ + +
label
+

passed to selectizeInput

+ + +
data
+

data.frame object from which fields should be populated

+ + +
selected
+

default selection

+ + +
...
+

passed to selectizeInput

+ + +
col_subset
+

a vector containing the list of allowable columns to select

+ + +
placeholder
+

passed to selectizeInput options

+ + +
onInitialize
+

passed to selectizeInput options

+ + +
none_label
+

label for "none" item

+ +
+
+

Value

+

a selectizeInput dropdown element

+
+ +
+ + +
+ + + + + + + diff --git a/reference/contrast_text.html b/reference/contrast_text.html new file mode 100644 index 0000000..0dd7ba0 --- /dev/null +++ b/reference/contrast_text.html @@ -0,0 +1,131 @@ + +Contrast Text Color — contrast_text • freesearcheR + Skip to contents + + +
+
+
+ +
+

Calculates the best contrast text color for a given +background color.

+
+ +
+

Usage

+
contrast_text(
+  background,
+  light_text = "white",
+  dark_text = "black",
+  threshold = 0.5,
+  method = "perceived_2",
+  ...
+)
+
+ +
+

Arguments

+ + +
background
+

A hex/named color value that represents the background.

+ + +
light_text
+

A hex/named color value that represents the light text +color.

+ + +
dark_text
+

A hex/named color value that represents the dark text color.

+ + +
threshold
+

A numeric value between 0 and 1 that is used to determine +the luminance threshold of the background color for text color.

+ + +
method
+

A character string that specifies the method for calculating +the luminance. Three different methods are available: +c("relative","perceived","perceived_2")

+ + +
...
+

parameter overflow. Ignored.

+ +
+
+

Value

+

A character string that contains the best contrast text color.

+
+
+

Details

+

This function aids in deciding the font color to print on a given background. +The function is based on the example provided by teppo: +https://stackoverflow.com/a/66669838/21019325. +The different methods provided are based on the methods outlined in the +StackOverflow thread: +https://stackoverflow.com/questions/596216/formula-to-determine-perceived-brightness-of-rgb-color

+
+ +
+

Examples

+
contrast_text(c("#F2F2F2", "blue"))
+#> [1] "black" "white"
+
+contrast_text(c("#F2F2F2", "blue"), method="relative")
+#> [1] "black" "white"
+
+
+
+ + +
+ + + + + + + diff --git a/reference/create_plot.html b/reference/create_plot.html new file mode 100644 index 0000000..e071c92 --- /dev/null +++ b/reference/create_plot.html @@ -0,0 +1,8 @@ + + + + + + + + diff --git a/reference/data-correlations.html b/reference/data-correlations.html index 8dcc9ff..1b7d500 100644 --- a/reference/data-correlations.html +++ b/reference/data-correlations.html @@ -1,5 +1,7 @@ -Data correlations evaluation module — data-correlations • freesearcheR +Data correlations evaluation module — data-correlations • freesearcheR Skip to contents @@ -31,19 +33,24 @@

Data correlations evaluation module

+

Data correlations evaluation module

Usage

data_correlations_ui(id, ...)
 
-data_correlations_server(id, data, include.class = NULL, cutoff = 0.7, ...)
+data_correlations_server(id, data, include.class = NULL, cutoff = 0.7, ...) + +data_visuals_ui(id, tab_title = "Plots", ...) + +data_visuals_server(id, data, ...)
@@ -55,7 +62,7 @@
...
-

arguments passed to toastui::datagrid

+

ignored

data
@@ -73,6 +80,8 @@

Value

Shiny ui module

+

shiny server module

+

Shiny ui module

shiny server module

diff --git a/reference/data-plots-1.png b/reference/data-plots-1.png new file mode 100644 index 0000000..b448f5f Binary files /dev/null and b/reference/data-plots-1.png differ diff --git a/reference/data-plots-2.png b/reference/data-plots-2.png new file mode 100644 index 0000000..42a8c68 Binary files /dev/null and b/reference/data-plots-2.png differ diff --git a/reference/data-plots-3.png b/reference/data-plots-3.png new file mode 100644 index 0000000..65f94a5 Binary files /dev/null and b/reference/data-plots-3.png differ diff --git a/reference/data-plots-4.png b/reference/data-plots-4.png new file mode 100644 index 0000000..b145dc4 Binary files /dev/null and b/reference/data-plots-4.png differ diff --git a/reference/data-plots-5.png b/reference/data-plots-5.png new file mode 100644 index 0000000..8fd363e Binary files /dev/null and b/reference/data-plots-5.png differ diff --git a/reference/data-plots-6.png b/reference/data-plots-6.png new file mode 100644 index 0000000..866f55b Binary files /dev/null and b/reference/data-plots-6.png differ diff --git a/reference/data-plots-7.png b/reference/data-plots-7.png new file mode 100644 index 0000000..eef2750 Binary files /dev/null and b/reference/data-plots-7.png differ diff --git a/reference/data-plots-8.png b/reference/data-plots-8.png new file mode 100644 index 0000000..48cd52f Binary files /dev/null and b/reference/data-plots-8.png differ diff --git a/reference/data-plots.html b/reference/data-plots.html new file mode 100644 index 0000000..a97af7a --- /dev/null +++ b/reference/data-plots.html @@ -0,0 +1,180 @@ + +Title — data-plots • freesearcheR + Skip to contents + + +
+
+
+ +
+

Title

+

Wrapper to create plot based on provided type

+

Nice horizontal stacked bars (Grotta bars)

+

Beatiful violin plot

+

Beautiful violin plot

+

Beautiful sankey plot with option to split by a tertiary group

+
+ +
+

Usage

+
plot_ridge(data, x, y, z = NULL, ...)
+
+create_plot(data, type, x, y, z = NULL, ...)
+
+plot_hbars(data, x, y, z = NULL)
+
+plot_violin(data, x, y, z = NULL)
+
+plot_scatter(data, x, y, z = NULL)
+
+plot_sankey(data, x, y, z = NULL, color.group = "x", colors = NULL)
+
+ +
+

Arguments

+ + +
...
+

ignored for now

+ + +
type
+

plot type (derived from possible_plots() and matches custom function)

+ +
+
+

Value

+

ggplot2 object

+

ggplot2 object

+

ggplot2 object

+

ggplot2 object

+

ggplot2 object

+

ggplot2 object

+
+ +
+

Examples

+
mtcars |>
+  default_parsing() |>
+  plot_ridge(x = "mpg", y = "cyl")
+#> Picking joint bandwidth of 1.38
+
+mtcars |> plot_ridge(x = "mpg", y = "cyl", z = "gear")
+#> Picking joint bandwidth of 1.52
+#> Warning: The following aesthetics were dropped during statistical transformation: y and
+#> fill.
+#>  This can happen when ggplot fails to infer the correct grouping structure in
+#>   the data.
+#>  Did you forget to specify a `group` aesthetic or to convert a numerical
+#>   variable into a factor?
+#> Error in ggridges::geom_density_ridges(): Problem while setting up geom.
+#>  Error occurred in the 1st layer.
+#> Caused by error in `compute_geom_1()`:
+#> ! `geom_density_ridges()` requires the following missing aesthetics: y.
+create_plot(mtcars, "plot_violin", "mpg", "cyl")
+#> Error in if (!z %in% names(data)) {    z <- NULL}: argument is of length zero
+mtcars |> plot_hbars(x = "carb", y = "cyl")
+#> Scale for fill is already present.
+#> Adding another scale for fill, which will replace the existing scale.
+
+mtcars |> plot_hbars(x = "carb", y = NULL)
+#> Scale for fill is already present.
+#> Adding another scale for fill, which will replace the existing scale.
+
+mtcars |> plot_violin(x = "mpg", y = "cyl", z = "gear")
+#> Warning: There was 1 warning in `summarize()`.
+#>  In argument: `V1 = .fun(as.data.frame(pick(everything())), var)`.
+#>  In group 1: `cyl = 4`.
+#> Caused by warning in `stats::qt()`:
+#> ! NaNs produced
+#> Warning: There was 1 warning in `summarize()`.
+#>  In argument: `V1 = .fun(as.data.frame(pick(everything())), var)`.
+#>  In group 1: `cyl = 4`.
+#> Caused by warning in `stats::qt()`:
+#> ! NaNs produced
+#> Warning: There was 1 warning in `summarize()`.
+#>  In argument: `V1 = .fun(as.data.frame(pick(everything())), var)`.
+#>  In group 2: `cyl = 6`.
+#> Caused by warning in `stats::qt()`:
+#> ! NaNs produced
+#> Warning: There was 1 warning in `summarize()`.
+#>  In argument: `V1 = .fun(as.data.frame(pick(everything())), var)`.
+#>  In group 2: `cyl = 6`.
+#> Caused by warning in `stats::qt()`:
+#> ! NaNs produced
+#> Warning: Groups with fewer than two datapoints have been dropped.
+#>  Set `drop = FALSE` to consider such groups for position adjustment purposes.
+#> Warning: Groups with fewer than two datapoints have been dropped.
+#>  Set `drop = FALSE` to consider such groups for position adjustment purposes.
+
+mtcars |> plot_scatter(x = "mpg", y = "wt")
+
+ds <- data.frame(g = sample(LETTERS[1:2], 100, TRUE), first = REDCapCAST::as_factor(sample(letters[1:4], 100, TRUE)), last = REDCapCAST::as_factor(sample(letters[1:4], 100, TRUE)))
+ds |> plot_sankey("first", "last")
+#> Loading required package: ggplot2
+
+ds |> plot_sankey("first", "last", color.group = "y")
+
+ds |> plot_sankey("first", "last", z = "g", color.group = "y")
+
+
+
+
+ + +
+ + + +
+ + + + + + + diff --git a/reference/data_visuals_server.html b/reference/data_visuals_server.html new file mode 100644 index 0000000..4a17103 --- /dev/null +++ b/reference/data_visuals_server.html @@ -0,0 +1,8 @@ + + + + + + + + diff --git a/reference/data_visuals_ui.html b/reference/data_visuals_ui.html new file mode 100644 index 0000000..4a17103 --- /dev/null +++ b/reference/data_visuals_ui.html @@ -0,0 +1,8 @@ + + + + + + + + diff --git a/reference/get_label.html b/reference/get_label.html new file mode 100644 index 0000000..1fe177f --- /dev/null +++ b/reference/get_label.html @@ -0,0 +1,93 @@ + +Print label, and if missing print variable name — get_label • freesearcheR + Skip to contents + + +
+
+
+ +
+

Print label, and if missing print variable name

+
+ +
+

Usage

+
get_label(data, var = NULL)
+
+ +
+

Arguments

+ + +
data
+

vector or data frame

+ +
+
+

Value

+

character string

+
+ +
+

Examples

+
mtcars |> get_label(var = "mpg")
+#> [1] "mpg"
+mtcars |> get_label()
+#> [1] "mtcars"
+mtcars$mpg |> get_label()
+#> [1] "mtcars$mpg"
+gtsummary::trial |> get_label(var = "trt")
+#> [1] "Chemotherapy Treatment"
+1:10 |> get_label()
+#> [1] "1:10"
+
+
+
+ + +
+ + + +
+ + + + + + + diff --git a/reference/get_plot_options.html b/reference/get_plot_options.html new file mode 100644 index 0000000..2be1943 --- /dev/null +++ b/reference/get_plot_options.html @@ -0,0 +1,91 @@ + +Get the function options based on the selected function description — get_plot_options • freesearcheR + Skip to contents + + +
+
+
+ +
+

Get the function options based on the selected function description

+
+ +
+

Usage

+
get_plot_options(data)
+
+ +
+

Arguments

+ + +
data
+

vector

+ +
+
+

Value

+

list

+
+ +
+

Examples

+
ls <- mtcars |>
+  default_parsing() |>
+  dplyr::pull(mpg) |>
+  possible_plots() |>
+  (\(.x){
+    .x[[1]]
+  })() |>
+  get_plot_options()
+
+
+
+ + +
+ + + +
+ + + + + + + diff --git a/reference/getfun.html b/reference/getfun.html index af154ad..a8ec77b 100644 --- a/reference/getfun.html +++ b/reference/getfun.html @@ -132,7 +132,7 @@ #> z$qr <- NULL #> z #> } -#> <bytecode: 0x5643308df540> +#> <bytecode: 0x555d650596e0> #> <environment: namespace:stats>
diff --git a/reference/index.html b/reference/index.html index 83e0b25..10cfbab 100644 --- a/reference/index.html +++ b/reference/index.html @@ -58,6 +58,18 @@
Add sparkline to datagrid
+ all_but() + +
+
Select all from vector but
+
+ + append_list() + +
+
Append list with named index
+
+ argsstring2list()
@@ -82,6 +94,12 @@
gsub wrapper for piping with default values for separator substituting
+ contrast_text() + +
+
Contrast Text Color
+
+ create_overview_datagrid()
@@ -106,12 +124,18 @@
Extended cutting function
- data_correlations_ui() data_correlations_server() + data_correlations_ui() data_correlations_server() data_visuals_ui() data_visuals_server()
Data correlations evaluation module
+ plot_ridge() create_plot() plot_hbars() plot_violin() plot_scatter() plot_sankey() + +
+
Title
+
+ data_summary_ui() data_summary_server()
@@ -150,6 +174,18 @@ get_fun_options() + +
Get the function options based on the selected function description
+
+ + get_label() + +
+
Print label, and if missing print variable name
+
+ + get_plot_options() +
Get the function options based on the selected function description
@@ -196,12 +232,30 @@
Test is date/datetime/time
- launch() + is_valid_redcap_url() + +
+
Title
+
+ + is_valid_token() + +
+
Validate REDCap token
+
+ + launch_freesearcheR()
Easily launch the freesearcheR app
+ line_break() + +
+
Line breaking at given number of characters for nicely plotting labels
+
+ m_datafileUI()
@@ -238,8 +292,20 @@
Regression coef plot from gtsummary. Slightly modified to pass on arguments
+ plot_sankey_single() + +
+
Beautiful sankey plot
+
+ possible_functions() +
+
Get possible regression models
+
+ + possible_plots() +
Get possible regression models
@@ -250,7 +316,7 @@
Flexible file import based on extension
- m_redcap_readUI() m_redcap_readServer() tdm_redcap_read redcap_app() + m_redcap_readUI() m_redcap_readServer() redcap_demo_app()
Shiny module to browser and export REDCap data
@@ -280,6 +346,12 @@
Remove NA labels
+ sankey_ready() + +
+
Readying data for sankey plot
+
+ shiny_freesearcheR()
@@ -292,8 +364,20 @@
Specify format arguments to include in qmd header/frontmatter
+ subset_types() + +
+
Easily subset by data type function
+
+ supported_functions() +
+
Implemented functions
+
+ + supported_plots() +
Implemented functions
@@ -304,6 +388,12 @@
A substitue to gtsummary::tbl_merge, that will use list names for the tab spanner names.
+ update_factor_ui() update_factor_server() modal_update_factor() + +
+
Module to Reorder the Levels of a Factor Variable
+
+ update_variables_ui() update_variables_server()
@@ -316,6 +406,12 @@
Modified from the datamods pacakge
+ vertical_stacked_bars() + +
+
Vertical stacked bar plot wrapper
+
+ write_quarto()
diff --git a/reference/is_valid_redcap_url.html b/reference/is_valid_redcap_url.html new file mode 100644 index 0000000..0f775d5 --- /dev/null +++ b/reference/is_valid_redcap_url.html @@ -0,0 +1,86 @@ + +Title — is_valid_redcap_url • freesearcheR + Skip to contents + + +
+
+
+ +
+

Title

+
+ +
+

Usage

+
is_valid_redcap_url(url)
+
+ +
+

Arguments

+ + +
url
+
+ +
+ +
+

Examples

+
url <- c(
+  "www.example.com",
+  "http://example.com",
+  "https://redcap.your.inst/api/"
+)
+is_valid_redcap_url(url)
+#> [1] FALSE FALSE  TRUE
+
+
+
+ + +
+ + + +
+ + + + + + + diff --git a/reference/is_valid_token.html b/reference/is_valid_token.html new file mode 100644 index 0000000..8641aaa --- /dev/null +++ b/reference/is_valid_token.html @@ -0,0 +1,86 @@ + +Validate REDCap token — is_valid_token • freesearcheR + Skip to contents + + +
+
+
+ +
+

Validate REDCap token

+
+ +
+

Usage

+
is_valid_token(token, pattern_env = NULL, nchar = 32)
+
+ +
+

Arguments

+ + +
token
+

token

+ + +
pattern_env
+

pattern

+ +
+ +
+

Examples

+
token <- paste(sample(c(1:9, LETTERS[1:6]), 32, TRUE), collapse = "")
+is_valid_token(token)
+#> [1] TRUE
+
+
+
+ + +
+ + + +
+ + + + + + + diff --git a/reference/launch_freesearcheR.html b/reference/launch_freesearcheR.html new file mode 100644 index 0000000..f8af665 --- /dev/null +++ b/reference/launch_freesearcheR.html @@ -0,0 +1,79 @@ + +Easily launch the freesearcheR app — launch_freesearcheR • freesearcheR + Skip to contents + + +
+
+
+ +
+

Easily launch the freesearcheR app

+
+ +
+

Usage

+
launch_freesearcheR(...)
+
+ +
+

Arguments

+ + +
...
+

passed on to shiny::runApp()

+ +
+
+

Value

+

shiny app

+
+ +
+ + +
+ + + +
+ + + + + + + diff --git a/reference/line_break.html b/reference/line_break.html new file mode 100644 index 0000000..6b60734 --- /dev/null +++ b/reference/line_break.html @@ -0,0 +1,75 @@ + +Line breaking at given number of characters for nicely plotting labels — line_break • freesearcheR + Skip to contents + + +
+
+
+ +
+

Line breaking at given number of characters for nicely plotting labels

+
+ +
+

Usage

+
line_break(data, lineLength = 20)
+
+ +
+

Arguments

+ + +
lineLength
+
+ +
+ +
+ + +
+ + + +
+ + + + + + + diff --git a/reference/modal_update_factor.html b/reference/modal_update_factor.html new file mode 100644 index 0000000..38f28b8 --- /dev/null +++ b/reference/modal_update_factor.html @@ -0,0 +1,8 @@ + + + + + + + + diff --git a/reference/plot_hbars.html b/reference/plot_hbars.html new file mode 100644 index 0000000..e071c92 --- /dev/null +++ b/reference/plot_hbars.html @@ -0,0 +1,8 @@ + + + + + + + + diff --git a/reference/plot_ridge.html b/reference/plot_ridge.html new file mode 100644 index 0000000..e071c92 --- /dev/null +++ b/reference/plot_ridge.html @@ -0,0 +1,8 @@ + + + + + + + + diff --git a/reference/plot_sankey.html b/reference/plot_sankey.html new file mode 100644 index 0000000..e071c92 --- /dev/null +++ b/reference/plot_sankey.html @@ -0,0 +1,8 @@ + + + + + + + + diff --git a/reference/plot_sankey_single-1.png b/reference/plot_sankey_single-1.png new file mode 100644 index 0000000..d55f926 Binary files /dev/null and b/reference/plot_sankey_single-1.png differ diff --git a/reference/plot_sankey_single-2.png b/reference/plot_sankey_single-2.png new file mode 100644 index 0000000..427752a Binary files /dev/null and b/reference/plot_sankey_single-2.png differ diff --git a/reference/plot_sankey_single.html b/reference/plot_sankey_single.html new file mode 100644 index 0000000..866b0e2 --- /dev/null +++ b/reference/plot_sankey_single.html @@ -0,0 +1,88 @@ + +Beautiful sankey plot — plot_sankey_single • freesearcheR + Skip to contents + + +
+
+
+ +
+

Beautiful sankey plot

+
+ +
+

Usage

+
plot_sankey_single(data, x, y, color.group = "x", colors = NULL)
+
+ +
+

Arguments

+ + +
colors
+
+ +
+
+

Value

+

ggplot2 object

+
+ +
+

Examples

+
ds <- data.frame(g = sample(LETTERS[1:2], 100, TRUE), first = REDCapCAST::as_factor(sample(letters[1:4], 100, TRUE)), last = REDCapCAST::as_factor(sample(letters[1:4], 100, TRUE)))
+ds |> plot_sankey_single("first", "last")
+
+ds |> plot_sankey_single("first", "last", color.group = "y")
+
+
+
+
+ + +
+ + + +
+ + + + + + + diff --git a/reference/plot_scatter.html b/reference/plot_scatter.html new file mode 100644 index 0000000..e071c92 --- /dev/null +++ b/reference/plot_scatter.html @@ -0,0 +1,8 @@ + + + + + + + + diff --git a/reference/plot_violin.html b/reference/plot_violin.html new file mode 100644 index 0000000..e071c92 --- /dev/null +++ b/reference/plot_violin.html @@ -0,0 +1,8 @@ + + + + + + + + diff --git a/reference/possible_plots.html b/reference/possible_plots.html new file mode 100644 index 0000000..909e96f --- /dev/null +++ b/reference/possible_plots.html @@ -0,0 +1,95 @@ + +Get possible regression models — possible_plots • freesearcheR + Skip to contents + + +
+
+
+ +
+

Get possible regression models

+
+ +
+

Usage

+
possible_plots(data)
+
+ +
+

Arguments

+ + +
data
+

data

+ +
+
+

Value

+

character vector

+
+ +
+

Examples

+
mtcars |>
+  default_parsing() |>
+  dplyr::pull("cyl") |>
+  possible_plots()
+#> [1] "Stacked horizontal bars" "Violin plot"            
+#> [3] "Sankey plot"            
+
+mtcars |>
+  default_parsing() |>
+  dplyr::select("mpg") |>
+  possible_plots()
+#> [1] "Violin plot"  "Ridge plot"   "Scatter plot"
+
+
+
+ + +
+ + + +
+ + + + + + + diff --git a/reference/redcap_demo_app.html b/reference/redcap_demo_app.html new file mode 100644 index 0000000..26a9048 --- /dev/null +++ b/reference/redcap_demo_app.html @@ -0,0 +1,8 @@ + + + + + + + + diff --git a/reference/redcap_read_shiny_module.html b/reference/redcap_read_shiny_module.html index b2b6d27..493cb77 100644 --- a/reference/redcap_read_shiny_module.html +++ b/reference/redcap_read_shiny_module.html @@ -1,8 +1,6 @@ Shiny module to browser and export REDCap data — m_redcap_readUI • freesearcheR Skip to contents @@ -41,7 +39,6 @@ Test app for the redcap_read_shiny_module">

Shiny module to browser and export REDCap data

-

REDCap import teal data module

Test app for the redcap_read_shiny_module

@@ -49,17 +46,11 @@ Test app for the redcap_read_shiny_module">

Usage

m_redcap_readUI(id, include_title = TRUE)
 
-m_redcap_readServer(id, output.format = c("df", "teal", "list"))
+m_redcap_readServer(id)
 
-tdm_redcap_read
-
-redcap_app()
+redcap_demo_app() -
-

Format

-

An object of class teal_data_module of length 2.

-

Arguments

@@ -71,10 +62,6 @@ Test app for the redcap_read_shiny_module">
include_title

logical to include title

- -
output.format
-

data.frame ("df") or teal data object ("teal")

-

Value

@@ -85,7 +72,7 @@ Test app for the redcap_read_shiny_module">

Examples

if (FALSE) { # \dontrun{
-redcap_app()
+redcap_demo_app()
 } # }
 
diff --git a/reference/sankey_ready.html b/reference/sankey_ready.html new file mode 100644 index 0000000..2d6e4aa --- /dev/null +++ b/reference/sankey_ready.html @@ -0,0 +1,128 @@ + +Readying data for sankey plot — sankey_ready • freesearcheR + Skip to contents + + +
+
+
+ +
+

Readying data for sankey plot

+
+ +
+

Usage

+
sankey_ready(data, x, y, z = NULL, numbers = "count")
+
+ +
+

Arguments

+ + +
z
+
+ +
+ +
+

Examples

+
ds <- data.frame(g = sample(LETTERS[1:2], 100, TRUE), first = REDCapCAST::as_factor(sample(letters[1:4], 100, TRUE)), last = sample(c(letters[1:4], NA), 100, TRUE, prob = c(rep(.23, 4), .08)))
+ds |> sankey_ready("first", "last")
+#> # A tibble: 20 × 7
+#>    first last      n gx.sum gy.sum lx          ly         
+#>    <fct> <chr> <int>  <int>  <int> <fct>       <fct>      
+#>  1 d     a         5     22     17 "d\n(n=22)" "a\n(n=17)"
+#>  2 d     b         8     22     25 "d\n(n=22)" "b\n(n=25)"
+#>  3 d     c         4     22     29 "d\n(n=22)" "c\n(n=29)"
+#>  4 d     d         4     22     22 "d\n(n=22)" "d\n(n=22)"
+#>  5 d     NA        1     22      7 "d\n(n=22)" "NA\n(n=7)"
+#>  6 b     a         1     32     17 "b\n(n=32)" "a\n(n=17)"
+#>  7 b     b        11     32     25 "b\n(n=32)" "b\n(n=25)"
+#>  8 b     c        12     32     29 "b\n(n=32)" "c\n(n=29)"
+#>  9 b     d         7     32     22 "b\n(n=32)" "d\n(n=22)"
+#> 10 b     NA        1     32      7 "b\n(n=32)" "NA\n(n=7)"
+#> 11 a     a         8     23     17 "a\n(n=23)" "a\n(n=17)"
+#> 12 a     b         2     23     25 "a\n(n=23)" "b\n(n=25)"
+#> 13 a     c         7     23     29 "a\n(n=23)" "c\n(n=29)"
+#> 14 a     d         4     23     22 "a\n(n=23)" "d\n(n=22)"
+#> 15 a     NA        2     23      7 "a\n(n=23)" "NA\n(n=7)"
+#> 16 c     a         3     23     17 "c\n(n=23)" "a\n(n=17)"
+#> 17 c     b         4     23     25 "c\n(n=23)" "b\n(n=25)"
+#> 18 c     c         6     23     29 "c\n(n=23)" "c\n(n=29)"
+#> 19 c     d         7     23     22 "c\n(n=23)" "d\n(n=22)"
+#> 20 c     NA        3     23      7 "c\n(n=23)" "NA\n(n=7)"
+ds |> sankey_ready("first", "last", numbers = "percentage")
+#> # A tibble: 20 × 7
+#>    first last      n gx.sum gy.sum lx         ly        
+#>    <fct> <chr> <int>  <int>  <int> <fct>      <fct>     
+#>  1 d     a         5     22     17 "d\n(22%)" "a\n(17%)"
+#>  2 d     b         8     22     25 "d\n(22%)" "b\n(25%)"
+#>  3 d     c         4     22     29 "d\n(22%)" "c\n(29%)"
+#>  4 d     d         4     22     22 "d\n(22%)" "d\n(22%)"
+#>  5 d     NA        1     22      7 "d\n(22%)" "NA\n(7%)"
+#>  6 b     a         1     32     17 "b\n(32%)" "a\n(17%)"
+#>  7 b     b        11     32     25 "b\n(32%)" "b\n(25%)"
+#>  8 b     c        12     32     29 "b\n(32%)" "c\n(29%)"
+#>  9 b     d         7     32     22 "b\n(32%)" "d\n(22%)"
+#> 10 b     NA        1     32      7 "b\n(32%)" "NA\n(7%)"
+#> 11 a     a         8     23     17 "a\n(23%)" "a\n(17%)"
+#> 12 a     b         2     23     25 "a\n(23%)" "b\n(25%)"
+#> 13 a     c         7     23     29 "a\n(23%)" "c\n(29%)"
+#> 14 a     d         4     23     22 "a\n(23%)" "d\n(22%)"
+#> 15 a     NA        2     23      7 "a\n(23%)" "NA\n(7%)"
+#> 16 c     a         3     23     17 "c\n(23%)" "a\n(17%)"
+#> 17 c     b         4     23     25 "c\n(23%)" "b\n(25%)"
+#> 18 c     c         6     23     29 "c\n(23%)" "c\n(29%)"
+#> 19 c     d         7     23     22 "c\n(23%)" "d\n(22%)"
+#> 20 c     NA        3     23      7 "c\n(23%)" "NA\n(7%)"
+
+
+
+ + +
+ + + +
+ + + + + + + diff --git a/reference/subset_types.html b/reference/subset_types.html new file mode 100644 index 0000000..68733a9 --- /dev/null +++ b/reference/subset_types.html @@ -0,0 +1,122 @@ + +Easily subset by data type function — subset_types • freesearcheR + Skip to contents + + +
+
+
+ +
+

Easily subset by data type function

+
+ +
+

Usage

+
subset_types(data, types, type.fun = outcome_type)
+
+ +
+

Arguments

+ + +
data
+

data

+ + +
types
+

desired types

+ + +
type.fun
+

function to get type. Default is outcome_type

+ +
+
+

Value

+

vector

+
+ +
+

Examples

+
default_parsing(mtcars) |> subset_types("ordinal")
+#> # A tibble: 32 × 3
+#>    cyl   gear  carb 
+#>    <fct> <fct> <fct>
+#>  1 6     4     4    
+#>  2 6     4     4    
+#>  3 4     4     1    
+#>  4 6     3     1    
+#>  5 8     3     2    
+#>  6 6     3     1    
+#>  7 8     3     4    
+#>  8 4     4     2    
+#>  9 4     4     2    
+#> 10 6     4     4    
+#> # ℹ 22 more rows
+default_parsing(mtcars) |> subset_types(c("dichotomous", "ordinal"))
+#> # A tibble: 32 × 5
+#>    cyl   vs    am    gear  carb 
+#>    <fct> <fct> <fct> <fct> <fct>
+#>  1 6     0     1     4     4    
+#>  2 6     0     1     4     4    
+#>  3 4     1     1     4     1    
+#>  4 6     1     0     3     1    
+#>  5 8     0     0     3     2    
+#>  6 6     1     0     3     1    
+#>  7 8     0     0     3     4    
+#>  8 4     1     0     4     2    
+#>  9 4     1     0     4     2    
+#> 10 6     1     0     4     4    
+#> # ℹ 22 more rows
+#' default_parsing(mtcars) |> subset_types("factor",class)
+
+
+
+ + +
+ + + +
+ + + + + + + diff --git a/reference/supported_plots.html b/reference/supported_plots.html new file mode 100644 index 0000000..9c0b79d --- /dev/null +++ b/reference/supported_plots.html @@ -0,0 +1,133 @@ + +Implemented functions — supported_plots • freesearcheR + Skip to contents + + +
+
+
+ +
+

Library of supported functions. The list name and "descr" element should be +unique for each element on list.

  • descr: Plot description

  • +
  • primary.type: Primary variable data type (continuous, dichotomous or ordinal)

  • +
  • secondary.type: Secondary variable data type (continuous, dichotomous or ordinal)

  • +
  • secondary.extra: "none" or NULL to have option to choose none.

  • +
  • tertiary.type: Tertiary variable data type (continuous, dichotomous or ordinal)

  • +
+ +
+

Usage

+
supported_plots()
+
+ +
+

Value

+

list

+
+ +
+

Examples

+
supported_plots() |> str()
+#> List of 5
+#>  $ plot_hbars  :List of 6
+#>   ..$ descr          : chr "Stacked horizontal bars"
+#>   ..$ note           : chr "A classical way of visualising the distribution of an ordinal scale like the modified Ranking Scale and known as Grotta bars"
+#>   ..$ primary.type   : chr [1:2] "dichotomous" "ordinal"
+#>   ..$ secondary.type : chr [1:2] "dichotomous" "ordinal"
+#>   ..$ tertiary.type  : chr [1:2] "dichotomous" "ordinal"
+#>   ..$ secondary.extra: chr "none"
+#>  $ plot_violin :List of 6
+#>   ..$ descr          : chr "Violin plot"
+#>   ..$ note           : chr "A modern alternative to the classic boxplot to visualise data distribution"
+#>   ..$ primary.type   : chr [1:3] "continuous" "dichotomous" "ordinal"
+#>   ..$ secondary.type : chr [1:2] "dichotomous" "ordinal"
+#>   ..$ tertiary.type  : chr [1:2] "dichotomous" "ordinal"
+#>   ..$ secondary.extra: chr "none"
+#>  $ plot_ridge  :List of 6
+#>   ..$ descr          : chr "Ridge plot"
+#>   ..$ note           : chr "An alternative option to visualise data distribution"
+#>   ..$ primary.type   : chr "continuous"
+#>   ..$ secondary.type : chr [1:2] "dichotomous" "ordinal"
+#>   ..$ tertiary.type  : chr [1:2] "dichotomous" "ordinal"
+#>   ..$ secondary.extra: NULL
+#>  $ plot_sankey :List of 6
+#>   ..$ descr          : chr "Sankey plot"
+#>   ..$ note           : chr "A way of visualising change between groups"
+#>   ..$ primary.type   : chr [1:2] "dichotomous" "ordinal"
+#>   ..$ secondary.type : chr [1:2] "dichotomous" "ordinal"
+#>   ..$ tertiary.type  : chr [1:2] "dichotomous" "ordinal"
+#>   ..$ secondary.extra: NULL
+#>  $ plot_scatter:List of 6
+#>   ..$ descr          : chr "Scatter plot"
+#>   ..$ note           : chr "A classic way of showing the association between to variables"
+#>   ..$ primary.type   : chr "continuous"
+#>   ..$ secondary.type : chr [1:2] "continuous" "ordinal"
+#>   ..$ tertiary.type  : chr [1:2] "dichotomous" "ordinal"
+#>   ..$ secondary.extra: NULL
+
+
+
+ + +
+ + + +
+ + + + + + + diff --git a/reference/update-factor.html b/reference/update-factor.html new file mode 100644 index 0000000..3d2cdb0 --- /dev/null +++ b/reference/update-factor.html @@ -0,0 +1,117 @@ + +Module to Reorder the Levels of a Factor Variable — update-factor • freesearcheR + Skip to contents + + +
+
+
+ +
+

This module contain an interface to reorder the levels of a factor variable.

+
+ +
+

Usage

+
update_factor_ui(id)
+
+update_factor_server(id, data_r = reactive(NULL))
+
+modal_update_factor(
+  id,
+  title = i18n("Update levels of a factor"),
+  easyClose = TRUE,
+  size = "l",
+  footer = NULL
+)
+
+ +
+

Arguments

+ + +
id
+

Module ID.

+ + +
data_r
+

A shiny::reactive() function returning a data.frame.

+ + +
title
+

An optional title for the dialog.

+ + +
easyClose
+

If TRUE, the modal dialog can be dismissed by +clicking outside the dialog box, or be pressing the Escape key. If +FALSE (the default), the modal dialog can't be dismissed in those +ways; instead it must be dismissed by clicking on a modalButton(), or +from a call to removeModal() on the server.

+ + +
size
+

One of "s" for small, "m" (the default) for medium, +"l" for large, or "xl" for extra large. Note that "xl" only +works with Bootstrap 4 and above (to opt-in to Bootstrap 4+, +pass bslib::bs_theme() to the theme argument of a page container +like fluidPage()).

+ + + +

UI for footer. Use NULL for no footer.

+ +
+
+

Value

+

A shiny::reactive() function returning the data.

+
+ +
+ + +
+ + + +
+ + + + + + + diff --git a/reference/update_factor_server.html b/reference/update_factor_server.html new file mode 100644 index 0000000..38f28b8 --- /dev/null +++ b/reference/update_factor_server.html @@ -0,0 +1,8 @@ + + + + + + + + diff --git a/reference/update_factor_ui.html b/reference/update_factor_ui.html new file mode 100644 index 0000000..38f28b8 --- /dev/null +++ b/reference/update_factor_ui.html @@ -0,0 +1,8 @@ + + + + + + + + diff --git a/reference/vertical_stacked_bars.html b/reference/vertical_stacked_bars.html new file mode 100644 index 0000000..5486dce --- /dev/null +++ b/reference/vertical_stacked_bars.html @@ -0,0 +1,84 @@ + +Vertical stacked bar plot wrapper — vertical_stacked_bars • freesearcheR + Skip to contents + + +
+
+
+ +
+

Vertical stacked bar plot wrapper

+
+ +
+

Usage

+
vertical_stacked_bars(
+  data,
+  score = "full_score",
+  group = "pase_0_q",
+  strata = NULL,
+  t.size = 10,
+  l.color = "black",
+  l.size = 0.5,
+  draw.lines = TRUE
+)
+
+ +
+

Arguments

+ + +
t.size
+
+ +
+ +
+ + +
+ + + +
+ + + + + + + diff --git a/search.json b/search.json index 7065002..f45dc00 100644 --- a/search.json +++ b/search.json @@ -1 +1 @@ -[{"path":[]},{"path":"https://agdamsbo.github.io/freesearcheR/CODE_OF_CONDUCT.html","id":"our-pledge","dir":"","previous_headings":"","what":"Our Pledge","title":"Contributor Covenant Code of Conduct","text":"members, contributors, leaders pledge make participation community harassment-free experience everyone, regardless age, body size, visible invisible disability, ethnicity, sex characteristics, gender identity expression, level experience, education, socio-economic status, nationality, personal appearance, race, caste, color, religion, sexual identity orientation. pledge act interact ways contribute open, welcoming, diverse, inclusive, healthy community.","code":""},{"path":"https://agdamsbo.github.io/freesearcheR/CODE_OF_CONDUCT.html","id":"our-standards","dir":"","previous_headings":"","what":"Our Standards","title":"Contributor Covenant Code of Conduct","text":"Examples behavior contributes positive environment community include: Demonstrating empathy kindness toward people respectful differing opinions, viewpoints, experiences Giving gracefully accepting constructive feedback Accepting responsibility apologizing affected mistakes, learning experience Focusing best just us individuals, overall community Examples unacceptable behavior include: use sexualized language imagery, sexual attention advances kind Trolling, insulting derogatory comments, personal political attacks Public private harassment Publishing others’ private information, physical email address, without explicit permission conduct reasonably considered inappropriate professional setting","code":""},{"path":"https://agdamsbo.github.io/freesearcheR/CODE_OF_CONDUCT.html","id":"enforcement-responsibilities","dir":"","previous_headings":"","what":"Enforcement Responsibilities","title":"Contributor Covenant Code of Conduct","text":"Community leaders responsible clarifying enforcing standards acceptable behavior take appropriate fair corrective action response behavior deem inappropriate, threatening, offensive, harmful. Community leaders right responsibility remove, edit, reject comments, commits, code, wiki edits, issues, contributions aligned Code Conduct, communicate reasons moderation decisions appropriate.","code":""},{"path":"https://agdamsbo.github.io/freesearcheR/CODE_OF_CONDUCT.html","id":"scope","dir":"","previous_headings":"","what":"Scope","title":"Contributor Covenant Code of Conduct","text":"Code Conduct applies within community spaces, also applies individual officially representing community public spaces. Examples representing community include using official e-mail address, posting via official social media account, acting appointed representative online offline event.","code":""},{"path":"https://agdamsbo.github.io/freesearcheR/CODE_OF_CONDUCT.html","id":"enforcement","dir":"","previous_headings":"","what":"Enforcement","title":"Contributor Covenant Code of Conduct","text":"Instances abusive, harassing, otherwise unacceptable behavior may reported community leaders responsible enforcement agdamsbo@clin.au.dk. complaints reviewed investigated promptly fairly. community leaders obligated respect privacy security reporter incident.","code":""},{"path":"https://agdamsbo.github.io/freesearcheR/CODE_OF_CONDUCT.html","id":"enforcement-guidelines","dir":"","previous_headings":"","what":"Enforcement Guidelines","title":"Contributor Covenant Code of Conduct","text":"Community leaders follow Community Impact Guidelines determining consequences action deem violation Code Conduct:","code":""},{"path":"https://agdamsbo.github.io/freesearcheR/CODE_OF_CONDUCT.html","id":"id_1-correction","dir":"","previous_headings":"Enforcement Guidelines","what":"1. Correction","title":"Contributor Covenant Code of Conduct","text":"Community Impact: Use inappropriate language behavior deemed unprofessional unwelcome community. Consequence: private, written warning community leaders, providing clarity around nature violation explanation behavior inappropriate. public apology may requested.","code":""},{"path":"https://agdamsbo.github.io/freesearcheR/CODE_OF_CONDUCT.html","id":"id_2-warning","dir":"","previous_headings":"Enforcement Guidelines","what":"2. Warning","title":"Contributor Covenant Code of Conduct","text":"Community Impact: violation single incident series actions. Consequence: warning consequences continued behavior. interaction people involved, including unsolicited interaction enforcing Code Conduct, specified period time. includes avoiding interactions community spaces well external channels like social media. Violating terms may lead temporary permanent ban.","code":""},{"path":"https://agdamsbo.github.io/freesearcheR/CODE_OF_CONDUCT.html","id":"id_3-temporary-ban","dir":"","previous_headings":"Enforcement Guidelines","what":"3. Temporary Ban","title":"Contributor Covenant Code of Conduct","text":"Community Impact: serious violation community standards, including sustained inappropriate behavior. Consequence: temporary ban sort interaction public communication community specified period time. public private interaction people involved, including unsolicited interaction enforcing Code Conduct, allowed period. Violating terms may lead permanent ban.","code":""},{"path":"https://agdamsbo.github.io/freesearcheR/CODE_OF_CONDUCT.html","id":"id_4-permanent-ban","dir":"","previous_headings":"Enforcement Guidelines","what":"4. Permanent Ban","title":"Contributor Covenant Code of Conduct","text":"Community Impact: Demonstrating pattern violation community standards, including sustained inappropriate behavior, harassment individual, aggression toward disparagement classes individuals. Consequence: permanent ban sort public interaction within community.","code":""},{"path":"https://agdamsbo.github.io/freesearcheR/CODE_OF_CONDUCT.html","id":"attribution","dir":"","previous_headings":"","what":"Attribution","title":"Contributor Covenant Code of Conduct","text":"Code Conduct adapted Contributor Covenant, version 2.1, available https://www.contributor-covenant.org/version/2/1/code_of_conduct.html. Community Impact Guidelines inspired [Mozilla’s code conduct enforcement ladder][https://github.com/mozilla/inclusion]. answers common questions code conduct, see FAQ https://www.contributor-covenant.org/faq. Translations available https://www.contributor-covenant.org/translations.","code":""},{"path":"https://agdamsbo.github.io/freesearcheR/LICENSE.html","id":null,"dir":"","previous_headings":"","what":"GNU Affero General Public License","title":"GNU Affero General Public License","text":"Version 3, 19 November 2007 Copyright (C) 2007 Free Software Foundation, Inc.  Everyone permitted copy distribute verbatim copies license document, changing allowed.","code":""},{"path":"https://agdamsbo.github.io/freesearcheR/LICENSE.html","id":"preamble","dir":"","previous_headings":"","what":"Preamble","title":"GNU Affero General Public License","text":"GNU Affero General Public License free, copyleft license software kinds works, specifically designed ensure cooperation community case network server software. licenses software practical works designed take away freedom share change works. contrast, General Public Licenses intended guarantee freedom share change versions program–make sure remains free software users. speak free software, referring freedom, price. General Public Licenses designed make sure freedom distribute copies free software (charge wish), receive source code can get want , can change software use pieces new free programs, know can things. Developers use General Public Licenses protect rights two steps: (1) assert copyright software, (2) offer License gives legal permission copy, distribute /modify software. secondary benefit defending users’ freedom improvements made alternate versions program, receive widespread use, become available developers incorporate. Many developers free software heartened encouraged resulting cooperation. However, case software used network servers, result may fail come . GNU General Public License permits making modified version letting public access server without ever releasing source code public. GNU Affero General Public License designed specifically ensure , cases, modified source code becomes available community. requires operator network server provide source code modified version running users server. Therefore, public use modified version, publicly accessible server, gives public access source code modified version. older license, called Affero General Public License published Affero, designed accomplish similar goals. different license, version Affero GPL, Affero released new version Affero GPL permits relicensing license. precise terms conditions copying, distribution modification follow.","code":""},{"path":[]},{"path":"https://agdamsbo.github.io/freesearcheR/LICENSE.html","id":"id_0-definitions","dir":"","previous_headings":"TERMS AND CONDITIONS","what":"0. Definitions.","title":"GNU Affero General Public License","text":"“License” refers version 3 GNU Affero General Public License. “Copyright” also means copyright-like laws apply kinds works, semiconductor masks. “Program” refers copyrightable work licensed License. licensee addressed “”. “Licensees” “recipients” may individuals organizations. “modify” work means copy adapt part work fashion requiring copyright permission, making exact copy. resulting work called “modified version” earlier work work “based ” earlier work. “covered work” means either unmodified Program work based Program. “propagate” work means anything , without permission, make directly secondarily liable infringement applicable copyright law, except executing computer modifying private copy. Propagation includes copying, distribution (without modification), making available public, countries activities well. “convey” work means kind propagation enables parties make receive copies. Mere interaction user computer network, transfer copy, conveying. interactive user interface displays “Appropriate Legal Notices” extent includes convenient prominently visible feature (1) displays appropriate copyright notice, (2) tells user warranty work (except extent warranties provided), licensees may convey work License, view copy License. interface presents list user commands options, menu, prominent item list meets criterion.","code":""},{"path":"https://agdamsbo.github.io/freesearcheR/LICENSE.html","id":"id_1-source-code","dir":"","previous_headings":"TERMS AND CONDITIONS","what":"1. Source Code.","title":"GNU Affero General Public License","text":"“source code” work means preferred form work making modifications . “Object code” means non-source form work. “Standard Interface” means interface either official standard defined recognized standards body, , case interfaces specified particular programming language, one widely used among developers working language. “System Libraries” executable work include anything, work whole, () included normal form packaging Major Component, part Major Component, (b) serves enable use work Major Component, implement Standard Interface implementation available public source code form. “Major Component”, context, means major essential component (kernel, window system, ) specific operating system () executable work runs, compiler used produce work, object code interpreter used run . “Corresponding Source” work object code form means source code needed generate, install, (executable work) run object code modify work, including scripts control activities. However, include work’s System Libraries, general-purpose tools generally available free programs used unmodified performing activities part work. example, Corresponding Source includes interface definition files associated source files work, source code shared libraries dynamically linked subprograms work specifically designed require, intimate data communication control flow subprograms parts work. Corresponding Source need include anything users can regenerate automatically parts Corresponding Source. Corresponding Source work source code form work.","code":""},{"path":"https://agdamsbo.github.io/freesearcheR/LICENSE.html","id":"id_2-basic-permissions","dir":"","previous_headings":"TERMS AND CONDITIONS","what":"2. Basic Permissions.","title":"GNU Affero General Public License","text":"rights granted License granted term copyright Program, irrevocable provided stated conditions met. License explicitly affirms unlimited permission run unmodified Program. output running covered work covered License output, given content, constitutes covered work. License acknowledges rights fair use equivalent, provided copyright law. may make, run propagate covered works convey, without conditions long license otherwise remains force. may convey covered works others sole purpose make modifications exclusively , provide facilities running works, provided comply terms License conveying material control copyright. thus making running covered works must exclusively behalf, direction control, terms prohibit making copies copyrighted material outside relationship . Conveying circumstances permitted solely conditions stated . Sublicensing allowed; section 10 makes unnecessary.","code":""},{"path":"https://agdamsbo.github.io/freesearcheR/LICENSE.html","id":"id_3-protecting-users-legal-rights-from-anti-circumvention-law","dir":"","previous_headings":"TERMS AND CONDITIONS","what":"3. Protecting Users’ Legal Rights From Anti-Circumvention Law.","title":"GNU Affero General Public License","text":"covered work shall deemed part effective technological measure applicable law fulfilling obligations article 11 WIPO copyright treaty adopted 20 December 1996, similar laws prohibiting restricting circumvention measures. convey covered work, waive legal power forbid circumvention technological measures extent circumvention effected exercising rights License respect covered work, disclaim intention limit operation modification work means enforcing, work’s users, third parties’ legal rights forbid circumvention technological measures.","code":""},{"path":"https://agdamsbo.github.io/freesearcheR/LICENSE.html","id":"id_4-conveying-verbatim-copies","dir":"","previous_headings":"TERMS AND CONDITIONS","what":"4. Conveying Verbatim Copies.","title":"GNU Affero General Public License","text":"may convey verbatim copies Program’s source code receive , medium, provided conspicuously appropriately publish copy appropriate copyright notice; keep intact notices stating License non-permissive terms added accord section 7 apply code; keep intact notices absence warranty; give recipients copy License along Program. may charge price price copy convey, may offer support warranty protection fee.","code":""},{"path":"https://agdamsbo.github.io/freesearcheR/LICENSE.html","id":"id_5-conveying-modified-source-versions","dir":"","previous_headings":"TERMS AND CONDITIONS","what":"5. Conveying Modified Source Versions.","title":"GNU Affero General Public License","text":"may convey work based Program, modifications produce Program, form source code terms section 4, provided also meet conditions: work must carry prominent notices stating modified , giving relevant date. work must carry prominent notices stating released License conditions added section 7. requirement modifies requirement section 4 “keep intact notices”. must license entire work, whole, License anyone comes possession copy. License therefore apply, along applicable section 7 additional terms, whole work, parts, regardless packaged. License gives permission license work way, invalidate permission separately received . work interactive user interfaces, must display Appropriate Legal Notices; however, Program interactive interfaces display Appropriate Legal Notices, work need make . compilation covered work separate independent works, nature extensions covered work, combined form larger program, volume storage distribution medium, called “aggregate” compilation resulting copyright used limit access legal rights compilation’s users beyond individual works permit. Inclusion covered work aggregate cause License apply parts aggregate.","code":""},{"path":"https://agdamsbo.github.io/freesearcheR/LICENSE.html","id":"id_6-conveying-non-source-forms","dir":"","previous_headings":"TERMS AND CONDITIONS","what":"6. Conveying Non-Source Forms.","title":"GNU Affero General Public License","text":"may convey covered work object code form terms sections 4 5, provided also convey machine-readable Corresponding Source terms License, one ways: Convey object code , embodied , physical product (including physical distribution medium), accompanied Corresponding Source fixed durable physical medium customarily used software interchange. Convey object code , embodied , physical product (including physical distribution medium), accompanied written offer, valid least three years valid long offer spare parts customer support product model, give anyone possesses object code either (1) copy Corresponding Source software product covered License, durable physical medium customarily used software interchange, price reasonable cost physically performing conveying source, (2) access copy Corresponding Source network server charge. Convey individual copies object code copy written offer provide Corresponding Source. alternative allowed occasionally noncommercially, received object code offer, accord subsection 6b. Convey object code offering access designated place (gratis charge), offer equivalent access Corresponding Source way place charge. need require recipients copy Corresponding Source along object code. place copy object code network server, Corresponding Source may different server (operated third party) supports equivalent copying facilities, provided maintain clear directions next object code saying find Corresponding Source. Regardless server hosts Corresponding Source, remain obligated ensure available long needed satisfy requirements. Convey object code using peer--peer transmission, provided inform peers object code Corresponding Source work offered general public charge subsection 6d. separable portion object code, whose source code excluded Corresponding Source System Library, need included conveying object code work. “User Product” either (1) “consumer product”, means tangible personal property normally used personal, family, household purposes, (2) anything designed sold incorporation dwelling. determining whether product consumer product, doubtful cases shall resolved favor coverage. particular product received particular user, “normally used” refers typical common use class product, regardless status particular user way particular user actually uses, expects expected use, product. product consumer product regardless whether product substantial commercial, industrial non-consumer uses, unless uses represent significant mode use product. “Installation Information” User Product means methods, procedures, authorization keys, information required install execute modified versions covered work User Product modified version Corresponding Source. information must suffice ensure continued functioning modified object code case prevented interfered solely modification made. convey object code work section , , specifically use , User Product, conveying occurs part transaction right possession use User Product transferred recipient perpetuity fixed term (regardless transaction characterized), Corresponding Source conveyed section must accompanied Installation Information. requirement apply neither third party retains ability install modified object code User Product (example, work installed ROM). requirement provide Installation Information include requirement continue provide support service, warranty, updates work modified installed recipient, User Product modified installed. Access network may denied modification materially adversely affects operation network violates rules protocols communication across network. Corresponding Source conveyed, Installation Information provided, accord section must format publicly documented (implementation available public source code form), must require special password key unpacking, reading copying.","code":""},{"path":"https://agdamsbo.github.io/freesearcheR/LICENSE.html","id":"id_7-additional-terms","dir":"","previous_headings":"TERMS AND CONDITIONS","what":"7. Additional Terms.","title":"GNU Affero General Public License","text":"“Additional permissions” terms supplement terms License making exceptions one conditions. Additional permissions applicable entire Program shall treated though included License, extent valid applicable law. additional permissions apply part Program, part may used separately permissions, entire Program remains governed License without regard additional permissions. convey copy covered work, may option remove additional permissions copy, part . (Additional permissions may written require removal certain cases modify work.) may place additional permissions material, added covered work, can give appropriate copyright permission. Notwithstanding provision License, material add covered work, may (authorized copyright holders material) supplement terms License terms: Disclaiming warranty limiting liability differently terms sections 15 16 License; Requiring preservation specified reasonable legal notices author attributions material Appropriate Legal Notices displayed works containing ; Prohibiting misrepresentation origin material, requiring modified versions material marked reasonable ways different original version; Limiting use publicity purposes names licensors authors material; Declining grant rights trademark law use trade names, trademarks, service marks; Requiring indemnification licensors authors material anyone conveys material (modified versions ) contractual assumptions liability recipient, liability contractual assumptions directly impose licensors authors. non-permissive additional terms considered “restrictions” within meaning section 10. Program received , part , contains notice stating governed License along term restriction, may remove term. license document contains restriction permits relicensing conveying License, may add covered work material governed terms license document, provided restriction survive relicensing conveying. add terms covered work accord section, must place, relevant source files, statement additional terms apply files, notice indicating find applicable terms. Additional terms, permissive non-permissive, may stated form separately written license, stated exceptions; requirements apply either way.","code":""},{"path":"https://agdamsbo.github.io/freesearcheR/LICENSE.html","id":"id_8-termination","dir":"","previous_headings":"TERMS AND CONDITIONS","what":"8. Termination.","title":"GNU Affero General Public License","text":"may propagate modify covered work except expressly provided License. attempt otherwise propagate modify void, automatically terminate rights License (including patent licenses granted third paragraph section 11). However, cease violation License, license particular copyright holder reinstated () provisionally, unless copyright holder explicitly finally terminates license, (b) permanently, copyright holder fails notify violation reasonable means prior 60 days cessation. Moreover, license particular copyright holder reinstated permanently copyright holder notifies violation reasonable means, first time received notice violation License (work) copyright holder, cure violation prior 30 days receipt notice. Termination rights section terminate licenses parties received copies rights License. rights terminated permanently reinstated, qualify receive new licenses material section 10.","code":""},{"path":"https://agdamsbo.github.io/freesearcheR/LICENSE.html","id":"id_9-acceptance-not-required-for-having-copies","dir":"","previous_headings":"TERMS AND CONDITIONS","what":"9. Acceptance Not Required for Having Copies.","title":"GNU Affero General Public License","text":"required accept License order receive run copy Program. Ancillary propagation covered work occurring solely consequence using peer--peer transmission receive copy likewise require acceptance. However, nothing License grants permission propagate modify covered work. actions infringe copyright accept License. Therefore, modifying propagating covered work, indicate acceptance License .","code":""},{"path":"https://agdamsbo.github.io/freesearcheR/LICENSE.html","id":"id_10-automatic-licensing-of-downstream-recipients","dir":"","previous_headings":"TERMS AND CONDITIONS","what":"10. Automatic Licensing of Downstream Recipients.","title":"GNU Affero General Public License","text":"time convey covered work, recipient automatically receives license original licensors, run, modify propagate work, subject License. responsible enforcing compliance third parties License. “entity transaction” transaction transferring control organization, substantially assets one, subdividing organization, merging organizations. propagation covered work results entity transaction, party transaction receives copy work also receives whatever licenses work party’s predecessor interest give previous paragraph, plus right possession Corresponding Source work predecessor interest, predecessor can get reasonable efforts. may impose restrictions exercise rights granted affirmed License. example, may impose license fee, royalty, charge exercise rights granted License, may initiate litigation (including cross-claim counterclaim lawsuit) alleging patent claim infringed making, using, selling, offering sale, importing Program portion .","code":""},{"path":"https://agdamsbo.github.io/freesearcheR/LICENSE.html","id":"id_11-patents","dir":"","previous_headings":"TERMS AND CONDITIONS","what":"11. Patents.","title":"GNU Affero General Public License","text":"“contributor” copyright holder authorizes use License Program work Program based. work thus licensed called contributor’s “contributor version”. contributor’s “essential patent claims” patent claims owned controlled contributor, whether already acquired hereafter acquired, infringed manner, permitted License, making, using, selling contributor version, include claims infringed consequence modification contributor version. purposes definition, “control” includes right grant patent sublicenses manner consistent requirements License. contributor grants non-exclusive, worldwide, royalty-free patent license contributor’s essential patent claims, make, use, sell, offer sale, import otherwise run, modify propagate contents contributor version. following three paragraphs, “patent license” express agreement commitment, however denominated, enforce patent (express permission practice patent covenant sue patent infringement). “grant” patent license party means make agreement commitment enforce patent party. convey covered work, knowingly relying patent license, Corresponding Source work available anyone copy, free charge terms License, publicly available network server readily accessible means, must either (1) cause Corresponding Source available, (2) arrange deprive benefit patent license particular work, (3) arrange, manner consistent requirements License, extend patent license downstream recipients. “Knowingly relying” means actual knowledge , patent license, conveying covered work country, recipient’s use covered work country, infringe one identifiable patents country reason believe valid. , pursuant connection single transaction arrangement, convey, propagate procuring conveyance , covered work, grant patent license parties receiving covered work authorizing use, propagate, modify convey specific copy covered work, patent license grant automatically extended recipients covered work works based . patent license “discriminatory” include within scope coverage, prohibits exercise , conditioned non-exercise one rights specifically granted License. may convey covered work party arrangement third party business distributing software, make payment third party based extent activity conveying work, third party grants, parties receive covered work , discriminatory patent license () connection copies covered work conveyed (copies made copies), (b) primarily connection specific products compilations contain covered work, unless entered arrangement, patent license granted, prior 28 March 2007. Nothing License shall construed excluding limiting implied license defenses infringement may otherwise available applicable patent law.","code":""},{"path":"https://agdamsbo.github.io/freesearcheR/LICENSE.html","id":"id_12-no-surrender-of-others-freedom","dir":"","previous_headings":"TERMS AND CONDITIONS","what":"12. No Surrender of Others’ Freedom.","title":"GNU Affero General Public License","text":"conditions imposed (whether court order, agreement otherwise) contradict conditions License, excuse conditions License. convey covered work satisfy simultaneously obligations License pertinent obligations, consequence may convey . example, agree terms obligate collect royalty conveying convey Program, way satisfy terms License refrain entirely conveying Program.","code":""},{"path":"https://agdamsbo.github.io/freesearcheR/LICENSE.html","id":"id_13-remote-network-interaction-use-with-the-gnu-general-public-license","dir":"","previous_headings":"TERMS AND CONDITIONS","what":"13. Remote Network Interaction; Use with the GNU General Public License.","title":"GNU Affero General Public License","text":"Notwithstanding provision License, modify Program, modified version must prominently offer users interacting remotely computer network (version supports interaction) opportunity receive Corresponding Source version providing access Corresponding Source network server charge, standard customary means facilitating copying software. Corresponding Source shall include Corresponding Source work covered version 3 GNU General Public License incorporated pursuant following paragraph. Notwithstanding provision License, permission link combine covered work work licensed version 3 GNU General Public License single combined work, convey resulting work. terms License continue apply part covered work, work combined remain governed version 3 GNU General Public License.","code":""},{"path":"https://agdamsbo.github.io/freesearcheR/LICENSE.html","id":"id_14-revised-versions-of-this-license","dir":"","previous_headings":"TERMS AND CONDITIONS","what":"14. Revised Versions of this License.","title":"GNU Affero General Public License","text":"Free Software Foundation may publish revised /new versions GNU Affero General Public License time time. new versions similar spirit present version, may differ detail address new problems concerns. version given distinguishing version number. Program specifies certain numbered version GNU Affero General Public License “later version” applies , option following terms conditions either numbered version later version published Free Software Foundation. Program specify version number GNU Affero General Public License, may choose version ever published Free Software Foundation. Program specifies proxy can decide future versions GNU Affero General Public License can used, proxy’s public statement acceptance version permanently authorizes choose version Program. Later license versions may give additional different permissions. However, additional obligations imposed author copyright holder result choosing follow later version.","code":""},{"path":"https://agdamsbo.github.io/freesearcheR/LICENSE.html","id":"id_15-disclaimer-of-warranty","dir":"","previous_headings":"TERMS AND CONDITIONS","what":"15. Disclaimer of Warranty.","title":"GNU Affero General Public License","text":"WARRANTY PROGRAM, EXTENT PERMITTED APPLICABLE LAW. EXCEPT OTHERWISE STATED WRITING COPYRIGHT HOLDERS /PARTIES PROVIDE PROGRAM “” WITHOUT WARRANTY KIND, EITHER EXPRESSED IMPLIED, INCLUDING, LIMITED , IMPLIED WARRANTIES MERCHANTABILITY FITNESS PARTICULAR PURPOSE. ENTIRE RISK QUALITY PERFORMANCE PROGRAM . PROGRAM PROVE DEFECTIVE, ASSUME COST NECESSARY SERVICING, REPAIR CORRECTION.","code":""},{"path":"https://agdamsbo.github.io/freesearcheR/LICENSE.html","id":"id_16-limitation-of-liability","dir":"","previous_headings":"TERMS AND CONDITIONS","what":"16. Limitation of Liability.","title":"GNU Affero General Public License","text":"EVENT UNLESS REQUIRED APPLICABLE LAW AGREED WRITING COPYRIGHT HOLDER, PARTY MODIFIES /CONVEYS PROGRAM PERMITTED , LIABLE DAMAGES, INCLUDING GENERAL, SPECIAL, INCIDENTAL CONSEQUENTIAL DAMAGES ARISING USE INABILITY USE PROGRAM (INCLUDING LIMITED LOSS DATA DATA RENDERED INACCURATE LOSSES SUSTAINED THIRD PARTIES FAILURE PROGRAM OPERATE PROGRAMS), EVEN HOLDER PARTY ADVISED POSSIBILITY DAMAGES.","code":""},{"path":"https://agdamsbo.github.io/freesearcheR/LICENSE.html","id":"id_17-interpretation-of-sections-15-and-16","dir":"","previous_headings":"TERMS AND CONDITIONS","what":"17. Interpretation of Sections 15 and 16.","title":"GNU Affero General Public License","text":"disclaimer warranty limitation liability provided given local legal effect according terms, reviewing courts shall apply local law closely approximates absolute waiver civil liability connection Program, unless warranty assumption liability accompanies copy Program return fee. END TERMS CONDITIONS","code":""},{"path":"https://agdamsbo.github.io/freesearcheR/LICENSE.html","id":"how-to-apply-these-terms-to-your-new-programs","dir":"","previous_headings":"","what":"How to Apply These Terms to Your New Programs","title":"GNU Affero General Public License","text":"develop new program, want greatest possible use public, best way achieve make free software everyone can redistribute change terms. , attach following notices program. safest attach start source file effectively state exclusion warranty; file least “copyright” line pointer full notice found. Also add information contact electronic paper mail. software can interact users remotely computer network, also make sure provides way users get source. example, program web application, interface display “Source” link leads users archive code. many ways offer source, different solutions better different programs; see section 13 specific requirements. also get employer (work programmer) school, , sign “copyright disclaimer” program, necessary. information , apply follow GNU AGPL, see https://www.gnu.org/licenses/.","code":" Copyright (C) This program is free software: you can redistribute it and/or modify it under the terms of the GNU Affero General Public License as published by the Free Software Foundation, either version 3 of the License, or (at your option) any later version. This program is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU Affero General Public License for more details. You should have received a copy of the GNU Affero General Public License along with this program. If not, see ."},{"path":"https://agdamsbo.github.io/freesearcheR/QA.html","id":null,"dir":"","previous_headings":"","what":"Questions and answers","title":"Questions and answers","text":"complete instructions set available, collection questions answers project use app.","code":""},{"path":"https://agdamsbo.github.io/freesearcheR/QA.html","id":"are-you-keeping-the-uploaded-data","dir":"","previous_headings":"","what":"Are you keeping the uploaded data?","title":"Questions and answers","text":"! uploaded data deleted session ends, stored analyses immediately deleted.","code":""},{"path":"https://agdamsbo.github.io/freesearcheR/ROADMAP.html","id":null,"dir":"","previous_headings":"","what":"Project roadmap","title":"Project roadmap","text":"current state app considered experimental, lot things still changing. , however, usable state, basic functions available user. (actual list quite long growing) planned features improvements: Stratified analyses Additional study designs: Cross-sectional data analyses Longitudinal data analyses Survival analysis detailed variable browser Add histograms data distribution. 2025-01-16 Option edit labels. 2025-01-16 output controls Theming output tables Select analyses include report Export modified data. 2025-01-16 Include reproducible code steps (maybe , steps, final dataset can exported) Modify factor levels Factor level modifications possible converting factors numeric > cutting numeric desired fixed values. 2024-12-12 options date/datetime/time grouping/factoring. Included weekday month-options. 2024-12-12 Graphs plots Correlation matrix plot data exploration 2025-2-20 Grotta bars ordianl outcomes Coefficient plotting regression analyses (forest plot) 2025-2-20","code":""},{"path":"https://agdamsbo.github.io/freesearcheR/authors.html","id":null,"dir":"","previous_headings":"","what":"Authors","title":"Authors and Citation","text":"Andreas Gammelgaard Damsbo. Author, maintainer.","code":""},{"path":"https://agdamsbo.github.io/freesearcheR/authors.html","id":"citation","dir":"","previous_headings":"","what":"Citation","title":"Authors and Citation","text":"Damsbo (2025). freesearcheR: Browser Based Data Analysis. R package version 25.2.1, https://agdamsbo.github.io/freesearcheR/, https://github.com/agdamsbo/freesearcheR.","code":"@Manual{, title = {freesearcheR: Browser Based Data Analysis}, author = {Andreas Gammelgaard Damsbo}, year = {2025}, note = {R package version 25.2.1, https://agdamsbo.github.io/freesearcheR/}, url = {https://github.com/agdamsbo/freesearcheR}, }"},{"path":"https://agdamsbo.github.io/freesearcheR/index.html","id":"freesearcher","dir":"","previous_headings":"","what":"Browser Based Data Analysis","title":"Browser Based Data Analysis","text":"package backbone freesearcheR, free open-source browser based data exploration analysis tool clinicians researchers publication ready output. package freesearcheR-tool part larger initiative democratize health data analysis remove barriers clinicians engage health research. freesearcheR-tool online accessible : link app freely hosted shinyapps.io. feedback welcome can shared GitHub issue. Initiatives funding continued development tool surrounding initiatives ongoing.","code":""},{"path":"https://agdamsbo.github.io/freesearcheR/index.html","id":"install-locally","dir":"","previous_headings":"","what":"Install locally","title":"Browser Based Data Analysis","text":"freesearcheR-tool can also launched locally. data.frame available global environment accessible interface.","code":"require(\"devtools\") devtools::install_github(\"agdamsbo/freesearcheR\") library(freesearcheR) # By loading mtcars to the environment, it will be available # in the interface like any other data.frame data(mtcars) shiny_freesearcheR()"},{"path":"https://agdamsbo.github.io/freesearcheR/index.html","id":"code-of-conduct","dir":"","previous_headings":"","what":"Code of Conduct","title":"Browser Based Data Analysis","text":"Please note freesearcheR project released Contributor Code Conduct. contributing project, agree abide terms.","code":""},{"path":"https://agdamsbo.github.io/freesearcheR/reference/add_class_icon.html","id":null,"dir":"Reference","previous_headings":"","what":"Convert class grid column to icon — add_class_icon","title":"Convert class grid column to icon — add_class_icon","text":"Convert class grid column icon","code":""},{"path":"https://agdamsbo.github.io/freesearcheR/reference/add_class_icon.html","id":"ref-usage","dir":"Reference","previous_headings":"","what":"Usage","title":"Convert class grid column to icon — add_class_icon","text":"","code":"add_class_icon(grid, column = \"class\")"},{"path":"https://agdamsbo.github.io/freesearcheR/reference/add_class_icon.html","id":"arguments","dir":"Reference","previous_headings":"","what":"Arguments","title":"Convert class grid column to icon — add_class_icon","text":"grid grid column column","code":""},{"path":"https://agdamsbo.github.io/freesearcheR/reference/add_class_icon.html","id":"value","dir":"Reference","previous_headings":"","what":"Value","title":"Convert class grid column to icon — add_class_icon","text":"datagrid","code":""},{"path":"https://agdamsbo.github.io/freesearcheR/reference/add_class_icon.html","id":"ref-examples","dir":"Reference","previous_headings":"","what":"Examples","title":"Convert class grid column to icon — add_class_icon","text":"","code":"mtcars |> overview_vars() |> toastui::datagrid() |> add_class_icon() {\"x\":{\"nrow\":11,\"ncol\":7,\"data\":[[\"numeric\",\"numeric\",\"numeric\",\"numeric\",\"numeric\",\"numeric\",\"numeric\",\"numeric\",\"numeric\",\"numeric\",\"numeric\"],[\"numeric\",\"numeric\",\"numeric\",\"numeric\",\"numeric\",\"numeric\",\"numeric\",\"numeric\",\"numeric\",\"numeric\",\"numeric\"],[\"mpg\",\"cyl\",\"disp\",\"hp\",\"drat\",\"wt\",\"qsec\",\"vs\",\"am\",\"gear\",\"carb\"],[0,0,0,0,0,0,0,0,0,0,0],[1,1,1,1,1,1,1,1,1,1,1],[25,3,27,22,22,29,30,2,2,3,6],[[21,21,22.8,21.4,18.7,18.1,14.3,24.4,22.8,19.2,17.8,16.4,17.3,15.2,10.4,10.4,14.7,32.4,30.4,33.9,21.5,15.5,15.2,13.3,19.2,27.3,26,30.4,15.8,19.7,15,21.4],[6,6,4,6,8,6,8,4,4,6,6,8,8,8,8,8,8,4,4,4,4,8,8,8,8,4,4,4,8,6,8,4],[160,160,108,258,360,225,360,146.7,140.8,167.6,167.6,275.8,275.8,275.8,472,460,440,78.7,75.7,71.09999999999999,120.1,318,304,350,400,79,120.3,95.09999999999999,351,145,301,121],[110,110,93,110,175,105,245,62,95,123,123,180,180,180,205,215,230,66,52,65,97,150,150,245,175,66,91,113,264,175,335,109],[3.9,3.9,3.85,3.08,3.15,2.76,3.21,3.69,3.92,3.92,3.92,3.07,3.07,3.07,2.93,3,3.23,4.08,4.93,4.22,3.7,2.76,3.15,3.73,3.08,4.08,4.43,3.77,4.22,3.62,3.54,4.11],[2.62,2.875,2.32,3.215,3.44,3.46,3.57,3.19,3.15,3.44,3.44,4.07,3.73,3.78,5.25,5.424,5.345,2.2,1.615,1.835,2.465,3.52,3.435,3.84,3.845,1.935,2.14,1.513,3.17,2.77,3.57,2.78],[16.46,17.02,18.61,19.44,17.02,20.22,15.84,20,22.9,18.3,18.9,17.4,17.6,18,17.98,17.82,17.42,19.47,18.52,19.9,20.01,16.87,17.3,15.41,17.05,18.9,16.7,16.9,14.5,15.5,14.6,18.6],[0,0,1,1,0,1,0,1,1,1,1,0,0,0,0,0,0,1,1,1,1,0,0,0,0,1,0,1,0,0,0,1],[1,1,1,0,0,0,0,0,0,0,0,0,0,0,0,0,0,1,1,1,0,0,0,0,0,1,1,1,1,1,1,1],[4,4,4,3,3,3,3,4,4,4,4,3,3,3,3,3,3,4,4,4,3,3,3,3,3,4,5,5,5,5,5,4],[4,4,1,1,2,1,4,2,2,4,4,3,3,3,4,4,4,1,2,1,1,2,2,4,2,1,2,2,4,6,8,2]]],\"colnames\":[\"class\",\"type\",\"name\",\"n_missing\",\"p_complete\",\"n_unique\",\"vals\"],\"options\":{\"columns\":[{\"header\":\"class\",\"name\":\"class\",\"sortable\":true,\"align\":\"left\",\"whiteSpace\":\"normal\",\"renderer\":{\"styles\":{\"wordBreak\":\"normal\"},\"type\":\"datagrid.renderer.format\",\"options\":{\"formatted\":[\"<\\/i>\",\"<\\/i>\",\"<\\/i>\",\"<\\/i>\",\"<\\/i>\",\"<\\/i>\",\"<\\/i>\",\"<\\/i>\",\"<\\/i>\",\"<\\/i>\",\"<\\/i>\"]}},\"width\":60},{\"header\":\"type\",\"name\":\"type\",\"sortable\":true,\"align\":\"left\",\"whiteSpace\":\"normal\",\"renderer\":{\"styles\":{\"wordBreak\":\"normal\"}}},{\"header\":\"name\",\"name\":\"name\",\"sortable\":true,\"align\":\"left\",\"whiteSpace\":\"normal\",\"renderer\":{\"styles\":{\"wordBreak\":\"normal\"}}},{\"header\":\"n_missing\",\"name\":\"n_missing\",\"sortable\":true,\"align\":\"right\",\"whiteSpace\":\"normal\",\"renderer\":{\"styles\":{\"wordBreak\":\"normal\"}}},{\"header\":\"p_complete\",\"name\":\"p_complete\",\"sortable\":true,\"align\":\"right\",\"whiteSpace\":\"normal\",\"renderer\":{\"styles\":{\"wordBreak\":\"normal\"}}},{\"header\":\"n_unique\",\"name\":\"n_unique\",\"sortable\":true,\"align\":\"right\",\"whiteSpace\":\"normal\",\"renderer\":{\"styles\":{\"wordBreak\":\"normal\"}}},{\"header\":\"vals\",\"name\":\"vals\",\"sortable\":true,\"align\":\"left\",\"whiteSpace\":\"normal\",\"renderer\":{\"styles\":{\"wordBreak\":\"normal\"}}}],\"bodyHeight\":\"fitToParent\",\"draggable\":false,\"usageStatistics\":false,\"contextMenu\":null,\"rowHeight\":\"auto\"},\"theme\":\"clean\",\"themeOptions\":{\"cell\":{\"normal\":{\"showHorizontalBorder\":true}}},\"language\":\"en\",\"languageOptions\":[],\"filters\":false,\"rowAttributes\":[],\"validationInput\":false,\"dataAsInput\":false,\"dragInput\":false},\"evals\":[\"options.columns.0.renderer.type\"],\"jsHooks\":[]}"},{"path":"https://agdamsbo.github.io/freesearcheR/reference/add_sparkline.html","id":null,"dir":"Reference","previous_headings":"","what":"Add sparkline to datagrid — add_sparkline","title":"Add sparkline to datagrid — add_sparkline","text":"Add sparkline datagrid","code":""},{"path":"https://agdamsbo.github.io/freesearcheR/reference/add_sparkline.html","id":"ref-usage","dir":"Reference","previous_headings":"","what":"Usage","title":"Add sparkline to datagrid — add_sparkline","text":"","code":"add_sparkline( grid, column = \"vals\", color.main = \"#2a8484\", color.sec = \"#84EF84\" )"},{"path":"https://agdamsbo.github.io/freesearcheR/reference/add_sparkline.html","id":"arguments","dir":"Reference","previous_headings":"","what":"Arguments","title":"Add sparkline to datagrid — add_sparkline","text":"grid grid column clumn transform","code":""},{"path":"https://agdamsbo.github.io/freesearcheR/reference/add_sparkline.html","id":"value","dir":"Reference","previous_headings":"","what":"Value","title":"Add sparkline to datagrid — add_sparkline","text":"datagrid","code":""},{"path":"https://agdamsbo.github.io/freesearcheR/reference/add_sparkline.html","id":"ref-examples","dir":"Reference","previous_headings":"","what":"Examples","title":"Add sparkline to datagrid — add_sparkline","text":"","code":"grid <- mtcars |> default_parsing() |> overview_vars() |> toastui::datagrid() |> add_sparkline() grid {\"x\":{\"nrow\":11,\"ncol\":7,\"data\":[[\"numeric\",\"factor\",\"numeric\",\"numeric\",\"numeric\",\"numeric\",\"numeric\",\"factor\",\"factor\",\"factor\",\"factor\"],[\"numeric\",\"factor\",\"numeric\",\"numeric\",\"numeric\",\"numeric\",\"numeric\",\"factor\",\"factor\",\"factor\",\"factor\"],[\"mpg\",\"cyl\",\"disp\",\"hp\",\"drat\",\"wt\",\"qsec\",\"vs\",\"am\",\"gear\",\"carb\"],[0,0,0,0,0,0,0,0,0,0,0],[1,1,1,1,1,1,1,1,1,1,1],[25,3,27,22,22,29,30,2,2,3,6],[[21,21,22.8,21.4,18.7,18.1,14.3,24.4,22.8,19.2,17.8,16.4,17.3,15.2,10.4,10.4,14.7,32.4,30.4,33.9,21.5,15.5,15.2,13.3,19.2,27.3,26,30.4,15.8,19.7,15,21.4],[\"6\",\"6\",\"4\",\"6\",\"8\",\"6\",\"8\",\"4\",\"4\",\"6\",\"6\",\"8\",\"8\",\"8\",\"8\",\"8\",\"8\",\"4\",\"4\",\"4\",\"4\",\"8\",\"8\",\"8\",\"8\",\"4\",\"4\",\"4\",\"8\",\"6\",\"8\",\"4\"],[160,160,108,258,360,225,360,146.7,140.8,167.6,167.6,275.8,275.8,275.8,472,460,440,78.7,75.7,71.09999999999999,120.1,318,304,350,400,79,120.3,95.09999999999999,351,145,301,121],[110,110,93,110,175,105,245,62,95,123,123,180,180,180,205,215,230,66,52,65,97,150,150,245,175,66,91,113,264,175,335,109],[3.9,3.9,3.85,3.08,3.15,2.76,3.21,3.69,3.92,3.92,3.92,3.07,3.07,3.07,2.93,3,3.23,4.08,4.93,4.22,3.7,2.76,3.15,3.73,3.08,4.08,4.43,3.77,4.22,3.62,3.54,4.11],[2.62,2.875,2.32,3.215,3.44,3.46,3.57,3.19,3.15,3.44,3.44,4.07,3.73,3.78,5.25,5.424,5.345,2.2,1.615,1.835,2.465,3.52,3.435,3.84,3.845,1.935,2.14,1.513,3.17,2.77,3.57,2.78],[16.46,17.02,18.61,19.44,17.02,20.22,15.84,20,22.9,18.3,18.9,17.4,17.6,18,17.98,17.82,17.42,19.47,18.52,19.9,20.01,16.87,17.3,15.41,17.05,18.9,16.7,16.9,14.5,15.5,14.6,18.6],[\"0\",\"0\",\"1\",\"1\",\"0\",\"1\",\"0\",\"1\",\"1\",\"1\",\"1\",\"0\",\"0\",\"0\",\"0\",\"0\",\"0\",\"1\",\"1\",\"1\",\"1\",\"0\",\"0\",\"0\",\"0\",\"1\",\"0\",\"1\",\"0\",\"0\",\"0\",\"1\"],[\"1\",\"1\",\"1\",\"0\",\"0\",\"0\",\"0\",\"0\",\"0\",\"0\",\"0\",\"0\",\"0\",\"0\",\"0\",\"0\",\"0\",\"1\",\"1\",\"1\",\"0\",\"0\",\"0\",\"0\",\"0\",\"1\",\"1\",\"1\",\"1\",\"1\",\"1\",\"1\"],[\"4\",\"4\",\"4\",\"3\",\"3\",\"3\",\"3\",\"4\",\"4\",\"4\",\"4\",\"3\",\"3\",\"3\",\"3\",\"3\",\"3\",\"4\",\"4\",\"4\",\"3\",\"3\",\"3\",\"3\",\"3\",\"4\",\"5\",\"5\",\"5\",\"5\",\"5\",\"4\"],[\"4\",\"4\",\"1\",\"1\",\"2\",\"1\",\"4\",\"2\",\"2\",\"4\",\"4\",\"3\",\"3\",\"3\",\"4\",\"4\",\"4\",\"1\",\"2\",\"1\",\"1\",\"2\",\"2\",\"4\",\"2\",\"1\",\"2\",\"2\",\"4\",\"6\",\"8\",\"2\"]]],\"colnames\":[\"class\",\"type\",\"name\",\"n_missing\",\"p_complete\",\"n_unique\",\"vals\"],\"options\":{\"columns\":[{\"header\":\"class\",\"name\":\"class\",\"sortable\":true,\"align\":\"left\",\"whiteSpace\":\"normal\",\"renderer\":{\"styles\":{\"wordBreak\":\"normal\"}}},{\"header\":\"type\",\"name\":\"type\",\"sortable\":true,\"align\":\"left\",\"whiteSpace\":\"normal\",\"renderer\":{\"styles\":{\"wordBreak\":\"normal\"}}},{\"header\":\"name\",\"name\":\"name\",\"sortable\":true,\"align\":\"left\",\"whiteSpace\":\"normal\",\"renderer\":{\"styles\":{\"wordBreak\":\"normal\"}}},{\"header\":\"n_missing\",\"name\":\"n_missing\",\"sortable\":true,\"align\":\"right\",\"whiteSpace\":\"normal\",\"renderer\":{\"styles\":{\"wordBreak\":\"normal\"}}},{\"header\":\"p_complete\",\"name\":\"p_complete\",\"sortable\":true,\"align\":\"right\",\"whiteSpace\":\"normal\",\"renderer\":{\"styles\":{\"wordBreak\":\"normal\"}}},{\"header\":\"n_unique\",\"name\":\"n_unique\",\"sortable\":true,\"align\":\"right\",\"whiteSpace\":\"normal\",\"renderer\":{\"styles\":{\"wordBreak\":\"normal\"}}},{\"header\":\"vals\",\"name\":\"vals\",\"sortable\":true,\"align\":\"left\",\"whiteSpace\":\"normal\",\"renderer\":{\"styles\":{\"wordBreak\":\"normal\"},\"type\":\"datagrid.renderer.htmlwidgets\",\"options\":{\"rendered\":[\"
<\\/div>\\n