Some tools for cleaning up messy 'Excel' files to be suitable for R
Clone or download
Permalink
Type Name Latest commit message Commit time
Failed to load latest commit information.
R rvg to edit ggplot Jun 20, 2018
data-raw synchro Jun 19, 2018
man depend Jun 19, 2018
tests lkwjlmkd Feb 21, 2018
.Rbuildignore check Jun 21, 2018
.gitignore init Mar 24, 2017
.gitlab-ci.yml init Mar 24, 2017
.travis.yml check Jun 21, 2018
DESCRIPTION testthat in suggest Jun 21, 2018
NAMESPACE rvg to edit ggplot Jun 20, 2018
README.md on cran Feb 20, 2018
codecov.yml check Jun 21, 2018
thinkr.Rproj init Mar 24, 2017

README.md

thinkR

the peep function allow you to "have a look" inside a dplyr workflow

library(thinkr)
library(dplyr)
data(iris)
iris %>% peep(head,summary) %>% plot
iris %>% peep_("head","summary") %>% plot
iris %>% peep(funs(head(.,n=2),summary(.,maxsum=2))) %>% plot
iris %>% peep(funs(summary(.,maxsum=2))) %>% plot

clean_names allow to cean dirty names

library(thinkr)
library(dplyr)
data(iris)

iris %>% head
iris %>% clean_names() %>% head
iris %>% clean_names() %>% head

Installation

# install.packages("devtools")
devtools::install_github("ThinkRstat/ThinkR")