{"id":24319397,"url":"https://github.com/btskinner/rscorecard","last_synced_at":"2025-06-19T06:38:44.189Z","repository":{"id":42618660,"uuid":"53813602","full_name":"btskinner/rscorecard","owner":"btskinner","description":"R wrapper for U.S. Department of Education College Scorecard Data API","archived":false,"fork":false,"pushed_at":"2025-04-30T15:05:02.000Z","size":5333,"stargazers_count":26,"open_issues_count":6,"forks_count":7,"subscribers_count":6,"default_branch":"main","last_synced_at":"2025-04-30T15:38:43.205Z","etag":null,"topics":["api-wrapper","education-college-scorecard","higher-education-data","r","scorecard-data"],"latest_commit_sha":null,"homepage":"https://www.btskinner.io/rscorecard","language":"R","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"other","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/btskinner.png","metadata":{"files":{"readme":"README.Rmd","changelog":"NEWS.md","contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":"CODE_OF_CONDUCT.md","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,"zenodo":null}},"created_at":"2016-03-13T23:37:23.000Z","updated_at":"2025-04-30T14:23:30.000Z","dependencies_parsed_at":"2023-02-14T01:46:01.803Z","dependency_job_id":"990b75a2-f50e-499a-b4eb-ccb55bcb6d14","html_url":"https://github.com/btskinner/rscorecard","commit_stats":{"total_commits":154,"total_committers":5,"mean_commits":30.8,"dds":0.6363636363636364,"last_synced_commit":"dcb8eda62bb2a25f3abc458ffdf371a4463152f2"},"previous_names":[],"tags_count":44,"template":false,"template_full_name":null,"purl":"pkg:github/btskinner/rscorecard","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/btskinner%2Frscorecard","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/btskinner%2Frscorecard/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/btskinner%2Frscorecard/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/btskinner%2Frscorecard/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/btskinner","download_url":"https://codeload.github.com/btskinner/rscorecard/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/btskinner%2Frscorecard/sbom","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":260703721,"owners_count":23049447,"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":["api-wrapper","education-college-scorecard","higher-education-data","r","scorecard-data"],"created_at":"2025-01-17T15:32:55.535Z","updated_at":"2025-06-19T06:38:39.174Z","avatar_url":"https://github.com/btskinner.png","language":"R","readme":"---\ntitle: rscorecard\noutput: md_document\n---\n\n# rscorecard \u003cimg src=\"man/figures/logo.png\" align=\"right\" /\u003e\n\n```{r, include = FALSE}\noptions(width = 100)\n```\n\n[![R build\nstatus](https://github.com/btskinner/rscorecard/workflows/R-CMD-check/badge.svg)](https://github.com/btskinner/rscorecard/actions)\n[![GitHub\nrelease](https://img.shields.io/github/release/btskinner/rscorecard.svg)](https://github.com/btskinner/rscorecard)\n[![CRAN_Status_Badge](http://www.r-pkg.org/badges/version/rscorecard)](http://cran.r-project.org/package=rscorecard)\n\nThis package is an R wrapper for the [U.S. Department of Education\nCollege Scorecard](https://collegescorecard.ed.gov) API. It allows\nusers to select and filter Scorecard variables with piped commands a\nla [`dplyr`](http://github.com/hadley/dplyr).\n\n## Installation\n\nInstall the latest released version from CRAN with\n\n```r\ninstall.packages(\"rscorecard\")\n```\n\nInstall the latest development version from Github with\n\n```r\ndevtools::install_github(\"btskinner/rscorecard\")\n```\n\nThis package relies on the Scorecard data dictionary, so I will\nattempt to update it in a timely fashion whenever new Scorecard data\nare released. Because it sometimes takes a few days to get a package\non CRAN, you may want to download the developmental version in the\ndays immediately following a data update.\n\n## Usage\n\n### Set API key\n\nGet your Data.gov API key at\n[https://api.data.gov/signup/](https://api.data.gov/signup/).  Save\nyour key in your R environment at the start of your R session using\n`sc_key()`:\n\n```r\n## use your real key in place of the Xs\nsc_key('xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx')\n```\n\n### Request data\n\n```{r}\nlibrary(rscorecard)\n\ndf \u003c- sc_init() |\u003e \n    sc_filter(region == 2, ccbasic == c(21,22,23), locale == 41:43) |\u003e \n    sc_select(unitid, instnm, stabbr) |\u003e \n    sc_year(\"latest\") |\u003e \n    sc_get()\ndf\n```\n\nFor more example calls and information about other package commands,\nsee the [extended\nvignette](https://www.btskinner.io/rscorecard/articles/introduction.html).\n\n### Data dictionary\n\nTo look up information about data elements, use the `sc_dict()`\nfunction.\n\n```{r}\nsc_dict(\"control\")\n```\n\n## Further references\n\n* [College Scorecard Website](https://collegescorecard.ed.gov)\n* [Data\n  documentation](https://collegescorecard.ed.gov/assets/FullDataDocumentation.pdf)\n* [Data dictionary\n  [XLS]](https://collegescorecard.ed.gov/assets/CollegeScorecardDataDictionary.xlsx)\n* Reports\n\t* [Policy\n      paper](https://collegescorecard.ed.gov/assets/BetterInformationForBetterCollegeChoiceAndInstitutionalPerformance.pdf)\n\t* [Technical\n      paper](https://collegescorecard.ed.gov/assets/UsingFederalDataToMeasureAndImprovePerformance.pdf)\n","funding_links":[],"categories":[],"sub_categories":[],"project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fbtskinner%2Frscorecard","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fbtskinner%2Frscorecard","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fbtskinner%2Frscorecard/lists"}