← Back to team overview

dhis2-devs team mailing list archive

Re: CSV import - specification of data type formats

 

Lars,

Thanks - true/false is noted for boolean.

But just to confirm re dates: WHY are you using dd.mm.yyyy for csv import
when all other dates in DHIS tend to be yyyy-mm-dd?

Regards
Calle

On 4 February 2016 at 16:04, Lars Helge Øverland <larshelge@xxxxxxxxx>
wrote:

> Hi Calle,
>
>
> On Thu, Feb 4, 2016 at 12:28 PM, Calle Hedberg <calle.hedberg@xxxxxxxxx>
> wrote:
>
>> Hi,
>>
>> Two quick questions re CSV import - I cannot seem to find the relevant
>> paragraphs in the documentation:
>>
>> What are the exact formats to use in the value field for data types
>> - yes/no (yes/no? Y/N? Yes/No? true/false? 1/0?)
>>
>
> true | false
>
>
>> - yes
>>
>
> true
>
>
>> - date
>>
>>
> dd.mm.yyyy
>
>
>
>
>> Secondly, when importing CSV data values for data elements defined as
>> "username" - does it require all values (usernames) to be valid DHIS2 users?
>>
>
> No.
>
>
> regards,
>
> Lars
>
>
>
>
>>
>> Regards
>> Calle
>>
>> *******************************************
>>
>> Calle Hedberg
>>
>> 46D Alma Road, 7700 Rosebank, SOUTH AFRICA
>>
>> Tel/fax (home): +27-21-685-6472
>>
>> Cell: +27-82-853-5352
>>
>> Iridium SatPhone: +8816-315-19119
>>
>> Email: calle.hedberg@xxxxxxxxx
>>
>> Skype: calle_hedberg
>>
>> *******************************************
>>
>>
>> _______________________________________________
>> Mailing list: https://launchpad.net/~dhis2-devs
>> Post to     : dhis2-devs@xxxxxxxxxxxxxxxxxxx
>> Unsubscribe : https://launchpad.net/~dhis2-devs
>> More help   : https://help.launchpad.net/ListHelp
>>
>>
>
>
> --
> Lars Helge Øverland
> Lead developer, DHIS 2
> University of Oslo
> Skype: larshelgeoverland
> http://www.dhis2.org <https://www.dhis2.org>
>
>


-- 

*******************************************

Calle Hedberg

46D Alma Road, 7700 Rosebank, SOUTH AFRICA

Tel/fax (home): +27-21-685-6472

Cell: +27-82-853-5352

Iridium SatPhone: +8816-315-19119

Email: calle.hedberg@xxxxxxxxx

Skype: calle_hedberg

*******************************************

References