{"id":31565710,"url":"https://github.com/correlaid/project-coordination-tools","last_synced_at":"2025-10-29T11:06:11.177Z","repository":{"id":247358808,"uuid":"654205900","full_name":"CorrelAid/project-coordination-tools","owner":"CorrelAid","description":"Tools and scripts to (semi-)automate tasks to the coordination of CorrelAid Data4Good projects.","archived":false,"fork":false,"pushed_at":"2024-07-22T09:30:02.000Z","size":39,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2024-07-22T11:29:02.402Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"language":"R","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/CorrelAid.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,"publiccode":null,"codemeta":null}},"created_at":"2023-06-15T15:54:40.000Z","updated_at":"2024-07-22T09:30:06.000Z","dependencies_parsed_at":"2024-07-08T10:17:33.591Z","dependency_job_id":"5d03c1dc-e1b0-4616-9310-48b358cc15a8","html_url":"https://github.com/CorrelAid/project-coordination-tools","commit_stats":null,"previous_names":["correlaid/project-coordination-tools"],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/CorrelAid/project-coordination-tools","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/CorrelAid%2Fproject-coordination-tools","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/CorrelAid%2Fproject-coordination-tools/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/CorrelAid%2Fproject-coordination-tools/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/CorrelAid%2Fproject-coordination-tools/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/CorrelAid","download_url":"https://codeload.github.com/CorrelAid/project-coordination-tools/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/CorrelAid%2Fproject-coordination-tools/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":278421673,"owners_count":25984056,"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","status":"online","status_checked_at":"2025-10-05T02:00:06.059Z","response_time":54,"last_error":null,"robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":true,"can_crawl_api":true,"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":"2025-10-05T07:15:47.949Z","updated_at":"2025-10-05T07:15:51.050Z","avatar_url":"https://github.com/CorrelAid.png","language":"R","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Purpose\nTools and scripts to (semi-)automate tasks to the coordination of CorrelAid Data4Good projects.\n\nFeatures: \n\n- pull applications from KoboToolbox \u0026 generate HTML report for anonymized team selection\n\n# Requirements\n\n## Project ID\nYou need a project id that has been used in KoboToolbox. It **must** have the following format: `YYYY-mm-[three uppercase letters]`. This is critical as data cleaning and downstream activities depend on this.\n\nThe project ID has three components:\n\n- Year in which the project started.\n- Month in which the project started.\n- Three-letter, uppercase identifier for the organization. Usually the first three letters of the organization’s name, unless it has a three-letter acronym (e.g in the case of the European Youth Parliament, we use EYP). If there are two projects starting with the same organization in a given month, we can give a three letter acronym that refers more to the content, e.g. EDA for exploratory data analysis.\n\nThe components are arranged as follows: {year}-{month}-{identifier}\n\n## R Packages\nScripts are written in R so far. Feel free to contribute Python versions. \n\n1. [Install R and RStudio](https://www.dataquest.io/blog/tutorial-getting-started-with-r-and-rstudio/)\n2. In the \"console\" winndow in RStudio, enter `install.packages(\"renv\")` to install the `renv` package\n3. run `renv::restore()` to install the dependencies of this repository. \n\n## KoboToolbox API token\nFor the processing of applications, you need the API token from a [CorrelAid KoboToolbox](https://kobo.correlaid.org) account that has access to the form \"Applications for CorrelAid Projects\". \n\n1. install the `usethis` R package: `install.packages(\"usethis\")`\n2. in the \"console\" window in RStudio enter `usethis::edit_r_environ()`. This will open the user environment file for R. \n3. Log into your account and open the [security settings](https://kobo.correlaid.org/#/account/security)\n4. Copy the API token and paste in the environment file (see step 2):\n\n```\nKBTBR_TOKEN=\"YOUR TOKEN\"\n```\n\n5. Restart RStudio. \n\n# Team selection \n**Optional**: if you know that you want to make edits to the scripts, then create a project folder for your project under `projects` with the project ID as the subfolder name. For example: `projects/2022-04-LAU`. You can then copy the `team_selection.R` script to this folder and edit it as you wish. Otherwise, the script in the root will create this folder for you for the outputs.\n## Generate HTML report and create datasets\n1. Open `team_selection.R` and replace `PROJECT_ID` with your project id in line 10. \n2. Run the script line by line or _source_ it (\"Run\" respectively \"Source\" button in RStudio). \n3. This will create a project folder under `projects` with with different csv files and the **HTML report** used for team selection.\n\n- `applications.csv`: applications for the project\n- `applications_anon.csv`: anonymized applications, i.e. name and email address removed\n- `mapping.csv`: mapping of applicant ID to name and email address to contact people after team selection.  \n- `google_sheets_main_table.csv`: heavily anonymized version (only applicant_id, role and gender) to upload to the main table of the google sheets template\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fcorrelaid%2Fproject-coordination-tools","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fcorrelaid%2Fproject-coordination-tools","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fcorrelaid%2Fproject-coordination-tools/lists"}