Skip to content

R package. Functions for data preparation and documentation in RMarkdown. Fast and flexible.

License

Notifications You must be signed in to change notification settings

janbrederecke/prepareD

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

85 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

prepareD

R package with useful functions for data preparation and documentation.

Overview

project_ family

Functions to quickly initialize a standard project structure

  • project_structure() Initializes folder structure and R files from templates in the current working directory.

data_ family

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.

annotation_ family

Functions to quickly return basic annotation for the input data

  • annotation_create() Returns a basic annotation for the input dataset

find_ family

Functions 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.

dummies_ family

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.

comment_ family

Functions easily comment your analysis

  • comment() Let's you grow a matrix with comments throughout your analysis.

time_ family

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.

Installation

You can get the development version from GitHub with:

devtools::install_github("janbrederecke/prepareD")

Acknowledgement

The logo was designed by Tim Brederecke.

Contact

Please submit feedback and suggestions through Github's issues facility.

About

R package. Functions for data preparation and documentation in RMarkdown. Fast and flexible.

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published