micronutrientsupport / database-architecture

The Postgres database code for the MAPS tool
3 stars 0 forks source link

Define standard input format for food consumption #175

Closed rbroth closed 1 year ago

rbroth commented 3 years ago

Split off from #77

How similar is the consumption data for

Columns

The various Consumption Tables

LuciaSegovia commented 3 years ago

Some questions here:

I suggest to add:

rbroth commented 3 years ago

The relevant database tables, which have comments for the columns (but which we'll change as we get more specific):

LuciaSegovia commented 3 years ago

Sorry @spenny-liam, I forgot to ask, the country_id variable is ISO2 or ISO3?

spenny-liam commented 3 years ago

Sorry @spenny-liam, I forgot to ask, the country_id variable is ISO2 or ISO3?

ISO 3166 2 letter codes please.

LuciaSegovia commented 3 years ago

I uploaded the data into Teams. A small note, FBSH corresponds to the 'old Food Balance Sheet' (http://www.fao.org/faostat/en/#data/FBSH) and FBS corresponds to the "new Food Balance Sheet" (http://www.fao.org/faostat/en/#data/FBS).

spenny-liam commented 3 years ago

I uploaded the data into Teams. A small note, FBSH corresponds to the 'old Food Balance Sheet' (http://www.fao.org/faostat/en/#data/FBSH) and FBS corresponds to the "new Food Balance Sheet" (http://www.fao.org/faostat/en/#data/FBS).

That's great thank you

spenny-liam commented 3 years ago

Hi @LuciaSegovia Sorry how much of a pain would it be for you to switch to the 3 letter country codes? I was going to do it myself but its taking me hours

LuciaSegovia commented 3 years ago

@spenny-liam sorry for the late reply. I can do it right now it you still need it :)

spenny-liam commented 3 years ago

Yes please sorry my mistake with asking for the wrong country codes

LuciaSegovia commented 3 years ago

No worries! It took me 3sec to change it :) It's on Teams now