Skip to main content

Utility for ModelTB.org team. Aggregates SNaP reports to a single file.

Project description

SNaP OneDrive Report Aggregator

Utility for ModelTB.org team. Aggregates SNaP reports to a single file.

Prerequisites

  1. Gain access to the following OneDrive folders: TODO
  2. Install OneDrive
  3. Install Python

Installation

  1. Ensure that all prerequisites are complete.
  2. Open Terminal (Mac) / Command Prompt (Windows)
  3. Enter command: python -m pip install pipx
  4. Enter command: python -m pipx ensurepath
  5. Restart Terminal / Command Prompt
  6. Enter command: pipx install snap-tam

Running

  1. Open Terminal / Command Prompt
  2. Enter command: snap-tam

Configuration

When running for the first time, you will be asked to enter the path to your OneDrive installation. What you enter will be stored in the config file.

You can also edit the config file in order to update any changed or incorrectly entered information. Additional options for further customization are also available.

Config file w/ default values:

{
  "onedrive_dir_path": "",
  "input_dir_regexp": [
    "SNAP_TAM_[0-9]{3}",
    "SNAP_TAM_Interviewer"
  ],
  "worksheet_name": "Data Entry Log",
  "duration_colnames": [
    "Duration",
    "Total Interaction Duration"
  ],
  "output_dirname": "SNAP_TAM_Aggregated",
  "print_progress": false
}

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

snap-tam-1.0.7.tar.gz (7.1 kB view hashes)

Uploaded Source

Built Distribution

snap_tam-1.0.7-py3-none-any.whl (8.6 kB view hashes)

Uploaded Python 3

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page