seryn: frozen water drop (ice drop)
[personal profile] seryn
I'm "working" on two projects now. The library anecdotes. And tonight I started looking to see if I couldn't create a database for tracking workout data.


I looked at several online workout tracking places, many of which just required web access (so I don't have to worry about what kind of phone I have, the Palm Pre really is an awesome phone, but its lack of popularity makes the app selection seriously less awesome) but the TOS for these places are egregious. It's not like the DW kind of thing which says by posting your data you are giving them a license to distribute, one site actually said by posting you were forfeiting your own copyright to the data itself. Sure there's not a lot of reason why I would worry about that being enforced, but why would I do business with people who set out to be nefarious?

It's not that hard to go to the gym with a sticky note that's been pre-gridded (manually) and then to input the data later. But I thought about data format and how annoying it is when the data hasn't been entered in a manner which can be imported or queried. It's lame when people choose to add linebreaks or extraneous whitespace so they can type things in a human-readable way. It's much easier to import from a one-line-per-record tab-delimited datafile. But I have 70 fields on tonight's sticky note. That's pretty standard for a full workout. But even tonight there were some blank fields (going to fill in blood pressure later, and didn't do three sets of every lift) and that made it difficult to accurately enter the data into the correct field (when it's only tabbed apart, there's no way to count how many tabs there are.)

So then I thought about what I really needed was a form that would only let me enter the appropriate data and then the data would be pulled from there cleanly into the correct place in the records.

I thought about using a spreadsheet, but honestly, spreadsheets are SLOW to launch. Not that the DB is faster, but considering I wanted the Notepad-style version of a spreadsheet, not the full on power of Excel (or whatever the OpenOffice people call their spreadsheet)... I opted for severe overkill the other way.

Date: 2010-09-20 06:17 am (UTC)
corrvin: the word "librarian" glows in white above a rainbow, on a black background (Default)
From: [personal profile] corrvin
Are you familiar with "comma separated values"?

Basically you can import text into a spreadsheet, and an easy way to format it for that import is just to use commas.

Example:
Save your pre-gridded posty, which might say:
Today's date
Time went to gym
Ounces of water brought
Minutes on cycle
Lifts done per set: ___ ___ ___
Time left gym

Then you'd save a text document as follows:
9/20,214pm,40,17.5,14,12,,255pm
If you skipped the last set of lifts then you'd just leave those two commas there with nothing between them at all, and that way it'd format correctly when you imported it into your spreadsheet at home.

Profile

seryn: flowers (Default)
seryn

September 2016

M T W T F S S
   1234
567891011
12131415161718
19202122232425
2627282930  

Page Summary

Expand Cut Tags

No cut tags
Page generated Jun. 18th, 2026 02:59 pm
Powered by Dreamwidth Studios