{"id":25973442,"url":"https://github.com/jasdumas/ttbbeer","last_synced_at":"2025-03-05T01:29:41.562Z","repository":{"id":56937641,"uuid":"62466648","full_name":"jasdumas/ttbbeer","owner":"jasdumas","description":"An R Dataset Package for US Beer Statistics From TTB :beer:","archived":false,"fork":false,"pushed_at":"2024-07-28T14:13:31.000Z","size":267,"stargazers_count":23,"open_issues_count":0,"forks_count":1,"subscribers_count":3,"default_branch":"master","last_synced_at":"2025-01-29T12:36:48.583Z","etag":null,"topics":["beer-statistics","data-analysis","r"],"latest_commit_sha":null,"homepage":"https://cran.r-project.org/package=ttbbeer","language":"R","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/jasdumas.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":null,"code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null}},"created_at":"2016-07-02T19:27:03.000Z","updated_at":"2024-07-28T14:13:35.000Z","dependencies_parsed_at":"2022-08-21T01:21:03.752Z","dependency_job_id":null,"html_url":"https://github.com/jasdumas/ttbbeer","commit_stats":null,"previous_names":[],"tags_count":2,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/jasdumas%2Fttbbeer","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/jasdumas%2Fttbbeer/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/jasdumas%2Fttbbeer/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/jasdumas%2Fttbbeer/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/jasdumas","download_url":"https://codeload.github.com/jasdumas/ttbbeer/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":241455395,"owners_count":19965607,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["beer-statistics","data-analysis","r"],"created_at":"2025-03-05T01:29:40.970Z","updated_at":"2025-03-05T01:29:41.555Z","avatar_url":"https://github.com/jasdumas.png","language":"R","funding_links":[],"categories":[],"sub_categories":[],"readme":"![](https://cranlogs.r-pkg.org/badges/ttbbeer)\n![](https://cranlogs.r-pkg.org/badges/grand-total/ttbbeer)\n\n# ttbbeer\n\n### An R data package of beer statistics from U.S. Department of the Treasury, Alcohol and Tobacco Tax and Trade Bureau (TTB)\n\nThis package provides the **one** data set for materials used at U.S. breweries as listed in the [Beer Monthly Statistical Releases](https://www.ttb.gov/beer/beer-stats.shtml), and **eight** data sets for [historical tax rates](https://www.ttb.gov/tax_audit/94a01_4.shtml) of distilled spirits, wine, beer, champagne, and tobacco. \n\nThe 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*.\n\n## How to install this package?\n\nTo install the package type the following:\n\n```r\ninstall.packages(\"ttbbeer\")\nlibrary(\"ttbbeer\")\n```\n\nOr you can install the development version from Github:\n\n```r\nlibrary(devtools)\ninstall_github(\"jasdumas/ttbbeer\")\nlibrary(ttbbeer)\n```\n\n## How to use this package?\n\nThe 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. \n\nSeveral 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.\n\n```r\ndata(\"beermaterials\")\ndata(\"artificialcarbontax\")\ndata(\"champagnetax\")\ndata(\"spirittax\")\ndata(\"winetax14\")\ndata(\"winetax1421\")\ndata(\"winetax2124\")\ndata(\"beertax\")\ndata(\"tobaccotax\")\n```\n\nThis project is released with a [Contributor Code of Conduct](https://github.com/jasdumas/ttbbeer/blob/master/CONDUCT.md). By participating in this project you agree to abide by its terms.\n\n## Contact\n\nPackage Author: Jasmine Daly [@jasdumas](https://twitter.com/jasdumas) | [jasdumas.github.io](http://jasdumas.github.io/) | [Package Wiki](https://github.com/jasdumas/ttbbeer/\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fjasdumas%2Fttbbeer","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fjasdumas%2Fttbbeer","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fjasdumas%2Fttbbeer/lists"}