Skip to content
/ tidbits Public

Various small utilities for simplifying data preparation and analysis.

License

Notifications You must be signed in to change notification settings

bokov/tidbits

Repository files navigation

tidbits

The goal of tidbits is to package up some utility functions that have proven useful in multiple data analysis projects and teaching, so they can be properly documented and more easily deployed. Including autoread() function which wraps readers for a wide variety of data formats so the same script can run on different files without editing the file-loading code.

Installation

You can install tidbits from github with:

# install.packages("devtools")
devtools::install_github("bokov/tidbits")

Example

This is a basic example which shows you how to solve a common problem:

library(tidbits);
#> 
#> Attaching package: 'tidbits'
#> The following object is masked from 'package:grDevices':
#> 
#>     cm
# Read data from the NAACCR website ...
dat00 <- autoread('https://www.naaccr.org/wp-content/uploads/2017/02/naaccr_cina_2009_2013_stage.sas7bdat');
# Build an automatic data dictionary
dct0 <- tblinfo(dat00)

Travis-CI Build Status Coverage Status AppVeyor Build Status

About

Various small utilities for simplifying data preparation and analysis.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages