{"id":23066066,"url":"https://github.com/tidepool-org/data-analytics","last_synced_at":"2025-08-15T11:32:40.410Z","repository":{"id":26232241,"uuid":"107721398","full_name":"tidepool-org/data-analytics","owner":"tidepool-org","description":"Home for code we use to analyze data for the Tidepool Big Data Donation project and similar.","archived":false,"fork":false,"pushed_at":"2022-03-29T20:04:37.000Z","size":43989,"stargazers_count":9,"open_issues_count":10,"forks_count":14,"subscribers_count":17,"default_branch":"master","last_synced_at":"2024-05-01T11:40:27.566Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"language":"Python","has_issues":false,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"bsd-2-clause","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/tidepool-org.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null}},"created_at":"2017-10-20T20:04:46.000Z","updated_at":"2022-03-29T20:04:36.000Z","dependencies_parsed_at":"2022-08-07T11:16:30.862Z","dependency_job_id":null,"html_url":"https://github.com/tidepool-org/data-analytics","commit_stats":null,"previous_names":[],"tags_count":1,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/tidepool-org%2Fdata-analytics","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/tidepool-org%2Fdata-analytics/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/tidepool-org%2Fdata-analytics/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/tidepool-org%2Fdata-analytics/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/tidepool-org","download_url":"https://codeload.github.com/tidepool-org/data-analytics/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":229911005,"owners_count":18143229,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":[],"created_at":"2024-12-16T05:11:04.162Z","updated_at":"2024-12-16T05:11:04.867Z","avatar_url":"https://github.com/tidepool-org.png","language":"Python","readme":"# data-analytics\nWelcome to the Tidepool Data Analytics Repository. This is the home\nfor the code we use to download, clean, and analyze data for the Tidepool\nBig Data Donation project.\n\n## About our use of Python \u0026 R\nWe use the [Anaconda](https://www.anaconda.com/) distribution of Python \u0026 R.\nYou are welcome to install the full Anaconda installer, but will only need\nMiniconda to get started.\n\n## Getting started\n### Project Setup\n1. Install [Miniconda](https://conda.io/miniconda.html) for your platform.\n1. In a terminal, navigate to the data-analytics directory where the environment.yml \nis located.\n1. Run `conda env create`. This will download all of the package dependencies\nand install them in a virtual environment named tidepool-analytics. PLEASE NOTE: this\nmay take close to 30 minutes to complete.\n\n## To list the Virtual Environments\nRun `conda env list`\n\n## To use the Virtual Environment\nIn Bash run `source activate tidepool-analytics`, or in the Anaconda Prompt \nrun `conda activate tidepool-analytics` to start the environment.\n\nRun `deactivate` to stop the environment.\n\n## Testing\nThis project uses the testing framework named pyTest. https://docs.pytest.org/en/latest/\n\nAfter following the project setup instructions, including creating and activating the\nvirtual environment, you can simply run your tests within Bash\n\n``` bash\n# Run tests via  \npytest \n```\n\n## Running Tests with Test Coverage \nThis project uses pytest-cov (https://pytest-cov.readthedocs.io/en/latest/) to run test and produce code \ntest coverage. \n\nTo execute a basic test coverage report, run the following from within the virtual environment created during project setup\n. This will give the output directly in the Terminal.\n``` bash\n# Run tests via  \npytest --cov \n```\n\nTo execute a detailed test coverage report, run the following command from within the virtual environment created during \nthe project setup. \nThis will create an htmlcov directory containing an index.html page with coverage details.\n``` bash\n# Run tests via  \npytest --cov --cov-report html\n```\n","funding_links":[],"categories":[],"sub_categories":[],"project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Ftidepool-org%2Fdata-analytics","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Ftidepool-org%2Fdata-analytics","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Ftidepool-org%2Fdata-analytics/lists"}