Giter Club home page Giter Club logo

ttbbeer's Introduction

Rdoc

ttbbeer

An R data package of beer statistics from U.S. Department of the Treasury, Alcohol and Tobacco Tax and Trade Bureau (TTB)

This package provides the one data set for materials used at U.S. breweries as listed in the Beer Monthly Statistical Releases, and eight data sets for historical tax rates of distilled spirits, wine, beer, champagne, and tobacco.

The motivation behind this package was to provide analysis-ready data sets as the original data for the beermaterials is in PDF format which can be difficult to read into R, given the small ecosystem of PDF parsing R packages such as: tm, and tabulizer. Other goals of this package are to provide more data sets to the R ecosystem for beer analytics from open government data portals.

How to install this package?

To install the package type the following:

install.packages("ttbbeer")
library("ttbbeer")

Or you can install the development version from Github:

library(devtools)
install_github("jasdumas/ttbbeer")
library(ttbbeer)

How to use this package?

The components of the package are a data set called beermaterials which includes the materials used by U.S. breweries during beer production as reported on a monthly basis to the U.S. Department of the Treasury, Alcohol and Tobacco Tax and Trade Bureau (TTB) from 2006 to 2015. The other components of this package include eight data sets depicting the historical tax rate of distilled spirits, wine, beer, champagne, and tobacco.

Several different types of data analysis projects can be conducted by using this data such as: Exploratory Data Analysis, and Time Series Analysis. The intended audience of this data is everyone but especially for those interested in open government data or beer analytics.

data("beermaterials")
data("artificialcarbontax")
data("champagnetax")
data("spirittax")
data("winetax14")
data("winetax1421")
data("winetax2124")
data("beertax")
data("tobaccotax")

This project is released with a Contributor Code of Conduct. By participating in this project you agree to abide by its terms.

Contact

Package Author: Jasmine Daly @jasdumas | jasdumas.github.io | [Package Wiki](https://github.com/jasdumas/ttbbeer/

ttbbeer's People

Contributors

jasdumas avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar

Forkers

sweetscientist

ttbbeer's Issues

Include More Data?

Is it possible to get the full datasets listed on this website, from 1984-2016? I know the format has changed with the files over time and some of the pdf's are image based, but it would be really cool for some time series analysis. I'd love to help contribute with trying to parse these pdf's if you would like, as I think the underlying data would be interesting to look into.

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.