bhf_smarthealth.process.summary_process

bhf_smarthealth.process.summary_process#

This module utilises functions from the parse.summary_parser module to batch process raw Fitbit daily summary data

Attributes#

Functions#

process_file(→ pandas.DataFrame)

process_day(in_dir, out_paths, date_str)

Process a daily batch of raw Fitbit daily summary .json files

Module Contents#

bhf_smarthealth.process.summary_process.logger#
bhf_smarthealth.process.summary_process.process_file(part_path: pathlib.Path) → pandas.DataFrame[source]#
bhf_smarthealth.process.summary_process.process_day(in_dir: pathlib.Path, out_paths: dict[str, pathlib.Path], date_str: str)[source]#

Process a daily batch of raw Fitbit daily summary .json files

Parameters:
  • in_dir (Path) – Path of the directory containing raw data to batch process

  • out_path (Path) – Path to output processed data files to