Perl scripts analyze Jawbone UP data

Two in One

The context is what enables the magic trick with the two graph types: Line 111 assigns the area renderer to the default context, and the steps context gets a bar renderer in line 112. In both cases, the opacity parameter determines the transparency of the graph: With values around  , the lines and areas are virtually opaque; they turn completely transparent at around 1.

The graphically enhanced motion data in Figure 6 shows that I ran down to nearby Dolores Park after work to put a few miles on the UP. In a normal day at the office, hardly anyone will achieve the recommended 10,000 steps. As you can also see, the UP accumulated almost zero steps during the evening I spent lounging in front of the TV.

After a nice long sleep until 8 o'clock in the morning, I walked the half mile to the Yahoo! shuttle stop in San Francisco. During the day, the measured walking distance increased very slowly, while I meandered between meetings in different rooms or even buildings. After work, I walked uphill from the bus stop to my home; and the number of steps taken continued to grow, finally reaching about 10,000 at the end of the day.

Under Construction!

If you buy the Jawbone UP band, do not expect a 100 percent mature product. In discussion forums, more than a few owners reported that their slender bracelets stopped working at some point. In particular, the first versions had apparently catastrophic error rates; newer ones are more reliable, but it's not uncommon to hear that individual UPs fail to charge their batteries or stop responding. The fact that the Jawbone customer service department does not always respond as expected fails to inspire confidence. But, give it a shot!

A competitor for the UP has been available for quite a while in the form of "The One" by Fitbit [6]. You can drop this small USB stick format gadget into your pocket during the day and bind it onto your arm at night using a fairly wide fabric ribbon.

Infos

  1. Jawbone UP: https://jawbone.com/up
  2. "Jawbone UP Pedometer Teardown," EEV Blog #412: http://www.youtube.com/watch?v=sRjHAGsl6ws
  3. Listings for this article: ftp://ftp.linux-magazin.de/pub/listings/magazine/153
  4. Chart Clicker: http://gphat.github.io/chart-clicker/
  5. Time zones in the Olson database: http://en.wikipedia.org/wiki/List_of_tz_database_time_zones
  6. Fitbit One: http://www.fitbit.com/one

The Author

Mike Schilli works as a software engineer with Yahoo! in Sunnyvale, CA. He can be contacted at mailto:mschilli@perlmeister.com. Mike's homepage can be found at http://perlmeister.com.

Buy this article as PDF

Express-Checkout as PDF
Price $2.95
(incl. VAT)

Buy Linux Magazine

SINGLE ISSUES
 
SUBSCRIPTIONS
 
TABLET & SMARTPHONE APPS
Get it on Google Play

US / Canada

Get it on Google Play

UK / Australia

Related content

  • Data Visualization in Python

    Python's powerful Matplotlib, Bokeh, PyQtGraph, and Pandas libraries lend programmers a helping hand when visualizing complex data and their relationships.

  • Google Chart

    The Google Chart API lets you draw custom graphs, charts, maps, and barcodes through a simple web interface.

  • Perl: Google Chart Instructions

    A CPAN module passes drawing instructions in object-oriented Perl to Google Chart, which draws visually attractive diagrams.

  • Tutorial – LibreOffice Charts

    Everybody needs charts sooner or later, and LibreOffice Calc is the easiest way to create them with free and open source software.

  • Wanderlust

    For running statistics on his recorded hiking trails, Mike Schilli turns to Go to extract the GPS data while relying on plotters and APIs for a bit of geoanalysis.

comments powered by Disqus
Subscribe to our Linux Newsletters
Find Linux and Open Source Jobs
Subscribe to our ADMIN Newsletters

Support Our Work

Linux Magazine content is made possible with support from readers like you. Please consider contributing when you’ve found an article to be beneficial.

Learn More

News