https://github.com/climatemind/climatemind-analytics
Climate Mind app analytics
https://github.com/climatemind/climatemind-analytics
Last synced: 7 months ago
JSON representation
Climate Mind app analytics
- Host: GitHub
- URL: https://github.com/climatemind/climatemind-analytics
- Owner: ClimateMind
- Created: 2021-01-16T00:23:49.000Z (over 5 years ago)
- Default Branch: main
- Last Pushed: 2022-11-18T17:16:32.000Z (over 3 years ago)
- Last Synced: 2025-06-04T10:06:44.780Z (12 months ago)
- Language: Python
- Size: 2.36 MB
- Stars: 0
- Watchers: 2
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# climatemind-analytics
Climate Mind Analytics
Analytics data for the Climate Mind app is currently set up to be automatically added to our database once a week on Tuesdays at 13:00 PT. The process is automated using an Azure Python Runbook.
A standalone version of the automated script is provided here to demonstrate the logic or to manually add analytics data to our db.
To use the standalone script:
1. Get authorization to access the Climate Mind analytics data by contacting Andrew Banister (awban22@gmail.com).
2. Create a folder for the repo on your computer.
3. Clone this repo.
4. Set up and activate a virtual environment.
5. Run ```pip install -r requirements.txt```
6. Add the secret.json and secret_db_credentials.py files to your project. **Note**: make sure that your files are named exactly as written here to ensure they are imported correctly and are ignored correctly by Git.
7. Run the CM_analytics.py script.
# KPI4
