Skip to main content

A package for processing and visualizing data collected with the Cozie-Apple app

Project description

CoziePy

CoziePy is a Python package to retrieve, process, and plot data from the Cozie iOS app for human comfort data collection.

Features

TBD

Documentation and tutorials

TBD

Quick start

  1. Installation

    pip install coziepy
    
  2. Download Cozie data using the web API and CoziePy

    from coziepy import Cozie
    
    cozie = Cozie()
    
    df = cozie.load(
      id_experiment = "AppStore",
      participant_list = ['participant_01', 'participant_02'],
      timezone = 'Asia/Singapore',
      api_url='https://m7cy76lxmi.execute-api.ap-southeast-1.amazonaws.com/default/cozie-apple-researcher-read-influx', 
      api_key='XXX' # Please reach out to cozie.app@gmail.com for an API_KEY
    ) 
    df.head()
    
  3. Plot Cozie data using CoziePy

    from coziepy import Cozie
    
    cp = CoziePlot(df=df, ws_questions=ws_questions)
    
    fig = cp.cohort_survey_count_bar(mode='plotly')
    fig.show()
    

Contribute

We would love you for the contribution to our project, check the LICENSE file for more info.

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

coziepy-0.0.17.tar.gz (37.0 kB view details)

Uploaded Source

Built Distribution

coziepy-0.0.17-py3-none-any.whl (36.5 kB view details)

Uploaded Python 3

File details

Details for the file coziepy-0.0.17.tar.gz.

File metadata

  • Download URL: coziepy-0.0.17.tar.gz
  • Upload date:
  • Size: 37.0 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/4.0.2 CPython/3.11.9

File hashes

Hashes for coziepy-0.0.17.tar.gz
Algorithm Hash digest
SHA256 ffaa545193f97feb40473a9873a313b173d99fa53ab05b564b8db0ecb6653edf
MD5 1c413b70d3adfed05ef79f5c7467c3b4
BLAKE2b-256 5f886f2818ae83f5b740c0d907dcb0111ac88046a8248cb44f80788837b62259

See more details on using hashes here.

File details

Details for the file coziepy-0.0.17-py3-none-any.whl.

File metadata

  • Download URL: coziepy-0.0.17-py3-none-any.whl
  • Upload date:
  • Size: 36.5 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/4.0.2 CPython/3.11.9

File hashes

Hashes for coziepy-0.0.17-py3-none-any.whl
Algorithm Hash digest
SHA256 c81419b077dbeb98c70ad8c27d30cbcef2b93ae8e04a5bbdf88d1fb46706b588
MD5 19d9e2249ebaadaf3ff61042d427869f
BLAKE2b-256 f73c20f6fa748556543ea2fff900c0304c1030a4c578e7d772046fa222578091

See more details on using hashes here.

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