{"id":20239225,"url":"https://github.com/kevinmichaelchen/stat202","last_synced_at":"2026-06-08T19:03:08.299Z","repository":{"id":15787017,"uuid":"18526213","full_name":"kevinmichaelchen/stat202","owner":"kevinmichaelchen","description":"What makes some nations wealthy? - Statistics 202","archived":false,"fork":false,"pushed_at":"2014-05-24T20:45:14.000Z","size":47300,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"master","last_synced_at":"2025-10-09T23:34:05.519Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":"","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/kevinmichaelchen.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}},"created_at":"2014-04-07T17:25:01.000Z","updated_at":"2014-11-12T20:16:46.000Z","dependencies_parsed_at":"2022-07-16T07:16:13.936Z","dependency_job_id":null,"html_url":"https://github.com/kevinmichaelchen/stat202","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/kevinmichaelchen/stat202","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/kevinmichaelchen%2Fstat202","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/kevinmichaelchen%2Fstat202/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/kevinmichaelchen%2Fstat202/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/kevinmichaelchen%2Fstat202/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/kevinmichaelchen","download_url":"https://codeload.github.com/kevinmichaelchen/stat202/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/kevinmichaelchen%2Fstat202/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":34075988,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-05-26T15:22:16.424Z","status":"online","status_checked_at":"2026-06-08T02:00:07.615Z","response_time":111,"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":"2024-11-14T08:38:01.231Z","updated_at":"2026-06-08T19:03:08.284Z","avatar_url":"https://github.com/kevinmichaelchen.png","language":"R","funding_links":[],"categories":[],"sub_categories":[],"readme":"STAT202\n=======\n\n## Downloading the data  \n1. Go to the following [link](http://databank.worldbank.org/data/views/variableselection/selectvariables.aspx?source=world-development-indicators).  \n2. Go to the *COUNTRY* tab and select all countries.  \n3. Go to the *SERIES* tab and select all indicators.  \n4. Go to the *TIME* tab and select the desired years.  \n5. Press *DOWNLOAD* and go to the *CSV* tab.\n7. Under *Modify Orientation*:  \n  * Export range: Entire dataset\n  * Data format: Table\n  * Variable format: Both codes \u0026 names\n  * NA preference: NA\n  * Text field delimiter: none\n\n## Overview  \nThis repo contains the dataset, R script, and writeups for the 202 final project. We analyze data from **The World Bank** and explore relationships between economic growth and a myriad indicators (with an emphasis on urbanization indicators).  \n\nRunning `build.R` will ask the user to choose a file of the original wide-format data (e.g., `originalData.csv`). The script will create a data frame for each year that was downloaded.  \n\nThe original data is in *wide* format:  \n\n| Country Name | Country.Code | Indicator.Name | Indicator.Code | X1980..YR1980. | X2008..YR2008. |\n| ------------ | ------------ | -------------- | -------------- | -------------- | -------------- |\n| Afghanistan  | AFG          | CO2 emissions  | EN.ATM.CO2E.KT | 1.760160e+03   | 3.927357e+03   |\n\nNote: originally the downloaded data only had 2 years: \"Y1980\" and \"Y2008\".\n`YEARS \u003c- c(\"Y1980\", \"Y2008\")`.\nIf this changes, the `YEARS` variable at the top of `build.R` must change accordingly.  \n\nOnce `build.R` has executed, there should be CSV files for each year, in the *long* format.  \n\n| Country Name | Country.Code | Indicator.Code | CO2 emissions |\n| ------------ | ------------ | -------------- | ------------- |\n| Afghanistan  | AFG          | EN.ATM.CO2E.KT | 1.760160e+03  |\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fkevinmichaelchen%2Fstat202","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fkevinmichaelchen%2Fstat202","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fkevinmichaelchen%2Fstat202/lists"}