codeforbtv / foodrescue

2 stars 3 forks source link

Propose new Farm/ Compost/ Food Shelf location form #23

Closed Dangeranger closed 1 year ago

Dangeranger commented 10 years ago

Consider adding the ability for donators to add to the API dataset. There may be some farms and compost facilities especially which are located in the area, but not included in the dataset.

benglass commented 10 years ago

The data set actually comes from the Vermont Food Systems Atlas http://www.vtfoodatlas.com. Right now its a static dump of json but when I get the public api finished the data can be synced to this app to keep it up to date on a cron (or whatever heroku calls that :) . Any enhancements to the data set including adding new organizations could then be done through the atlas site which already provides a way for users to add new organizations and categorize them. I can pass along suggestions for new fields to the Farm to Plate team, it sounds like at the very least hours of operation would be good.

Dangeranger commented 10 years ago

Ok, this is even better than I thought it was.

Should we anticipate the need for quality control on the suggestions so that the API doesn't get filled up with duplicate and incorrect suggestions?

benglass commented 10 years ago

When the API launches it will most likely be read only. If write access is added it would function as it currently does on the food atlas site in that new organizations require approval from the client (farm to plate) and they have functionality for detecting and merging duplicate organizations.

As an admin on the site I also have the ability to directly add organizations assuming I OK that with the client. But basically I can fix any issues with the food atlas data we find that doesnt involve adding new fields although I have passed that info (the request for hours of operation field) over to the client.

We actually have mentioned to them that we think a great enhancement would be the ability to store arbitrary key value pairs (metadata) about the organization so that unstructured data can be added. Hours of operation is actually relevant for many orgs but this could be used for fields that are specific to composting organizations for example. The more real-world use cases for this feature we can find the more likely it is that they can find funding for it.