Autor Thema: Importing Data using CSV File  (Gelesen 6687 mal)

Offline wam67

  • Newbie
  • *
  • Beiträge: 5
Importing Data using CSV File
« am: August 22, 2005, 19:11 »
Hi,

I'm trying to import data into SiDiary using a CSV file, and even though it says the values were imported, I don't see any values in the program afer I'm done.

Can someone please help?

Thanks,



Walter

Offline Andi

  • Android-Smartphone-Fan
  • Special Member
  • *****
  • Beiträge: 7586
  • Country: de
  • Oben ohne find ich gut
  • Diabetestyp: DM 1
  • Therapie: Insulin-Pen
Re: Importing Data using CSV File
« Antwort #1 am: August 22, 2005, 19:25 »
Hi, Walter

Can someone please help?

Is it posible, to post the four or five first lines from your 'csv'-File? :kratz:

Withhin your question without an example it is not easy to help you :-\


Andi
.                                                       ,---> SiDiary ==> Bericht ist für den DOC
FSL3 ---> JugGluco ---> xDrip ---{
                                                        `---> GARMIN Fenix6PRO ==> BZ Live ist für mich! ;D

Offline wam67

  • Newbie
  • *
  • Beiträge: 5
Re: Importing Data using CSV File
« Antwort #2 am: August 22, 2005, 19:42 »
Hi Andi,

Here are the first few lines of my file:


DAY;TIME;KETONE;BG_LEVEL;CH_BE_KHE;BOLUS;BASAL;BLOODPRESSURE;REMARK
8/22/2005,2:48:00,0,289,0,0,0,0,0
8/21/2005,22:02:00,0,391,0,0,0,0,0
8/21/2005,17:21:00,0,142,0,0,0,0,0
8/21/2005,10:32:00,0,73,0,0,0,0,0
8/21/2005,9:25:00,0,107,0,0,0,0,0
8/21/2005,8:19:00,0,117,0,0,0,0,0


Hope this enough.

Thanks,



Walter

Offline goofy

  • Full Member
  • ***
  • Beiträge: 59
  • Country: de
  • Diabetestyp: DM 1
  • Therapie: Insulin-Pen
Re: Importing Data using CSV File
« Antwort #3 am: August 22, 2005, 20:04 »
Hi!
I would suggest that you try this: Seperate the data by ";" and do not use a ",". Then the values should be visible. (I have the tested it with the german version.) The csv-file you want to import sould look like the following:

DAY;TIME;KETONE;BG_LEVEL;CH_BE_KHE;BOLUS;BASAL;BLOODPRESSURE;REMARK
22.08.2005;2:48:00;0;289;0;0;0;0;0
21.08.2005;22:02:00;0;391;0;0;0;0;0
21.08.2005;17:21:00;0;142;0;0;0;0;0
21.08.2005;10:32:00;0;73;0;0;0;0;0
DM I,  ICT  Novorapid | Tresiba

Offline wam67

  • Newbie
  • *
  • Beiträge: 5
Re: Importing Data using CSV File
« Antwort #4 am: August 22, 2005, 20:16 »
Hi,

I tried using ";" instead of "," but I get the same result.

It says the values were imported, but I don't see them in the BG-Grid or anywhere else.

I don't know what I'm doing wrong.

Thanks for the suggestion,



Walter

Offline goofy

  • Full Member
  • ***
  • Beiträge: 59
  • Country: de
  • Diabetestyp: DM 1
  • Therapie: Insulin-Pen
Re: Importing Data using CSV File
« Antwort #5 am: August 22, 2005, 20:30 »
Hi Walther,

have you  tried to change the the syntax for "Day" from "mm/dd/yyy" to "dd.mm.yyyy"

I have received the same message which told me that the data was imported and yet I did not see them. After I have changed the syntax to the german notification the data was readable.
« Letzte Änderung: August 22, 2005, 21:19 von goofy »
DM I,  ICT  Novorapid | Tresiba

Offline Andi

  • Android-Smartphone-Fan
  • Special Member
  • *****
  • Beiträge: 7586
  • Country: de
  • Oben ohne find ich gut
  • Diabetestyp: DM 1
  • Therapie: Insulin-Pen
Re: Importing Data using CSV File
« Antwort #6 am: August 22, 2005, 20:30 »
I tried using ";" instead of "," but I get the same result.

...

I don't know what I'm doing wrong.

See the difference:
Walter: 8/21/2005,9:25:00,0,107,0,0,0,0,0
Goofy:  21.08.2005;17:21:00;0;142;0;0;0;0;0

I think, the date has to be corrected ...


Andi
.                                                       ,---> SiDiary ==> Bericht ist für den DOC
FSL3 ---> JugGluco ---> xDrip ---{
                                                        `---> GARMIN Fenix6PRO ==> BZ Live ist für mich! ;D

Offline wam67

  • Newbie
  • *
  • Beiträge: 5
Re: Importing Data using CSV File
« Antwort #7 am: August 22, 2005, 20:49 »
Hi,

This is my new data file:

DAY;TIME;KETONE;BG_LEVEL;CH_BE_KHE;BOLUS;BASAL;BLOODPRESSURE;REMARK
22.08.2005;2:48:00;0;289;0;0;0;0;0
21.08.2005;22:02:00;0;391;0;0;0;0;0
21.08.2005;17:21:00;0;142;0;0;0;0;0
21.08.2005;10:32:00;0;73;0;0;0;0;0

Same problem . . . . unfortunately.


Walter

Offline Andi

  • Android-Smartphone-Fan
  • Special Member
  • *****
  • Beiträge: 7586
  • Country: de
  • Oben ohne find ich gut
  • Diabetestyp: DM 1
  • Therapie: Insulin-Pen
Re: Importing Data using CSV File
« Antwort #8 am: August 22, 2005, 20:52 »
This is my new data file:

DAY;TIME;KETONE;BG_LEVEL;CH_BE_KHE;BOLUS;BASAL;BLOODPRESSURE;REMARK
22.08.2005;2:48:00;0;289;0;0;0;0;0
21.08.2005;22:02:00;0;391;0;0;0;0;0
21.08.2005;17:21:00;0;142;0;0;0;0;0
21.08.2005;10:32:00;0;73;0;0;0;0;0

Same problem . . . . unfortunately.

Thats rather hard  :moser:

Alf, i think, this is now your turn :zwinker:


Andi
.                                                       ,---> SiDiary ==> Bericht ist für den DOC
FSL3 ---> JugGluco ---> xDrip ---{
                                                        `---> GARMIN Fenix6PRO ==> BZ Live ist für mich! ;D

Offline goofy

  • Full Member
  • ***
  • Beiträge: 59
  • Country: de
  • Diabetestyp: DM 1
  • Therapie: Insulin-Pen
Re: Importing Data using CSV File
« Antwort #9 am: August 22, 2005, 21:11 »
i have to correct my previous posting   :patsch:

i´ve tested with this lines

DAY;TIME;KETONE;BG_LEVEL;CH_BE_KHE;BOLUS;BASAL;BLOODPRESSURE;REMARK
22.08.2005;2:48;0;289;0;0;0;0;0
21.08.2005;22:00;0;391;0;0;0;0;0
21.08.2005;17:21;0;142;0;0;0;0;0
21.08.2005;10:32;0;73;0;0;0;0;0

look at the time syntax "hh:mm" not "hh:mm:ss"

 i´m sorry
DM I,  ICT  Novorapid | Tresiba