{"id":22879301,"url":"https://github.com/utdata/mixbev-receipts","last_synced_at":"2025-10-21T20:31:00.059Z","repository":{"id":92281231,"uuid":"86189240","full_name":"utdata/mixbev-receipts","owner":"utdata","description":null,"archived":false,"fork":false,"pushed_at":"2017-12-02T17:45:52.000Z","size":3821,"stargazers_count":0,"open_issues_count":0,"forks_count":1,"subscribers_count":1,"default_branch":"master","last_synced_at":"2024-12-13T17:09:35.892Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"language":"Jupyter Notebook","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/utdata.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,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2017-03-25T21:20:08.000Z","updated_at":"2017-03-25T22:15:08.000Z","dependencies_parsed_at":"2023-03-21T08:54:16.526Z","dependency_job_id":null,"html_url":"https://github.com/utdata/mixbev-receipts","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/utdata%2Fmixbev-receipts","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/utdata%2Fmixbev-receipts/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/utdata%2Fmixbev-receipts/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/utdata%2Fmixbev-receipts/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/utdata","download_url":"https://codeload.github.com/utdata/mixbev-receipts/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":237547551,"owners_count":19327870,"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":[],"created_at":"2024-12-13T16:38:49.368Z","updated_at":"2025-10-21T20:30:52.000Z","avatar_url":"https://github.com/utdata.png","language":"Jupyter Notebook","funding_links":[],"categories":[],"sub_categories":[],"readme":"Mixed Beverage Receipts Lesson\n=============================\n\n\n## Rework\n\nTHIS DATA SET IS BEING REWORKED BASED ON NEW DATA BY THE COMPTROLLER ON DATA.TEXAS.GOV\n\nThe comptroller now stores 10 years worth of [Mixed Beverage Gross Receipts](https://data.texas.gov/Government-and-Taxes/Mixed-Beverage-Gross-Receipts/naix-2893) data on the [Texas' Socrata portal](https://data.texas.gov).\n\n- I'll first rework this on the new data layout using downloaded data.\n- I'll then try to use the Socrata API to pull the data we need.\n\n## From before\n\nThis repository is a lesson in a repeatable, transparent data pipeline using Jupyter Notebooks and the Python package called [agate](http://agate.readthedocs.io/).\n\nIt uses a `conda` virtual environment.\n\n(Note: If you are using a different virtual environment, you can use mixbev-pip.txt as a requirements file.)\n\n## Setup\n\nThis should only have to be done once on your machine. Assumes you are on Mac, but this should work with Windows.\n\n### Install conda\n\n- install [conda](https://conda.io/docs/download.html) or [miniconda](https://conda.io/miniconda.html) for Python 3.6\n- run `conda update conda` to make sure it is up-to-date\n\n### Create and configure the environment\n\n- run `conda create -n mixbev --file mixbev-env.txt` to create the mixbev environment that has the pyton packages you need\n- run `source activate mixbev` to load the environment so we can add the `agate` package that is not in conda.\n- run `pip install agate` to install the [agate](http://agate.readthedocs.io/) package, which is not included in the conda system.\n\n## Updating monthly numbers\n\n- `cd` into the `mixbev-receipts`\n- run `source activate mixbev` to enter the virtual environment\n- run `jupyter notebook` to start the notebook\n- Your browser will open [jupyter](http://localhost:8888/tree)\n- Go inside the `notebooks` directory and choose `Mixed-beverages-agate.ipynb` \n\nThe rest of the directions are in the **Mixed beverages agate** notebook.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Futdata%2Fmixbev-receipts","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Futdata%2Fmixbev-receipts","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Futdata%2Fmixbev-receipts/lists"}