mikeputnam / openbrewerydb

🍻 An open-source dataset of breweries, cideries, brewpubs, and bottleshops.

Home Page:https://www.openbrewerydb.org

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

🍻 Open Brewery DB Dataset

All Contributors

Open Brewery DB Logo

This is the open-source dataset for the Open Brewery DB API which is served by a REST API built with Ruby on Rails

🎯 Purpose

Provide an approval-based pipeline to update the dataset and API.

πŸ—„ Data Formats

πŸš€ Getting Started

A shared Postman collection containing all the API requests to fetch breweries information from the open-source dataset.

Run in Postman

Contributing

  1. Fork the repository
  2. Add or update breweries in the CSV (Excel, Google Sheets)
  3. Submit a Pull Request

Tips

  • CSVs are organized by data/[country]/[state] or data/[country]/[county_province]
  • Required fields/columns: name, street, brewery_type, city, state (or county_province), postal_code, and country

Scripts

These are the npm scripts used to maintain this dataset.

  • npm run csv:combine - Combine CSVs from country/state-region folders into breweries.csv
  • npm run csv:split - Split breweries.csv into country/state-region/city CSVs
  • npm run contributors:add - Add contributor (interactive CLI)
  • npm run contributors:check - Check if there are any missing contributors
  • npm run contributors:generate - Generate contributors into README.md
  • npm run generate:ids - Generate unique OBDB IDs based on the brewery name and city and overwrite breweries.csv
  • npm run generate:json - Generate JSON from breweries.csv output to breweries.json
  • npm run generate:sql - Generate PostgreSQL SQL from breweries.csv output to breweries.sql
  • npm run validate - Validate CSVs based on JSON Schema

🀝 Contributing

For information on contributing to this project, please see the contributing guide and our code of conduct.

πŸ‘Ύ Community

πŸ“« Feedback

Any feedback, please email me.

Cheers! 🍻

Contributors ✨

Thanks goes to these wonderful people (emoji key):


Mike Putnam

πŸ”£

Andrew A. Barber

πŸ”£

Jason Allen

πŸ”£

Juicob

πŸ”£

Will Karnasiewicz

πŸ”£

Dylan T. Vavra

πŸ”£

Madison Martinez

πŸ”£

Daniel Eremchuk

πŸ”£

Alex Chong

πŸ”£

Matt S

πŸ”£

Samuel Rusher

πŸ”£

Evan Caraway

πŸ”£

Tyler K Kuromiya Parker

πŸ”£

kendellmendoza

πŸ”£

Johnnyk737

πŸ”£

James Schuler

πŸ”£

Creighton Leif

πŸ”£

Vitaly Tomilov

πŸ’»

Kyle Scudder

πŸ”£

Chris Mears

πŸ’¬ πŸ’» πŸ”£ 🚧 πŸ“† πŸ”§ βœ…

donkeyslaps

πŸ”£

Pranav Davar

πŸ”§

Alexandre Hernandes Barrozo

πŸ”£

Resten

πŸ”£

This project follows the all-contributors specification. Contributions of any kind welcome!

About

🍻 An open-source dataset of breweries, cideries, brewpubs, and bottleshops.

https://www.openbrewerydb.org

License:MIT License


Languages

Language:Jupyter Notebook 64.2%Language:TypeScript 35.8%