Importing data tracker

Hello everyone,

My goal these times, is to set up a tracker program, and the data were there, but, I need to import these data as tracker

Regards

Carlos

···

Carlos Nyembwe

I’m just a Computer Scientist

Skype*: carloscnk1***

Cell*: (+243)813166381***

**Find me in: | Google Plus | **Linkedin | Facebook | Twitter |

Hey Carlos,

If you need to import the external data as tracked entity instances within a program, it means that you need to transform your data to json payload by specifying the tracked entity_id, the orgunit and for each data values theirs corresponding attribute_id. Then you can upload the created json file via the app “import-Export” or use CLI.

This transformation of csv file for exemple to json payload file can be done by writing a small app (in nodejs,php,…) that will do the job for you. And you may see some project on github that could help.

The template payload is described here
https://docs.dhis2.org/2.25/en/developer/html/webapi_tracked_entity_instance_management.html.

Cheers,

···

2017-09-07 14:44 GMT+01:00 Carlos Nyembwe nyembwe@gmail.com:

Hello everyone,

My goal these times, is to set up a tracker program, and the data were there, but, I need to import these data as tracker

Regards

Carlos


Carlos Nyembwe

I’m just a Computer Scientist

Skype*: carloscnk1***

Cell*: (+243)813166381***

**Find me in: | Google Plus | **Linkedin | Facebook | Twitter |


Mailing list: https://launchpad.net/~dhis2-users

Post to : dhis2-users@lists.launchpad.net

Unsubscribe : https://launchpad.net/~dhis2-users

More help : https://help.launchpad.net/ListHelp

Gérard Bisama
Tel:+243810890810

1 Like