{"id":16572624,"url":"https://github.com/knapply/epr","last_synced_at":"2025-06-13T02:35:09.438Z","repository":{"id":105873339,"uuid":"259324397","full_name":"knapply/epr","owner":"knapply","description":"Ethnic Power Relations Data and Associated Analytical Routines","archived":false,"fork":false,"pushed_at":"2020-04-27T14:35:12.000Z","size":88,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":2,"default_branch":"master","last_synced_at":"2025-01-16T03:14:26.315Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":"https://knapply.github.io/epr/","language":"R","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"gpl-3.0","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/knapply.png","metadata":{"files":{"readme":"README.Rmd","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","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":"2020-04-27T13:10:20.000Z","updated_at":"2020-04-27T14:36:21.000Z","dependencies_parsed_at":null,"dependency_job_id":"f67ff9ce-0f21-429c-ab7f-48f533bab3ad","html_url":"https://github.com/knapply/epr","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/knapply%2Fepr","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/knapply%2Fepr/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/knapply%2Fepr/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/knapply%2Fepr/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/knapply","download_url":"https://codeload.github.com/knapply/epr/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":242041713,"owners_count":20062281,"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-10-11T21:28:07.707Z","updated_at":"2025-03-05T14:25:48.800Z","avatar_url":"https://github.com/knapply.png","language":"R","funding_links":[],"categories":[],"sub_categories":[],"readme":"---\ntitle: \"`{epr}`\"\noutput:\n  github_document:\n    html_preview: true\n    toc: true\n    toc_depth: 2\n  html_document:\n    keep_md: yes\nalways_allow_html: yes\neditor_options: \n  chunk_output_type: console\n---\n\n\u003c!-- README.Rmd generates README.md. --\u003e\n\n```{r, echo=FALSE}\nknitr::opts_chunk$set(\n  # collapse = TRUE,\n  fig.align = \"center\",\n  comment = \"#\u003e\",\n  fig.path = \"man/figures/\",\n  message = FALSE,\n  warning = FALSE\n)\noptions(width = 150)\n```\n\n\n\u003c!-- badges: start --\u003e\n[![R build status](https://github.com/knapply/epr/workflows/R-CMD-check/badge.svg)](https://github.com/knapply/epr/actions?workflow=R-CMD-check)\n[![GitHub last commit](https://img.shields.io/github/last-commit/knapply/epr.svg)](https://github.com/knapply/epr/commits/master)\n[![License: GPL v3](https://img.shields.io/badge/License-GPLv3-blue.svg)](https://www.gnu.org/licenses/gpl-3.0)\n[![Depends](https://img.shields.io/badge/Depends-GNU_R\u003e=3.6-blue.svg)](https://www.r-project.org/)\n[![HitCount](http://hits.dwyl.io/knapply/epr.svg)](http://hits.dwyl.io/knapply/epr)\n\u003c!-- [![Codecov test coverage](https://codecov.io/gh/knapply/epr/branch/master/graph/badge.svg)](https://codecov.io/gh/knapply/epr?branch=master) --\u003e\n\u003c!-- [![CRAN status](https://www.r-pkg.org/badges/version/epr)](https://cran.r-project.org/package=epr) --\u003e\n\u003c!-- badges: end --\u003e\n\n# Introduction\n\n`{epr}` provides Ethnic Power Relations data and associated analytical routines.\n\n# Installation\n\n```{r, eval=FALSE}\nif (!requireNamespace(\"remotes\", quietly = TRUE)) install.packages(\"remotes\")\nremotes::install_github(\"knapply/epr\")\n```\n\n\n# Usage\n\n```{r}\nlibrary(epr)\n```\n\n```{r}\nepr_df\n\nepr_status_codes_df\n```\n\n```{r}\nlibrary(data.table)\noptions(datatable.print.trunc.cols = TRUE)\n\nmerge(as.data.table(epr_df), epr_status_codes_df,\n      all.x = TRUE, by = \"status\")\n```\n\n```{r}\nlibrary(dplyr)\n\nepr_df %\u003e% \n  left_join(epr_status_codes_df)\n```\n\n\n\n\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fknapply%2Fepr","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fknapply%2Fepr","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fknapply%2Fepr/lists"}