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.16.tar.gz (36.9 kB view details)

Uploaded Source

Built Distribution

coziepy-0.0.16-py3-none-any.whl (36.4 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: coziepy-0.0.16.tar.gz
  • Upload date:
  • Size: 36.9 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.16.tar.gz
Algorithm Hash digest
SHA256 8c0440d4957c6155511e62839e0c59b4fc60552abb9da6d3c0be348e24ef7826
MD5 a93360324a6d63ac849bb9c5d37208d6
BLAKE2b-256 685bdd830029cd92767f87f48d3e374618aa12adbc8deab45f6b496a09862b3a

See more details on using hashes here.

File details

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

File metadata

  • Download URL: coziepy-0.0.16-py3-none-any.whl
  • Upload date:
  • Size: 36.4 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.16-py3-none-any.whl
Algorithm Hash digest
SHA256 e06e1bb12a21e9af2f051177d0674f4f4260bd5f67954464802fd94d1b53ef32
MD5 6c315547834888d75e841c26c91c28e9
BLAKE2b-256 76f3b807981ed4ba3aec104911c37adbb1ce0f9794f30fe02b97610b210f806a

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