Learn R Programming

rscorecard (version 0.2.4)

sc_get: Get scorecard data.

Description

This function gets the College Scorecard data by compiling and converting all the previous piped output into a single URL string that is used to get the data.

Usage

sc_get(sccall, api_key)

Arguments

sccall
Current list of parameters carried forward from prior functions in the chain (ignore)
api_key
Personal API key requested from https://api.data.gov/signup stored in a string. If you first set your key using sc_key, then you may omit this parameter. A key set here will take precedence over any set in the environment (DATAGOV_

Obtain a key

To obtain an API key, visit https://api.data.gov/signup

Examples

Run this code
sc_get('<API KEY IN STRING>')
key <- '<API KEY IN STRING>'
sc_get(key)

Run the code above in your browser using DataLab