All Projects → btskinner → Rscorecard

btskinner / Rscorecard

Licence: other
R wrapper for U.S. Department of Education College Scorecard Data API

Programming Languages

r
7636 projects

Projects that are alternatives of or similar to Rscorecard

Crawlertutorial
爬蟲極簡教學(fetch, parse, search, multiprocessing, API)- PTT 為例
Stars: ✭ 282 (+1558.82%)
Mutual labels:  api-wrapper
Igbot
🐙 Free scripts, bots and Python API wrapper. Get free followers with our auto like, auto follow and other scripts!
Stars: ✭ 4,094 (+23982.35%)
Mutual labels:  api-wrapper
Python Poloniex
Poloniex API wrapper for Python 2.7 & 3
Stars: ✭ 557 (+3176.47%)
Mutual labels:  api-wrapper
Sodapy
Python client for the Socrata Open Data API
Stars: ✭ 312 (+1735.29%)
Mutual labels:  api-wrapper
Binance.net
.Net API wrapper for the Binance web API
Stars: ✭ 349 (+1952.94%)
Mutual labels:  api-wrapper
Pytube
A lightweight, dependency-free Python library (and command-line utility) for downloading YouTube Videos.
Stars: ✭ 4,979 (+29188.24%)
Mutual labels:  api-wrapper
Hubspot Php
HubSpot PHP API Client
Stars: ✭ 273 (+1505.88%)
Mutual labels:  api-wrapper
Pizzly
The simplest, fastest way to integrate your app with an OAuth API 😋
Stars: ✭ 796 (+4582.35%)
Mutual labels:  api-wrapper
Cuda Api Wrappers
Thin C++-flavored wrappers for the CUDA Runtime API
Stars: ✭ 362 (+2029.41%)
Mutual labels:  api-wrapper
V8 Archive
Directus Database API — Wraps Custom SQL Databases with a REST/GraphQL API
Stars: ✭ 486 (+2758.82%)
Mutual labels:  api-wrapper
Alpha vantage
A python wrapper for Alpha Vantage API for financial data.
Stars: ✭ 3,553 (+20800%)
Mutual labels:  api-wrapper
Unsplash Php
👻 Official PHP wrapper for the Unsplash API
Stars: ✭ 332 (+1852.94%)
Mutual labels:  api-wrapper
Bitex
Crypto-currency Exchange API Framework
Stars: ✭ 455 (+2576.47%)
Mutual labels:  api-wrapper
Yahooquery
Python wrapper for an unofficial Yahoo Finance API
Stars: ✭ 288 (+1594.12%)
Mutual labels:  api-wrapper
Rapid.js
An ORM-like Interface and a Router For Your API Requests
Stars: ✭ 700 (+4017.65%)
Mutual labels:  api-wrapper
Pycoingecko
Python wrapper for the CoinGecko API
Stars: ✭ 270 (+1488.24%)
Mutual labels:  api-wrapper
Bitly
A Ruby wrapper for the bit.ly API
Stars: ✭ 435 (+2458.82%)
Mutual labels:  api-wrapper
Py3 Canvaslms Api
Python 3 API wrapper for Instructure's Canvas LMS with real-world examples of use
Stars: ✭ 16 (-5.88%)
Mutual labels:  api-wrapper
Api
Native PHP Wrapper for Telegram BOT API
Stars: ✭ 714 (+4100%)
Mutual labels:  api-wrapper
Youtubekit
YoutubeKit is a video player that fully supports Youtube IFrame API and YoutubeDataAPI for easily create a Youtube app
Stars: ✭ 484 (+2747.06%)
Mutual labels:  api-wrapper

rscorecard

Build Status GitHub release CRAN_Status_Badge

This package is an R wrapper for the U.S. Department of Education College Scorecard API. It allows users to select and filter Scorecard variables with piped commands a la dplyr.

Installation

Install the latest released version from CRAN with

install.packages("rscorecard")

Install the latest development version from Github with

devtools::install_github("btskinner/rscorecard")

This package relies on the Scorecard data dictionary, so I will attempt to update it in a timely fashion whenever new Scorecard data are released. Because it sometimes takes a few days to get a package on CRAN, you may want to download the developmental version in the days immediately following a data update.

Usage

Set API key

Get your Data.gov API key at https://api.data.gov/signup/. Save your key in your R environment at the start of your R session using sc_key():

## use your real key in place of the Xs
sc_key('xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx')

Request data

library(rscorecard)

df <- sc_init() %>% 
    sc_filter(region == 2, ccbasic == c(21,22,23), locale == 41:43) %>% 
    sc_select(unitid, instnm, stabbr) %>% 
    sc_year("latest") %>% 
    sc_get()

## Request complete!

df

## # A tibble: 6 x 4
##   instnm                                                  stabbr unitid year  
##   <chr>                                                   <chr>   <int> <chr> 
## 1 SUNY Morrisville                                        NY     196051 latest
## 2 Pennsylvania State University-Penn State New Kensington PA     214625 latest
## 3 Paul Smiths College of Arts and Science                 NY     194392 latest
## 4 Houghton College                                        NY     191676 latest
## 5 Pennsylvania State University-Penn State Wilkes-Barre   PA     214643 latest
## 6 Wells College                                           NY     197230 latest

For more example calls and information about other package commands, see the extended vignette.

Data dictionary

To look up information about data elements, use the sc_dict() function.

sc_dict("control")

## 
## ---------------------------------------------------------------------
## varname: control                                        source: IPEDS
## ---------------------------------------------------------------------
## DESCRIPTION:
## 
## Control of institution
## 
## VALUES: 
## 
## 1 = Public
## 2 = Private nonprofit
## 3 = Private for-profit
## 1 = Public
## 2 = Private nonprofit
## 3 = Private for-profit
## 4 = Foreign
## 
## 
## ---------------------------------------------------------------------
## varname: schtype                                          source: FSA
## ---------------------------------------------------------------------
## DESCRIPTION:
## 
## Control of institution, per PEPS
## 
## VALUES: 
## 
## 1 = Public
## 2 = Private, Nonprofit
## 3 = Proprietary
## 
## ---------------------------------------------------------------------
## Printed information for 2 of out 2 variables.

Further references

Note that the project description data, including the texts, logos, images, and/or trademarks, for each open source project belongs to its rightful owner. If you wish to add or remove any projects, please contact us at [email protected].