Package: madshapR 2.0.0

Guillaume Fabre

madshapR: Functions to Support Data Management and Processing Using the Maelstrom Research Approach

Functions to support data cleaning, evaluation, and description, developed for integration with Maelstrom Research software tools. 'madshapR' provides functions primarily to evaluate and manipulate datasets and data dictionaries in preparation for data harmonization with the package 'Rmonize' and to facilitate integration and transfer between RStudio servers and secure Opal environments. 'madshapR' functions can be used independently but are optimized in conjunction with ‘Rmonize’ functions for streamlined and coherent harmonization processing.

Authors:Guillaume Fabre [aut, cre], Maelstrom Research [aut, fnd, cph]

madshapR_2.0.0.tar.gz
madshapR_2.0.0.zip(r-4.7)madshapR_2.0.0.zip(r-4.6)madshapR_2.0.0.zip(r-4.5)
madshapR_2.0.0.tgz(r-4.6-any)madshapR_2.0.0.tgz(r-4.5-any)
madshapR_2.0.0.tar.gz(r-4.7-any)madshapR_2.0.0.tar.gz(r-4.6-any)
madshapR_2.0.0.tgz(r-4.6-emscripten)
manual.pdf |manual.html
card.svg |card.png
madshapR/json (API)
NEWS

# Install 'madshapR' in R:
install.packages('madshapR', repos = c('https://maelstrom-research.r-universe.dev', 'https://cloud.r-project.org'))

Bug tracker:https://github.com/maelstrom-research/madshapr/issues

Datasets:

On CRAN:

Conda:

5.39 score 2 stars 3 packages 27 scripts 288 downloads 70 exports 96 dependencies

Last updated from:73bd89c8f7. Checks:9 OK. Indexed: yes.

TargetResultTimeFilesSyslog
linux-devel-x86_64OK210
source / vignettesOK226
linux-release-x86_64OK210
macos-release-arm64OK360
macos-oldrel-arm64OK209
windows-develOK174
windows-releaseOK156
windows-oldrelOK155
wasm-releaseOK128

Exports:as_categoryas_data_dictas_data_dict_mlstras_data_dict_shapeas_datasetas_dossieras_taxonomyas_valueTypebookdown_openbookdown_renderbookdown_templatecheck_data_dict_categoriescheck_data_dict_missing_categoriescheck_data_dict_valueTypecheck_data_dict_variablescheck_dataset_categoriescheck_dataset_valueTypecheck_dataset_variablescheck_name_standardscol_iddata_dict_applydata_dict_collapsedata_dict_evaluatedata_dict_expanddata_dict_extractdata_dict_filterdata_dict_group_bydata_dict_group_splitdata_dict_list_nestdata_dict_match_datasetdata_dict_pivot_longerdata_dict_pivot_widerdata_dict_trim_labelsdata_dict_ungroupdata_dict_updatedata_extractdataset_cat_as_labelsdataset_evaluatedataset_preprocessdataset_summarizedataset_visualizedataset_zap_data_dictdossier_createdossier_evaluatedossier_summarizedrop_categoryfirst_label_gethas_categoriesis_categoryis_data_dictis_data_dict_mlstris_data_dict_shapeis_datasetis_dossieris_taxonomyis_valueTypemadshapR_websitesummary_variablessummary_variables_categoricalsummary_variables_datesummary_variables_datetimesummary_variables_numericsummary_variables_texttypeof_convert_to_valueTypevalueType_adjustvalueType_convert_to_typeofvalueType_guessvalueType_ofvalueType_self_adjustvariable_visualize

Dependencies:askpassbase64encbitbit64bookdownbslibcachemcellrangerclicliprcpp11crayoncredentialscrosstalkcurldescdigestdplyrDTevaluatefabRfarverfastmapfontawesomeforcatsfsgenericsgertggplot2ghgitcredsgluegtablehavenhighrhmshtmltoolshtmlwidgetshttr2iniisobandjanitorjquerylibjsonliteknitrlabelinglaterlazyevallifecyclelubridatemagrittrmemoisemimeopensslotelpillarpkgconfigprettyunitsprogresspromisespurrrR6rappdirsRColorBrewerRcppreadrreadxlrematchrlangrmarkdownrprojrootrstudioapiS7sassscalessnakecasestringistringrsystibbletidyrtidyselecttimechangetinytextzdbusethisutf8vctrsviridisLitevroomwhiskerwithrwritexlxfunyamlzip

madshapR-vignette

Rendered frommadshapR-vignette.Rmdusingknitr::rmarkdownon May 21 2026.

Last update: 2025-07-25
Started: 2023-03-13

Readme and manuals

Help Manual

