Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
14 changes: 14 additions & 0 deletions .Rhistory
Original file line number Diff line number Diff line change
Expand Up @@ -179,3 +179,17 @@ devtools::install()
pkgdown::build_site()
pkgdown::build_site()
pkgdown::build_site()
devtools::load_all()
devtools::document()
devtools::install()
pkgdown::build_site()
devtools::load_all()
devtools::document()
devtools::install()
pkgdown::build_site()
pkgdown::build_site()
pkgdown::build_site()
pkgdown::build_site()
devtools::load_all()
devtools::document()
devtools::install()
2 changes: 1 addition & 1 deletion .Rproj.user/F19CAEE1/pcs/source-pane.pper
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
{
"activeTab": 2,
"activeTab": 4,
"activeTabSourceWindow0": 0
}
12 changes: 6 additions & 6 deletions .Rproj.user/F19CAEE1/pcs/source-window.pper
Original file line number Diff line number Diff line change
@@ -1,11 +1,11 @@
{
"sourceWindowGeometry": {
"wfdasfpxkd9d6": {
"ordinal": 1,
"x": 283,
"y": 17,
"width": 980,
"height": 951
"w7u3g5xr3cjuq": {
"ordinal": 2,
"x": 1358,
"y": 0,
"width": 1091,
"height": 1111
}
}
}
4 changes: 2 additions & 2 deletions .Rproj.user/F19CAEE1/pcs/windowlayoutstate.pper
Original file line number Diff line number Diff line change
@@ -1,12 +1,12 @@
{
"left": {
"splitterpos": 299,
"splitterpos": 298,
"topwindowstate": "NORMAL",
"panelheight": 714,
"windowheight": 752
},
"right": {
"splitterpos": 450,
"splitterpos": 449,
"topwindowstate": "MINIMIZE",
"panelheight": 714,
"windowheight": 752
Expand Down
10 changes: 5 additions & 5 deletions .Rproj.user/F19CAEE1/rmd-outputs
Original file line number Diff line number Diff line change
@@ -1,8 +1,8 @@
C:/Users/edda/AppData/Local/Temp/RtmpGSAvMO/preview-31283c751ba3.dir/dataprep_options.html
C:/Users/edda/AppData/Local/Temp/RtmpGSAvMO/preview-31284c9e6706.dir/index_categories.html
C:/Users/edda/AppData/Local/Temp/RtmpGSAvMO/preview-312827d268b.dir/dataprep_options.html
C:/Users/edda/AppData/Local/Temp/RtmpGSAvMO/preview-31287f7c1c4b.dir/dataprep_options.html
C:/Users/edda/AppData/Local/Temp/RtmpGSAvMO/preview-3128101b73b7.dir/dataprep_options.html
C:/Users/edda/AppData/Local/Temp/RtmpE1gk4u/preview-5f7c656b5be.dir/titles_options.html
C:/Users/edda/AppData/Local/Temp/RtmpE1gk4u/preview-5f7c40077a4f.dir/theme_options.html
C:/Users/edda/AppData/Local/Temp/RtmpE1gk4u/preview-5f7c648a10e5.dir/theme_options.html
C:/Users/edda/AppData/Local/Temp/RtmpE1gk4u/preview-5f7c6d09426e.dir/colorprep_options.html
C:/Users/edda/AppData/Local/Temp/RtmpE1gk4u/preview-5f7c21ce52d.dir/axis_options.html



Expand Down
26 changes: 0 additions & 26 deletions .Rproj.user/F19CAEE1/sources/per/t/88C5DFBA

This file was deleted.

16 changes: 0 additions & 16 deletions .Rproj.user/F19CAEE1/sources/per/t/88C5DFBA-contents

This file was deleted.

6 changes: 6 additions & 0 deletions .Rproj.user/F19CAEE1/sources/prop/04B2249F
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
{
"source_window_id": "",
"Source": "Source",
"cursorPosition": "127,151",
"scrollLine": "0"
}
4 changes: 4 additions & 0 deletions .Rproj.user/F19CAEE1/sources/prop/0F6405A5
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
{
"source_window_id": "",
"Source": "Source"
}
4 changes: 2 additions & 2 deletions .Rproj.user/F19CAEE1/sources/prop/1B7CCF6F
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
"tempName": "Untitled1",
"source_window_id": "",
"Source": "Source",
"cursorPosition": "64,29",
"scrollLine": "49",
"cursorPosition": "59,31",
"scrollLine": "0",
"last_setup_crc32": ""
}
4 changes: 4 additions & 0 deletions .Rproj.user/F19CAEE1/sources/prop/71A9CD6E
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
{
"source_window_id": "",
"Source": "Source"
}
6 changes: 6 additions & 0 deletions .Rproj.user/F19CAEE1/sources/prop/8ACD0A57
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
{
"source_window_id": "",
"Source": "Source",
"cursorPosition": "107,0",
"scrollLine": "0"
}
12 changes: 12 additions & 0 deletions .Rproj.user/F19CAEE1/sources/prop/9513466F
Original file line number Diff line number Diff line change
@@ -0,0 +1,12 @@
{
"tempName": "Untitled1",
"source_window_id": "",
"Source": "Source",
"cursorPosition": "177,47",
"scrollLine": "0",
"rmdVisualMode": "false",
"rmdVisualCollapsedChunks": "",
"rmdVisualModeLocation": "20283:10972.22265625",
"rmdVisualWrapConfigured": "true",
"docOutlineVisible": "1"
}
4 changes: 4 additions & 0 deletions .Rproj.user/F19CAEE1/sources/prop/A952B194
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
{
"source_window_id": "",
"Source": "Source"
}
6 changes: 6 additions & 0 deletions .Rproj.user/F19CAEE1/sources/prop/CA034A84
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
{
"source_window_id": "",
"Source": "Source",
"cursorPosition": "61,233",
"scrollLine": "0"
}
6 changes: 6 additions & 0 deletions .Rproj.user/F19CAEE1/sources/prop/CDE1B082
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
{
"source_window_id": "",
"Source": "Source",
"cursorPosition": "56,196",
"scrollLine": "0"
}
4 changes: 2 additions & 2 deletions .Rproj.user/F19CAEE1/sources/prop/D3852156
Original file line number Diff line number Diff line change
Expand Up @@ -2,8 +2,8 @@
"tempName": "Untitled1",
"source_window_id": "",
"Source": "Source",
"cursorPosition": "129,388",
"scrollLine": "122",
"cursorPosition": "84,69",
"scrollLine": "0",
"rmdVisualMode": "false",
"rmdVisualWrapConfigured": "true",
"docOutlineVisible": "1",
Expand Down
8 changes: 8 additions & 0 deletions .Rproj.user/F19CAEE1/sources/prop/INDEX
Original file line number Diff line number Diff line change
Expand Up @@ -11,10 +11,18 @@
~%2FNicolas_Datasktch%2Fdsopts%2Fman%2Fdsopts_available.Rd="322D64A4"
~%2FNicolas_Datasktch%2Fdsopts%2Fman%2Fdsopts_merge.Rd="A122837E"
~%2FNicolas_Datasktch%2Fdsopts%2Fvi%C3%B1eta-argumentos.Rmd="3F230BAF"
~%2FNicolas_Datasktch%2Fdsopts%2Fvignettes%2F_pkgdown.yml="A952B194"
~%2FNicolas_Datasktch%2Fdsopts%2Fvignettes%2Fargui.Rmd="58F42BB4"
~%2FNicolas_Datasktch%2Fdsopts%2Fvignettes%2Faxis_options.Rmd="8ACD0A57"
~%2FNicolas_Datasktch%2Fdsopts%2Fvignettes%2Fcolorprep_options.Rmd="CDE1B082"
~%2FNicolas_Datasktch%2Fdsopts%2Fvignettes%2Fcolors.Rmd="8CDB7B7B"
~%2FNicolas_Datasktch%2Fdsopts%2Fvignettes%2Fcolorsprep_options.Rmd="CA034A84"
~%2FNicolas_Datasktch%2Fdsopts%2Fvignettes%2Fdataprep_options.Rmd="D3852156"
~%2FNicolas_Datasktch%2Fdsopts%2Fvignettes%2Findex_categories.Rmd="1B7CCF6F"
~%2FNicolas_Datasktch%2Fdsopts%2Fvignettes%2Findexcat.Rmd="1CECA18A"
~%2FNicolas_Datasktch%2Fdsopts%2Fvignettes%2Ftheme_options.Rmd="9513466F"
~%2FNicolas_Datasktch%2Fdsopts%2Fvignettes%2Ftitles.Rmd="9DE666F4"
~%2FNicolas_Datasktch%2Fdsopts%2Fvignettes%2Ftitles_options.Rmd="04B2249F"
~%2FNicolas_Datasktch%2Fdsopts%2Fvignettes%2Fvi%C3%B1eta-argumentos.Rmd="C00B4686"
~%2FNicolas_Datasktch%2Fdsopts%2Fvignettes%2Fvignettes2.0.Rmd="71A9CD6E"
~%2Fvignettes%2Fcolorsprepsss_options.Rmd="0F6405A5"
Original file line number Diff line number Diff line change
@@ -1,20 +1,20 @@
{
"id": "EE658456",
"id": "22FD9563",
"path": "~/Nicolas_Datasktch/dsopts/vignettes/dataprep_options.Rmd",
"project_path": "vignettes/dataprep_options.Rmd",
"type": "r_markdown",
"hash": "3383314325",
"hash": "0",
"contents": "",
"dirty": false,
"created": 1708024639991.0,
"created": 1708715101473.0,
"source_on_save": true,
"relative_order": 2,
"relative_order": 3,
"properties": {
"tempName": "Untitled1",
"source_window_id": "",
"Source": "Source",
"cursorPosition": "129,388",
"scrollLine": "122",
"cursorPosition": "84,69",
"scrollLine": "0",
"rmdVisualMode": "false",
"rmdVisualWrapConfigured": "true",
"docOutlineVisible": "1",
Expand All @@ -23,11 +23,11 @@
"docOutlineSize": "117"
},
"folds": "",
"lastKnownWriteTime": 1708370480,
"lastKnownWriteTime": 1708716720,
"encoding": "UTF-8",
"collab_server": "",
"source_window": "",
"last_content_update": 1708370480119,
"last_content_update": 1708716720862,
"read_only": false,
"read_only_alternatives": []
}
Original file line number Diff line number Diff line change
Expand Up @@ -54,77 +54,76 @@ vignette: >

</style>

This document aims to explain the options available in the dataprep category. It will discuss the purpose of each argument, the possible values it can take, and the expected outcome of each argument.
This page aims to explain the options available in the dataprep category. It will discuss the purpose of each argument, the possible values it can take, and the expected outcome of each argument.

#### agg

Determines how data is summarized or combined (e.g., sums, averages, maximums, minimums). It expects a character value specifying the aggregation function (mean, max, min, etc.). Its default value is "sum," and its hd_type is Categorical (Cat).

Determines how data is summarized or combined (e.g., sums, averages, maximums, minimums). It expects a character value (hdtype Cat) specifying the aggregation function (mean, max, min, etc.). Its default value is "sum".

#### agg_na_rm

Indicates whether missing values (NA) should be removed before aggregating data. It expects a value of type logical, which represents boolean values (with possible values being True or False). By default, its value is TRUE, and its hd_type is Check (Chk).
Indicates whether missing values (NA) should be removed before aggregating data. It expects a value of type logical, which represents boolean values (hdtype Chk) True or False and by default, its value is TRUE.

#### agg_text

Used as a label in the column name indicating the type of aggregation performed on the data. It has a default value of NULL and an hd_type of Txt (Text). Possible values include 'sum VAR,' 'mean VAR,' 'max VAR,' indicating the aggregation type (summed, averaged, or maximum value taken) for the data in the column.
Used as a label in the column name indicating the type of aggregation performed on the data. It expects a character value (hdtype Txt) and has a default value of NULL. Possible values include 'sum VAR,' 'mean VAR,' 'max VAR,' indicating the aggregation type (summed, averaged, or maximum value taken) for the data in the column.

#### drop_na

Enhances the clarity of visual representations by excluding missing data (NA) when set to TRUE. Its hdtype is Chk (Check), expecting a logical value (TRUE or FALSE) and by default, its value is FALSE.
Enhances the clarity of visual representations by excluding missing data (NA) when set to TRUE. It expects a logical value (hdtype Chk) TRUE or FALSE, and by default, its value is FALSE.

#### drop_na_var2

Removes missing data (NA) from a second variable in the visualization. Its default value is FALSE, its `hdtype` is Chk (Check), and its possible values are TRUE or FALSE.
Removes missing data (NA) from a second variable in the visualization. Its default value is FALSE and its possible values are TRUE or FALSE (hdtype Chk).

#### format_number_prefix

Formats numeric values using SI prefixes to represent large numbers in a more readable format such as k (thousands), M (millions) in numeric values.It expects a logical value (TRUE or FALSE), with a default value of FALSE and an hdtype of chk (Check).
Formats numeric values using SI prefixes to represent large numbers in a more readable format such as k (thousands), M (millions) in numeric values. It expects a logical value (hdtype Chk) TRUE or FALSE, with a default value of FALSE.

#### format_sample_cat

Allows specifying how categorical data should be formatted, such as whether to convert them to uppercase, lowercase, etc. Its `hdtype` is Txt (text) and Its default value is NULL, which means no default formatting is applied.
Allows specifying how categorical data should be formatted, such as whether to convert them to uppercase, lowercase, etc. It expects a character value (hdtype Txt) and its default value is NULL, which means no default formatting is applied.

#### format_sample_dat

Used to format date-type data and allows to specify how date-type data should be formatted (for example YYYY-MM-DD or DD/MM/YYYY). its hdtype is Txt (text) and the default value is NULL, indicating that no specific formatting is applied by default.
Used to format date-type data and allows to specify how date-type data should be formatted (for example YYYY-MM-DD or DD/MM/YYYY). It expects a character value (hdtype Txt) and the default value is NULL, indicating that no specific formatting is applied by default.

#### format_sample_num

Used to set the format for numbers in the visualization. If no format is specified for axes, all numbers will use the format specified by this argument. The default value is 1500(Review) and this argument expects a `character` type (Review).
Used to set the format for numbers in the visualization. If no format is specified for axes, all numbers will use the format specified by this argument. The default value is 1500 and this argument expects a `character` type (hdtype Txt).

#### na_label

Replaces NA values in a dataset with a specified label. For example, setting na_label = "Not Available" would display "Not Available" instead of NA in the visual representation of the data. It has an hdtype of Txt (text) and expects a character type value.
Replaces NA values in a dataset with a specified label. For example, setting na_label = "Not Available" would display "Not Available" instead of NA in the visual representation of the data. It expects a character type value (hdtype Txt).

#### percentage

Calculates the percentage for the indicated numerical variable. Its default value is FALSE, its `hdtype` is chk (check) and this argument expects a logical value (TRUE or FALSE)
Calculates the percentage for the indicated numerical variable. Its default value is FALSE and this argument expects a logical value (hdtype Chk) TRUE or FALSE.

#### percentage_col

Specifies the name or names of the categorical variable(s) for which you want to calculate percentages. For example, if you have a dataset with columns "category" and "value" representing different categories and their corresponding values, you can use percentage_col = "category" to calculate the percentage of each category. Its default value is NULL, and its `hdtype` is Txt (text).
Specifies the name or names of the categorical variable(s) for which you want to calculate percentages. For example, if you have a dataset with columns "category" and "value" representing different categories and their corresponding values, you can use percentage_col = "category" to calculate the percentage of each category. Its default value is NULL, and expects a character value (hdtype Txt).

#### percentage_intra

Calculates percentages within individual categories or groups in a visualization. Defaulting to FALSE, with a expect logical value and its hdtype is Chk (Check).
Calculates percentages within individual categories or groups in a visualization. Defaulting to FALSE, with a expect logical value TRUE or FALSE (hdtype Chk).

#### percentage_name

Specifies a character value that will be used as the name for the column containing the calculated percentages. It is used to provide a more descriptive name for the percentage column in the output visualization or dataset if `percentage` is TRUE. Its `hdtype` is Txt (text) and the type of the input is character (text).
Specifies a character value that will be used as the name for the column containing the calculated percentages. It provides a more descriptive name for the percentage column in the output visualization or dataset. By default, the value is NULL and The type value is character (hdtype Txt).

#### tooltip_agg_collapse_rows_template

Controls the aggregation of data in tooltips, determining whether similar or related rows are collapsed into a single entry in the tooltip to avoid repetition. It takes a dataframe and a template as inputs and returns a column of strings with the applied template. The template can apply different aggregations such as mean or max. Its `hdtype` is Cat (categorical) and Its possible values are functions such as sum, mean, etc., which are used to specify the type of aggregation for the tooltip.
Controls the aggregation of data in tooltips, determining whether similar or related rows are collapsed into a single entry in the tooltip to avoid repetition. It takes a dataframe and a template as inputs and returns a column of strings with the applied template. The template can apply different aggregations such as mean or max. The template can apply different aggregations such as mean or max. Its possible values are functions such as sum, mean, etc (hdtype Cat) which are used to specify the type of aggregation for the tooltip.

#### tooltip_include_all_vars

Includes all available variables in the entered dataframe for visualization. It has a default value of FALSE and Its `hdtype` is Chk (Check).
Includes all available variables in the entered dataframe for visualization. It has a default value of FALSE and and expects a logical value TRUE or FALSE (hdtype Chk).

#### tooltip_sep_all_vars

Specifies the separator used in tooltips when multiple variables are included, allowing for clear separation and organization of information. Its `hdtype` is Cat (categorical).
Specifies the separator used in tooltips when multiple variables are included, allowing for clear separation and organization of information. It expects a character value (hdtype Cat).

#### tooltip_template

Used as a customization template for tooltips, this template allows you to customize the content and format of tooltips in a visualization, using specific variables from the dataframe to display detailed and relevant information when hovering over elements of the visualization.Its hdtype is Txt (text), and the possible values are text that match the names of variables in the dataframe.
Used as a customization template for tooltips, this template allows you to customize the content and format of tooltips in a visualization, using specific variables from the dataframe to display detailed and relevant information when hovering over elements of the visualization. The possible values are character (hdtype Txt) that match the names of variables in the dataframe.
Original file line number Diff line number Diff line change
@@ -1,28 +1,28 @@
{
"id": "E219DC33",
"id": "5C3890E4",
"path": "~/Nicolas_Datasktch/dsopts/vignettes/index_categories.Rmd",
"project_path": "vignettes/index_categories.Rmd",
"type": "r_markdown",
"hash": "677186710",
"hash": "0",
"contents": "",
"dirty": false,
"created": 1708111439999.0,
"created": 1708715096915.0,
"source_on_save": true,
"relative_order": 4,
"properties": {
"tempName": "Untitled1",
"source_window_id": "",
"Source": "Source",
"cursorPosition": "64,29",
"scrollLine": "49",
"cursorPosition": "59,31",
"scrollLine": "0",
"last_setup_crc32": ""
},
"folds": "",
"lastKnownWriteTime": 1708370488,
"lastKnownWriteTime": 1708716715,
"encoding": "UTF-8",
"collab_server": "",
"source_window": "",
"last_content_update": 1708370488532,
"last_content_update": 1708716715473,
"read_only": false,
"read_only_alternatives": []
}
Loading