R package with useful functions for data preparation and documentation.
Functions to quickly initialize a standard project structure
project_structure()
Initializes folder structure and R files from
templates in the current working directory.Functions to quickly return information on the input data
data_overview()
Returns an overview table for the input dataset.
data_check()
Returns a table with info on missingness and variable type
for the input dataset.
data_missing()
Returns overview on missing values for variables of the
input.
data_clean()
Returns input dataframe without empty rows and columns.
Functions to quickly return basic annotation for the input data
annotation_create()
Returns a basic annotation for the input datasetFunctions to find specific groups of variables in the input data
find_binary()
Returns binary variables from input dataset.
find_continouus()
Returns continouus variables from input dataset.
Functions to create dummy variables in the input data and annotation file
dummies_annotate()
Returns the annotation with additional dummy variables.
dummies_make()
Returns the input data with additional dummy variables.
Functions easily comment your analysis
comment()
Let's you grow a matrix with comments throughout your analysis.Functions to easily measure time of your analysis
time_start()
Creates a starting point for a time measurement.
time_stop()
Calculates the time since time_start()
was initialized.
You can get the development version from GitHub with:
devtools::install_github("janbrederecke/prepareD")
The logo was designed by Tim Brederecke.
Please submit feedback and suggestions through Github's issues facility.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.