mobilipy.reva

Functions

analyse(df, user_id)

Returns complete trip information from a raw GPS waypoints DataFrame.

mobilipy.reva.analyse(df, user_id) pandas.core.frame.DataFrame

Returns complete trip information from a raw GPS waypoints DataFrame. Segments the data into trips, detects the mode of transport and tags the home and work locations.

Parameters
  • df (pandas.DataFrame) – WaypointsDataFrame

  • user_id (str) – user’s ID

Returns

pandas.DataFrame – DataFrame with selected user’s legs