Analyzing Biking Data 

Data accessed directly from sources such as RunKeeper or downloaded from a multitude of fitness apps can be easily processed and analyzed.

Here is a time series representation of an example bicycle ride and a visualization of the bike route on a map.

In[1]:=
Click for copyable input
X
In[2]:=
Click for copyable input
X
Out[2]=

Compute total distance, ride duration, and average speed.

In[3]:=
Click for copyable input
X
Out[3]=
In[4]:=
Click for copyable input
X
Out[4]=
In[5]:=
Click for copyable input
X
Out[5]=

More interestingly, compute and show uphill and downhill segments of the route as well as global statistics such as total times, distances, and average speeds on ascending and descending portions of the road.

Extract time, position (latitude, longitude), and elevation data from the time series.

In[6]:=
Click for copyable input
X

Smooth data; find and show peaks (red) and valleys (green).

show complete Wolfram Language input
Out[7]=

Compute and visualize the ascending (red) and descending (green) segments of the bike ride.

show complete Wolfram Language input
Out[9]=

Total times of uphill and downhill segments.

In[10]:=
Click for copyable input
X
Out[10]=

Total distances of uphill and downhill segments.

In[11]:=
Click for copyable input
X
Out[11]=

Average speeds in uphill and downhill segments.

In[12]:=
Click for copyable input
X
Out[12]=

Visualize the uphill (red) and downhill (green) segments of the ride on a map of the bike route.

show complete Wolfram Language input
Out[13]=
de es ja pt-br zh