← Back to team overview

dhis2-users team mailing list archive

Re: Importing data tracker

 

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@xxxxxxxxx>:

> 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 <+243%20813%20166%20381>*
> *Find me in: | Google Plus <https://plus.google.com/+CarlosNyembwe> | **Linkedin
> <http://www.linkedin.com/in/carloscnk> | Facebook
> <https://www.facebook.com/carloscnksys> | Twitter
> <https://twitter.com/Carlos_CNK> |*
>
> _______________________________________________
> Mailing list: https://launchpad.net/~dhis2-users
> Post to     : dhis2-users@xxxxxxxxxxxxxxxxxxx
> Unsubscribe : https://launchpad.net/~dhis2-users
> More help   : https://help.launchpad.net/ListHelp
>
>


-- 
Gérard Bisama
Tel:+243810890810

References