{"id":16698058,"url":"https://github.com/cjyetman/memberstates","last_synced_at":"2025-06-15T00:04:45.360Z","repository":{"id":89230615,"uuid":"77681661","full_name":"cjyetman/memberstates","owner":"cjyetman","description":null,"archived":false,"fork":false,"pushed_at":"2020-02-12T22:01:16.000Z","size":35,"stargazers_count":6,"open_issues_count":3,"forks_count":0,"subscribers_count":2,"default_branch":"master","last_synced_at":"2025-04-10T03:01:06.343Z","etag":null,"topics":["countrycode","polisci","r","r-package","rstats"],"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/cjyetman.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":"2016-12-30T11:13:35.000Z","updated_at":"2024-08-25T10:34:53.000Z","dependencies_parsed_at":"2023-06-14T12:30:37.267Z","dependency_job_id":null,"html_url":"https://github.com/cjyetman/memberstates","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/cjyetman/memberstates","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/cjyetman%2Fmemberstates","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/cjyetman%2Fmemberstates/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/cjyetman%2Fmemberstates/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/cjyetman%2Fmemberstates/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/cjyetman","download_url":"https://codeload.github.com/cjyetman/memberstates/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/cjyetman%2Fmemberstates/sbom","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":259901381,"owners_count":22929224,"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":["countrycode","polisci","r","r-package","rstats"],"created_at":"2024-10-12T17:50:34.078Z","updated_at":"2025-06-15T00:04:45.299Z","avatar_url":"https://github.com/cjyetman.png","language":"R","funding_links":[],"categories":[],"sub_categories":[],"readme":"# memberstates\r\n\r\nlists of the member states of various international organizations in various country code formats\r\n\r\nsuggest new organizations at: https://github.com/cjyetman/memberstates/issues\r\n\r\nincludes:\r\n- Council of Europe (source: http://www.coe.int/en/web/about-us/our-member-states)\r\n- European Union (source: https://europa.eu/european-union/about-eu/countries_en)\r\n- North Atlantic Treaty Organization (source: http://www.nato.int/cps/en/natolive/nato_countries.htm)\r\n- Organisation for Economic Co-operation and Development (source: http://www.oecd.org/about/membersandpartners/list-oecd-member-countries.htm)\r\n\r\nalso includes official groupings by various organizations:\r\n- UN Regional Groups: African Group, Asia-Pacific Group, Eastern European Group, Latin American and Caribbean Group (GRULAC), and Western European and Others Group (WEOG) (source: http://www.un.org/depts/DGACM/RegionalGroups.shtml)\r\n- WB Region: Latin America \u0026 Caribbean, South Asia, Sub-Saharan Africa, Europe \u0026 Central Asia, Middle East \u0026 North Africa, East Asia \u0026 Pacific, and North America (source: http://api.worldbank.org/en/countries/?format=json\u0026per_page=2000)\r\n- WB Admin Region: South Asia, Sub-Saharan Africa (excluding high income), Europe \u0026 Central Asia (excluding high income), Latin America \u0026 Caribbean (excluding high income), East Asia \u0026 Pacific (excluding high income), and Middle East \u0026 North Africa (excluding high income) (source: http://api.worldbank.org/en/countries/?format=json\u0026per_page=2000)\r\n- WB Income Level: High income, Low income, Upper middle income, and Lower middle income (source: http://api.worldbank.org/en/countries/?format=json\u0026per_page=2000)\r\n- WB Lending Type: Not classified, IDA, IBRD, and Blend (source: http://api.worldbank.org/en/countries/?format=json\u0026per_page=2000)\r\n\r\nexamples\r\n```r\r\nmemberstates$nato$iso3c\r\n```\r\n```r\r\nmemberstates$eu$country.name\r\n```\r\n\r\nsubestting a data frame (using base R)\r\n```r\r\nurl \u003c- 'https://raw.githubusercontent.com/datasets/gdp/master/data/gdp.csv'\r\ndf \u003c- read.csv(url)\r\ndf \u003c- df[df$Year == max(df$Year), ]\r\ndf[df$Country.Code %in% memberstates$eu$iso3c, ]\r\n```\r\n\r\nsubestting a data frame (using dplyr)\r\n```r\r\nlibrary(dplyr)\r\nurl \u003c- 'https://raw.githubusercontent.com/datasets/gdp/master/data/gdp.csv'\r\nread.csv(url) %\u003e%\r\n  filter(Year == max(Year)) %\u003e%\r\n  filter(Country.Code %in% memberstates$eu$iso3c)\r\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fcjyetman%2Fmemberstates","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fcjyetman%2Fmemberstates","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fcjyetman%2Fmemberstates/lists"}