Help pageTopics
Validate and coerce any object as a categorical variable.as_category
Validate and coerce any object as a data dictionaryas_data_dict
Validate and coerce any object as an Opal data dictionary formatas_data_dict_mlstr
Validate and coerce any object as a workable data dictionary structureas_data_dict_shape
Validate and coerce any object as a datasetas_dataset
Validate and coerce any object as a dossier (list of dataset(s))as_dossier
Validate and coerce any object as a taxonomyas_taxonomy
Validate and coerce any object according to a given valueTypeas_valueType
Objects exported from other packagesbookdown_open
Objects exported from other packagesbookdown_render
Objects exported from other packagesbookdown_template
Assess a data dictionary for potential issues in categoriescheck_data_dict_categories
Assess categorical variables for non-Boolean values in 'missing' columncheck_data_dict_missing_categories
Assess a data dictionary for non-valid valueType valuescheck_data_dict_valueType
Assess a data dictionary for potential issues in variablescheck_data_dict_variables
Assess a data dictionary and associated dataset for category differencescheck_dataset_categories
Assess a data dictionary and associated dataset for valueType differencescheck_dataset_valueType
Assess a data dictionary and associated dataset for undeclared variablescheck_dataset_variables
Assess variable names in a data dictionary for non-standard formatscheck_name_standards
Return the id column names(s) of a datasetcol_id
Built-in data frame of colors used in the graphs and charts.color_palette_maelstrom
Apply a data dictionary to a datasetdata_dict_apply
Transform multi-row category column(s) to single rows and join to "Variables"data_dict_collapse
Generate an assessment report for a data dictionarydata_dict_evaluate
Transform single-row category information to multiple rows as elementdata_dict_expand
Generate a data dictionary from a datasetdata_dict_extract
Subset data dictionary by row valuesdata_dict_filter
Group listed data dictionaries by specified column namesdata_dict_group_by
Split grouped data dictionaries into a named listdata_dict_group_split
Bind listed data dictionariesdata_dict_list_nest
Inner join between a dataset and its associated data dictionarydata_dict_match_dataset
Transform column(s) of a data dictionary from wide format to long formatdata_dict_pivot_longer
Transform column(s) of a data dictionary from long format to wide formatdata_dict_pivot_wider
Add shortened labels to data dictionarydata_dict_trim_labels
Ungroup data dictionarydata_dict_ungroup
Update a data dictionary from a datasetdata_dict_update
Create an empty dataset from a data dictionarydata_extract
Apply data dictionary category labels to the associated dataset variablesdataset_cat_as_labels
Generate an assessment report for a datasetdataset_evaluate
Generate an evaluation of all variable values in a datasetdataset_preprocess
Generate an assessment report and summary of a datasetdataset_summarize
Generate a web-based visual report for a datasetdataset_visualize
Remove labels (attributes) from a data frame, leaving its unlabelled columnsdataset_zap_data_dict
Generate a dossier from a list of one or more datasetsdossier_create
Generate an assessment report of a dossierdossier_evaluate
Generate an assessment report and summary of a dossierdossier_summarize
Validate and coerce any object as a non-categorical variable.drop_category
Get the first label from a data dictionaryfirst_label_get
Test if an object has categorical variables.has_categories
Test and validate if an object is a categorical variable.is_category
Test if an object is a valid data dictionaryis_data_dict
Test if an object is a valid Maelstrom data dictionaryis_data_dict_mlstr
Test if an object is a workable data dictionary structureis_data_dict_shape
Test if an object is a valid datasetis_dataset
Test if an object is a valid dossier (list of dataset(s))is_dossier
Test if an object is a valid taxonomyis_taxonomy
Test if a character object is one of the valid valueType valuesis_valueType
Built-in material allowing the user to test the package with example datamadshapR_examples
Call to online documentationmadshapR_website
Provide descriptive statistics for variables in a datasetsummary_variables
Provide descriptive statistics for variables of categorical in a datasetsummary_variables_categorical
Provide descriptive statistics for variables of type 'date' in a datasetsummary_variables_date
Provide descriptive statistics for variables of type 'datetime' in a datasetsummary_variables_datetime
Provide descriptive statistics for variables of type 'numeric' in a datasetsummary_variables_numeric
Provide descriptive statistics for variables of type 'text' in a datasetsummary_variables_text
Convert typeof (and class if any) into its corresponding valueTypetypeof_convert_to_valueType
Attribute the valueType from a data dictionary to a dataset, or vice versavalueType_adjust
Convert valueType into its corresponding typeof and class in R representationvalueType_convert_to_typeof
Guess the first possible valueType of an object (Can be a vector)valueType_guess
Built-in data frame of allowed valueType valuesvalueType_list
Return the valueType of an objectvalueType_of
Self-adjust the valueType from a data dictionary or a dataset.valueType_self_adjust
Generate a list of charts, figures and summary tables of a variablevariable_visualize