Loading Health Data #2276
szabozoltan69
started this conversation in
General
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
-
A, B tables are needed from the Geo responsible:
https://ifrcorg.sharepoint.com...
https://ifrcorg.sharepoint.com...
Export them as CSV.
ONLY Health care (type=2) localUnit data should be deleted from table A before – and all Health data, practically from Django Admin:
https://goadmin-stage.ifrc.org/en/admin/local_units/healthdata/
https://goadmin-stage.ifrc.org/en/admin/local_units/localunit/?type=2
https://goadmin.ifrc.org/en/admin/local_units/healthdata/
https://goadmin.ifrc.org/en/admin/local_units/localunit/?type=2
Important! Table B should be loaded first, then A! (Otherwise https://github.com/IFRCGo/go-api/blob/develop/local_units/management/commands/import_local_units_health.py#L62-L64
does not find proper table B record.)
The result can be checked on Admin (in table A you can see the linked health record) or on frontend.
Beta Was this translation helpful? Give feedback.
All reactions