Add new regions #47
Labels
bg: permanent
Issues indicating things that can always be improved, extended etc.
topic: data / assets
Things related to the data the app accesses and uses.
We are currently working on an updated description/mechanism for adding new regions to the app.
For now you can:
Outdated description
From v1.5.0, adding a new region
XX
corresponds to adding new availability info for each food:foods_av_XX
in the SQLite database fileassets/db/foods.db
, withXX
being a two-letter code for the region. The easiest way to do this is by copying the tablefoods_av_ce
with the SQL statement below:CREATE TABLE foods_av_xx AS SELECT * FROM foods_av_ce
isCommon
): each column holds a number per month, separated by commas.0.0
indicates no availability, e.g.0.5
indicates partial availability and1.0
abundant availability in that month.isCommon
whether the food is common or a rarity in your region.Non-Database-fiddling Alternative
Send me a spreadsheet with the data of your region, containing the availability numbers for each food (1 number per month) and whether the food is common or a rarity in your region.
The text was updated successfully, but these errors were encountered: