{"id":21361644,"url":"https://github.com/developmenthf/catigorise","last_synced_at":"2025-03-16T06:44:17.562Z","repository":{"id":222262159,"uuid":"673208501","full_name":"DevelopmentHF/CATIgorise","owner":"DevelopmentHF","description":"Tool for categorising CATI responses 🗃️","archived":false,"fork":false,"pushed_at":"2023-08-01T08:11:23.000Z","size":76,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-01-22T19:16:25.658Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":"","language":"Python","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/DevelopmentHF.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":null,"code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null}},"created_at":"2023-08-01T05:50:04.000Z","updated_at":"2024-02-13T07:00:53.000Z","dependencies_parsed_at":"2024-02-13T09:22:41.575Z","dependency_job_id":null,"html_url":"https://github.com/DevelopmentHF/CATIgorise","commit_stats":null,"previous_names":["developmenthf/catigorise"],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/DevelopmentHF%2FCATIgorise","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/DevelopmentHF%2FCATIgorise/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/DevelopmentHF%2FCATIgorise/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/DevelopmentHF%2FCATIgorise/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/DevelopmentHF","download_url":"https://codeload.github.com/DevelopmentHF/CATIgorise/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":243835937,"owners_count":20355611,"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-11-22T06:10:48.594Z","updated_at":"2025-03-16T06:44:17.528Z","avatar_url":"https://github.com/DevelopmentHF.png","language":"Python","readme":"# CATIgorise 🗄️\n\nA tool used to categorise CATI verbatim responses into a set list of categories.\n\nInputted data should be in `csv` format, and outputted data retains all input data into a new file with the `category` column edited. \n\n## Usage\n\nCATIgorise currently is based on the action of installing a new gas meter, but that is easily edited in the source code if needed.\nTo add another category, add it to the `prompt` **variable** in `main.py`.\nYou will also need your own API key from OpenAI, and a new file called `env.py` with the following line:\n\n```python\nAPIKEY = \"YOUR_KEY_HERE\" # replace with your own generated key\n```\n\n\u003e Note: The program is based on test data csv file with the format:\n\u003e \n\u003e id,response,score,category\n\u003e \n\u003e For actual use, update this to your actual format, but make sure the string component retains the name \"response\"\n\nMake sure the inputted data filename is set correctly to your file name:\n\n```python\nwith open(\"YOUR_FILE_NAME.csv\")\n```\n\nTo run the program, use the in-built IDE run button or execute it in the CLI as such:\n\n#### MacOS\n```shell\npython3 main.py\n```\n\n#### Windows\n```shell\npython main.py\n```\n\n## Dependencies\nOnly the OpenAI library is needed, install with the following commands.\n\n#### MacOS:\n```shell\npip3 install openai\n```\n\n#### Windows:\n```shell\npip install openai\n```\n","funding_links":[],"categories":[],"sub_categories":[],"project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fdevelopmenthf%2Fcatigorise","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fdevelopmenthf%2Fcatigorise","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fdevelopmenthf%2Fcatigorise/lists"}