fitbit_interday_dataset

Module that provides classes to work with a exported fitbit dataset at interday resolution

class tasrif.data_readers.fitbit_interday_dataset.FitbitInterdayDataset(folder_path, table_name)

Base class for all fitbit interday datasets

__init__(folder_path, table_name)

Initializes an interday dataset reader with the input parameters.

Parameters
  • folder_path (str) – Path to the fitbit export folder_path containing interday data.

  • table_name (str) – The table to extract data from.

process(*data_frames)

Function that runs validation hooks and processes the input data_frames.

Parameters

*data_frames (list of pd.DataFrame) – Variable number of pandas dataframes to be processed

Returns

Output of _process method