Now you can request additional data and/or customized columns!
Try It Now! Certified
Files | Size | Format | Created | Updated | License | Source |
---|---|---|---|---|---|---|
4 | 209kB | csv zip | 5 years ago | 5 years ago |
Download files in this dataset
File | Description | Size | Last changed | Download |
---|---|---|---|---|
freshmen-survey | Survey of Full-Time Freshmen by Institutional Type | 74kB | csv (74kB) , json (438kB) | |
institutions | Institutions Participating in the 2014 CIRP Freshman Survey | 17kB | csv (17kB) , json (53kB) | |
standard-errors | Estimated Standard Errors of Percentages for Comparison Groups of Various Sizes | 1kB | csv (1kB) , json (3kB) | |
cirp-survey-of-freshmen_zip | Compressed versions of dataset. Includes normalized CSV and JSON data with original data and datapackage.json. | 120kB | zip (120kB) |
Signup to Premium Service for additional or customised data - Get Started
This is a preview version. There might be more data in the original version.
Field Name | Order | Type (Format) | Description |
---|---|---|---|
Survey | 1 | string (default) | |
All Bacc Institutions | 2 | number (default) | |
4-yr Coll(Baccalaureate Institutions) | 3 | number (default) | |
Universities(Baccalaureate Institutions) | 4 | number (default) | |
Public 4-year Colleges | 5 | number (default) | |
Private 4-year Colleges | 6 | number (default) | |
Nonsec 4-year Colleges | 7 | number (default) | |
Catholic 4-year Colleges | 8 | number (default) | |
Oth Relig 4-year Colleges | 9 | number (default) | |
Public Universities | 10 | number (default) | |
Private Universities | 11 | number (default) | |
All HBCU | 12 | number (default) | |
Public HBCU | 13 | number (default) | |
Private HBCU | 14 | number (default) |
Signup to Premium Service for additional or customised data - Get Started
This is a preview version. There might be more data in the original version.
Field Name | Order | Type (Format) | Description |
---|---|---|---|
ACE | 1 | any (default) | |
Institution | 2 | string (default) | |
City | 3 | string (default) | |
State | 4 | string (default) | |
Stratification Cell | 5 | string (default) | |
Included in National Norms | 6 | string (default) |
Signup to Premium Service for additional or customised data - Get Started
This is a preview version. There might be more data in the original version.
Field Name | Order | Type (Format) | Description |
---|---|---|---|
Unweighted size of comparison groups | 1 | integer (default) | |
1% | 2 | number (default) | |
5% | 3 | number (default) | |
10% | 4 | number (default) | |
15% | 5 | number (default) | |
20% | 6 | number (default) | |
25% | 7 | number (default) | |
30% | 8 | number (default) | |
35% | 9 | number (default) | |
40% | 10 | number (default) | |
45% | 11 | number (default) | |
50% | 12 | number (default) |
Use our data-cli tool designed for data wranglers:
data get https://datahub.io/core/cirp-survey-of-freshmen
data info core/cirp-survey-of-freshmen
tree core/cirp-survey-of-freshmen
# Get a list of dataset's resources
curl -L -s https://datahub.io/core/cirp-survey-of-freshmen/datapackage.json | grep path
# Get resources
curl -L https://datahub.io/core/cirp-survey-of-freshmen/r/0.csv
curl -L https://datahub.io/core/cirp-survey-of-freshmen/r/1.csv
curl -L https://datahub.io/core/cirp-survey-of-freshmen/r/2.csv
curl -L https://datahub.io/core/cirp-survey-of-freshmen/r/3.zip
If you are using R here's how to get the data you want quickly loaded:
install.packages("jsonlite", repos="https://cran.rstudio.com/")
library("jsonlite")
json_file <- 'https://datahub.io/core/cirp-survey-of-freshmen/datapackage.json'
json_data <- fromJSON(paste(readLines(json_file), collapse=""))
# get list of all resources:
print(json_data$resources$name)
# print all tabular data(if exists any)
for(i in 1:length(json_data$resources$datahub$type)){
if(json_data$resources$datahub$type[i]=='derived/csv'){
path_to_file = json_data$resources$path[i]
data <- read.csv(url(path_to_file))
print(data)
}
}
Note: You might need to run the script with root permissions if you are running on Linux machine
Install the Frictionless Data data package library and the pandas itself:
pip install datapackage
pip install pandas
Now you can use the datapackage in the Pandas:
import datapackage
import pandas as pd
data_url = 'https://datahub.io/core/cirp-survey-of-freshmen/datapackage.json'
# to load Data Package into storage
package = datapackage.Package(data_url)
# to load only tabular data
resources = package.resources
for resource in resources:
if resource.tabular:
data = pd.read_csv(resource.descriptor['path'])
print (data)
For Python, first install the `datapackage` library (all the datasets on DataHub are Data Packages):
pip install datapackage
To get Data Package into your Python environment, run following code:
from datapackage import Package
package = Package('https://datahub.io/core/cirp-survey-of-freshmen/datapackage.json')
# print list of all resources:
print(package.resource_names)
# print processed tabular data (if exists any)
for resource in package.resources:
if resource.descriptor['datahub']['type'] == 'derived/csv':
print(resource.read())
If you are using JavaScript, please, follow instructions below:
Install data.js
module using npm
:
$ npm install data.js
Once the package is installed, use the following code snippet:
const {Dataset} = require('data.js')
const path = 'https://datahub.io/core/cirp-survey-of-freshmen/datapackage.json'
// We're using self-invoking function here as we want to use async-await syntax:
;(async () => {
const dataset = await Dataset.load(path)
// get list of all resources:
for (const id in dataset.resources) {
console.log(dataset.resources[id]._descriptor.name)
}
// get all tabular data(if exists any)
for (const id in dataset.resources) {
if (dataset.resources[id]._descriptor.format === "csv") {
const file = dataset.resources[id]
// Get a raw stream
const stream = await file.stream()
// entire file as a buffer (be careful with large files!)
const buffer = await file.buffer
// print data
stream.pipe(process.stdout)
}
}
})()
CIRP survey of the american freshmen conducted in 2014. Contains student’s opinions on various matters as well as information about institutions participating in a survey.
Data comes from The Cooperative Institutional Research Program (CIRP) administered by the Higher Education Research Institute at UCLA https://www.heri.ucla.edu/monographs/TheAmericanFreshman2014.pdf
It consists of several types of information:
freshmen_survey.csv
institutions.csv
standard_errors.csv
The script works with python 3. To install required modules run
pip install -r scripts/requirements.txt
Also make note that java must also be installed on the system. To get the final data, use script process.py to extract resources from the file TheAmericanFreshman2014.pdf. The script splits the document into pages and parses tables which are then merged into three resources.
to get freshmen_survey.csv, institutions.csv, standard_errors.csv
scripts/process.py
Public Domain Dedication and License (PDDL)
Notifications of data updates and schema changes
Warranty / guaranteed updates
Workflow integration (e.g. Python packages, NPM packages)
Customized data (e.g. you need different or additional data)
Or suggest your own feature from the link below