Hi all - I am working SurveyStack forms which push data to farmOS via the Aggregator and API. We have some internal conventions on how we store info - like conventions for log_categories, where and how to store certain quantity info, etc.
One convention that I’d like to add is to use flags
as a way to convey high-level information about management. Many other orgs who I’d like to use farmOS so it can grow will need this to. I need a more clear one sentence rule, but something like:
A flag is a production strategy/regimes/certification which may be applied to a planting and/or a field
The reason this is useful is we are comparing information across farmOS instances, and while you may have the granular details about all the plantings you want to compare, it’s still hard to know if this planting is (or this field has been) managed in a certain way.
I can’t just add willy nilly to flags - in farmOS they are enforced and require a module to add options. What’s nice is there are existing modules which have some of what I need - farm_organic
and farm_biodynamic
, which add the following flags:
- organic
- transitionalorganic
- notorganic
- biodynamic
I think the idea was good here, but I’d like to propose (I think) a new module which maintains all the management strategies/regimes/certifications in one place. That way, if a farm starts a new regime or gets a new certification, it’s already on the list.
I’d also like to propose to stick to a format which uses _
to separate words. This may seem trivial but actually it’s really useful because it makes use the slug in human readable format in JS super easy…
${certified_organic}
.replace("_", " ")
→ certified organic
- Slug is human readable when replacing
_
with space - List maintains all major US-based practices + certifications
- List is maintained and added to through a collaborative process (kind of like the Plant Data Service) or perhaps by identifying feeding in ‘other’ responses from other surveys to identify new practices which may get missed.
This would be really useful for me, wondering if this is useful for others… and/or if this feels like the right strategy. I know at least in the next few days I need some basic flags in place, but I’d love to establish a bigger vision here so next year it’s more fleshed out.