Fourmilab home The Hacker's Diet Online
How to lose weight and hair
through stress and poor nutrition
The Hacker's Diet Home

Hacker's Diet Online CSV Example

2007-02_HDO.csv
Epoch,2007-04-28T19:35:50Z
User,1.0,Example,Example,J.,Account,chef@ratburger.org,2007-04-24T19:46:38Z
Preferences,1.0,kilogram,kilogram,calorie,0,.
Diet-Plan,1.0,-500,85,75,2006-03-15T00:00:00Z,1
Date,Weight,Rung,Flag,Comment
StartTrend,75.0163,0,1177788855,1177788855,1.0
2007-02-01,75.2,36,0,
2007-02-02,73.8,36,1,
2007-02-03,75.9,36,1,London
2007-02-04,74.2,36,1,"\x{41c}\x{43e}\x{441}\x{43a}\x{432}\x{430}"
2007-02-05,74.3,36,0,"\x{41c}\x{43e}\x{441}\x{43a}\x{432}\x{430}"
2007-02-06,76.3,36,1,"\x{6771}\x{4eac}"
2007-02-07,75.8,36,0,"\x{6771}\x{4eac}"
2007-02-08,75.1,36,1,"\x{5e73}\x{58e4}\x{76f4}\x{8f44}\x{5e02}"
2007-02-09,74.5,36,1,"\x{5e73}\x{58e4}\x{76f4}\x{8f44}\x{5e02}"
2007-02-10,74.7,36,0,"\x{5e73}\x{58e4}\x{76f4}\x{8f44}\x{5e02}"
2007-02-11,75,36,1,"\x{62a}\x{647}\x{631}\x{627}\x{646}"
2007-02-12,74,36,1,"\x{62a}\x{647}\x{631}\x{627}\x{646}"
2007-02-13,75.5,,0,"\x{637}\x{631}\x{627}\x{628}\x{644}\x{633}"
2007-02-14,74.3,36,1,"\x{637}\x{631}\x{627}\x{628}\x{644}\x{633}"
2007-02-15,74.5,,0,Genève
2007-02-16,73.9,36,0,
2007-02-17,74.1,36,1,
2007-02-18,75.6,36,1,
2007-02-19,74.6,36,0,
2007-02-20,75.3,36,1,
2007-02-21,74.8,36,0,
2007-02-22,74.5,36,1,
2007-02-23,75.4,36,0,
2007-02-24,74.9,36,1,
2007-02-25,75,36,1,
2007-02-26,74.9,36,0,
2007-02-27,75.4,36,1,
2007-02-28,75.3,36,0,

Field Definitions

Date
Complete date of the entry, which must be expressed in the ISO 8601 format. For July 20th, 1999 the date field would read “1999-07-20”. Any line in the CSV file which does not begin with a valid date is ignored. This allows processing CSV files which contain headings or other material in addition to log entries. Dates need not be in ascending order, but CSV importing is faster if all the entries for a given month appear as a block of consecutive lines.
Weight
Daily weight, as a decimal number. If the log unit is set to stones and pounds, the value is given in pounds. If no weight was recorded for the day, this field may be blank. Weights are stored in the log using the Log unit you've chosen in the Settings.
Rung
Rung in the exercise program completed for this day. This is a whole number between 1 and 48.
Flag
This field sets the “Flag” checkbox in the Monthly Log, which you can use to record any significant daily yes or no item (for example, did you work out at the gym that day, or have pizza for lunch?). If the field is blank or “0” the flag is not set; any other value sets it.
Comment
This field supplies arbitrary text to appear in the comment field in the day's Monthly Log entry. Unicode characters outside the ISO-8859 Latin-1 printable character range are encoded as hexadecimal escape sequences as in the Perl language; to include a backslash in a string, either encode it as hexadecimal or use a double backslash. If the field contains leading or trailing white space, an embedded comma, quote, or an escaped character, it must be enclosed in double quotes ("); double quotes within the field are indicated by two consecutive double quotes.

Back to The Hacker's Diet Online


The Hacker's Diet
by John Walker