Comments (5)
I should have opened with - I love this! Have been looking for something like this for a while as I have been looking to build a map of breweries in NZ, but this has me thinking a bit wider. Would love to collaborate with you on this.
from openbrewerydb-rails-api.
Hi, @stewartduffy ! Thanks so much for contributing!
There is an open issue in the OBDB Rails API repo which I think covers the feature you're requesting.
Feel free to add any other fields you might need for UI controls. And if you know Ruby and want to contribute, it's a good first issue. :)
Oh, and if you want to add any NZ breweries, you can contribute to the dataset.
Thanks again for reaching out and cheers! π»
from openbrewerydb-rails-api.
This is a duplicate of #31
from openbrewerydb-rails-api.
Hi @chrisjm this is awesome! Cool yeah I have never done ruby, but more of a JavaScript dev but could have ago! Might read up on it.
Defiantly will contribute to the dataset though, have been compiling a bunch of data on no breweries but wasnβt sure what do do with it (dB wise) but this answers my questions! Question about some workflow. What do you use to curate edit the data? I see there are tasks for importing / exporting to from json, csv, and the data set. But if today you wanted to add another brewery, what would your work flow be?
For me I have it all sitting in a geoJson that I converted from a KMZ file (exported from - custom google maps). So I can write the task to convert the geoJson. But curious about your work flow.
Cheers again! Looking forward to working on this πΊπ»
from openbrewerydb-rails-api.
Hi, @stewartduffy!
Definitely depends on the number of breweries you want to add. For adding NZ, you'll need to fork the dataset repo, add a new nz
country directory under /data
, and then directories for each region. You can find the schema for each brewery by looking at existing data.
Does that help?
I'll work on writing up better instructions for contributing to the dataset soon as I know documentation is lacking.
π»
from openbrewerydb-rails-api.
Related Issues (20)
- api test suite HOT 10
- BUG: List breweries sorting; `+` not working as expected HOT 4
- Incorrect search for multiple words (underscores) HOT 2
- adding sorting to filtering queries changes the list of returned items HOT 1
- Add ability to exclude `by_type` HOT 5
- Add columns `address_2`, `address_3`, and `county_province`
- Update `sort` filter to use `asc` and `desc` parameters HOT 10
- Validate arguments HOT 7
- Use `obdb_id` instead of `id` for getting a single brewery
- Filter by lat/long and distance
- Upgrade Ruby HOT 1
- Upgrade Ruby on Rails to 6.1
- Return random brewery
- Handle `Elasticsearch::Transport::Transport::ServerError` exception
- Better ElasticSearch index? HOT 1
- URL encoded filters and sorts not working
- Random request being cached by cloudflare and returns same result HOT 1
- Add ability to filter to `random` endpoint
- Accept a list of types
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
π Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google β€οΈ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from openbrewerydb-rails-api.