create_dummy_data_ef1: Create dummy data for testing the fall enrollment functions

View source: R/create_dummy_data_ef1.R

create_dummy_data_ef1R Documentation

Create dummy data for testing the fall enrollment functions

Description

Creates students and retention dataframes for use in parts A, B, C, D, E, and G. Student-faculty ratio (part G) will ask for a number when the function is run and does not need to exist here. To create both dataframes, run the function twice with different arguments, and save results into separate objects.

Usage

create_dummy_data_ef1(df_type = "students", n = 100)

Arguments

df_type

A string with the dummy data requested ("students" for parts A-D & G or "retention" for part E)

n

A number

Value

A text file

Examples

set.seed(1234)

#default creates 100 students
students <- create_dummy_data_ef1()

#change the dataframe
retention <- create_dummy_data_ef1(df_type = "retention")

#change the population size
more_students <- create_dummy_data_ef1(df_type = "students", n = 250)


AlisonLanski/IPEDSuploadables documentation built on Dec. 12, 2022, 5:06 a.m.