Package: kwb.prep 0.3.0

Hauke Sonnenberg

kwb.prep: Markdown-Documented Data Preparation

R Package for Markdown-documented data preparation.

Authors:Hauke Sonnenberg [aut, cre], SEMA-BERLIN-2 [fnd], Kompetenzzentrum Wasser Berlin gGmbH [cph]

kwb.prep_0.3.0.tar.gz
kwb.prep_0.3.0.zip(r-4.5)kwb.prep_0.3.0.zip(r-4.4)kwb.prep_0.3.0.zip(r-4.3)
kwb.prep_0.3.0.tgz(r-4.4-any)kwb.prep_0.3.0.tgz(r-4.3-any)
kwb.prep_0.3.0.tar.gz(r-4.5-noble)kwb.prep_0.3.0.tar.gz(r-4.4-noble)
kwb.prep_0.3.0.tgz(r-4.4-emscripten)kwb.prep_0.3.0.tgz(r-4.3-emscripten)
kwb.prep.pdf |kwb.prep.html
kwb.prep/json (API)
NEWS

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

Peer review:

Bug tracker:https://github.com/kwb-r/kwb.prep/issues

On CRAN:

47 exports 0.49 score 40 dependencies 1 dependents 1 scripts

Last updated 2 years agofrom:38d3419f9b. Checks:OK: 3 NOTE: 4. Indexed: yes.

TargetResultDate
Doc / VignettesOKAug 26 2024
R-4.5-winNOTEAug 26 2024
R-4.5-linuxNOTEAug 26 2024
R-4.4-winNOTEAug 26 2024
R-4.4-macNOTEAug 26 2024
R-4.3-winOKAug 26 2024
R-4.3-macOKAug 26 2024

Exports:%>%apply_filtersapplyFilterapplyFilterCriteriaassign_objectsbreaksToIntervalLabelscheck_table_namecheck_zip_extensioncollectcreate_text_getterdataFramesToTextMatrixdoRegroupingsfieldSummaryfind_string_constantsget_csv_filenamesget_lower_extensionget_pathget_renamingsget_selectionget_textget_user_stringsget_zipped_pathsgetChangesOfDuplicatesgetYearFromColumngroupByBreakshas_zip_extensionimport_dbintervalLabelkable_no_rowskable_translatedlogicalToYesNomd_headeroverwriteIfNotNAprintNumberOfNAprintTableForColumnregroupregroupedValuesremoveRowsThatAreNaInColumnreplaceByConditionset_columnset_user_stringsstop_textstopIfNotInstopOnDuplicateswrite_filter_infowrite_markdown_chapterwriteStandardCsv

Dependencies:archivebase64encbslibcachemclidata.tabledigestdplyrevaluatefansifastmapfontawesomefsgenericsgluehighrhtmltoolsjquerylibjsonliteknitrkwb.utilslifecyclemagrittrmemoisemimepillarpkgconfigR6rappdirsrlangrmarkdownsasstibbletidyselecttinytexutf8vctrswithrxfunyaml

Readme and manuals

Help Manual

Help pageTopics
Apply Groups of Filter Criteria from Configurationapply_filters
Apply Filter Criteria from ListapplyFilter
Filter Rows from Data Frame Matching CriteriaapplyFilterCriteria
Provide all Objects of kwb.prep in the Global Environmentassign_objects
Create Interval Labels from Breaks VectorbreaksToIntervalLabels
Check for Valid Table Namecheck_table_name
Stop if File Name Does not End with Zip Extensioncheck_zip_extension
Compare Two Columns of a Data Frame (Raw Vs Regrouped)checkGrouping
Show Number of Unique Values in Selected ColumnscheckNumberOfUnique
Collect Elements of Sublistscollect
Create a get_text() Functioncreate_text_getter
Convert List of Data Frames to Character MatrixdataFramesToTextMatrix
Apply Regrouping of Values in a Data FramedoRegroupings
Frequency of Value Combinations in Data Frame ColumnsfieldSummary
Fill NA in First Vector With Values From Second VectorfillUpNA
Show String Constants Used in R Scriptsfind_string_constants
Get Names of CSV Files Referenced in Configget_csv_filenames
Lower Case Extension of a Fileget_lower_extension
Resolve Path from Path Dictionary in Config Folderget_path
Get List Defining Renamings from Data Frameget_renamings
Get List of Renamings from Configurationget_renamings_from_config
Get a Set of Column Names from a Data Frame Defining Selectionsget_selection
Get Text Constantget_text
Get List of User-Defined Text Constantsget_user_strings
List Files in Zip Archiveget_zipped_paths
Get Changes of Rows That Are Duplicated in Selected ColumnsgetChangesOfDuplicates
Get Integer Year Number from ColumngetYearFromColumn
Group Values Belonging to IntervalsgroupByBreaks
Does a File have a Zip Extension (.zip, .7z)?has_zip_extension
Import CSV Files from ZIP Fileimport_db
Create Interval Label from Upper and Lower BoundaryintervalLabel
Print Data Frame as Markdown Table (Without Row Names by Default)kable_no_rows
Rename Data Frame Columns and Print as Markdownkable_translated
Convert Vector of Logical to Vector of "Ja"/"Nein"logicalToYesNo
Print Markdown Section Headermd_header
Use Non-NA Values from Source Column in Target ColumnoverwriteIfNotNA
Print Result of Data Frame Comparisonprint.data_frame_diff
Print Number of NA Values in Given ColumnprintNumberOfNA
Print Result of table() for Given ColumnprintTableForColumn
Read and Filter "regroup_actual.csv"read_actual_regrouping
Read Data Frame From CSV Fileread_csv_file
Assign Values to Groups of Valuesregroup
Regroup Values According to ConfigurationregroupedValues
Which actual regroupings would be used?regrouping_is_used
Remove Rows That are NA in Given ColumnremoveRowsThatAreNaInColumn
Replace Values in Column in Rows Matching ConditionreplaceByCondition
Use Elements of Substitute at Indices Where Substitutes Are Not NAreplaceUnlessNA
Count NA in a Column and Give a Message about ItreportNA
Set Columnset_column
Get List of User-Defined Text Constantsset_user_strings
Stop with Error Message Looked Up by Keywordstop_text
Stop with Info If Element Is Not in Expected SetstopIfNotIn
Stop If There Are Duplicates over given ColumnsstopOnDuplicates
Unzip Archiveunzip_archive
Write Information on Filtering to CSV fileswrite_filter_info
Write a Markdown Chapterwrite_markdown_chapter
Write CSV File in a Standardised MannerwriteStandardCsv