Skip to content
timestamped moments when I drank a coffee.
Branch: master
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Type Name Latest commit message Commit time
Failed to load latest commit information.
R
data
inst/extdata
man
.Rbuildignore
.gitignore
DESCRIPTION
NAMESPACE
coffeedata.Rproj
readme.md

readme.md

Introduction

Last Change: 7-3-16

This is an example of a dataset as a package for r. In this blogpost I show how to create a package for your data.

You don't have to share your package on github. It can live on your computer a usb stick, a shared drive or where ever. It can even stay on your computer alone, just to save you trouble.

Once installed you can access your data with library(yourpackage) and data("nameofdata")

install with:

devtools::install_github("rmhogervorst/coffeedata")

In my case:

library(coffeedata)
data("coffeedata")  
#Help information can be found with ?coffeedata or
vignette("coffeedata")
You can’t perform that action at this time.