rs_demographics: Determine the demographic breakout of RS by High School

Description Usage Arguments Value Examples

View source: R/rs_demographics.R

Description

Determine the demographic breakout of Running Start Students by High School

Usage

1
rs_demographics(data, demographic = NULL, high_school_name = "")

Arguments

data

The student table saved as an object

demographic

Choose which demographic (sex or race/ethnicity) to breakout by.

high_school_name

You can write out the entire name of the high school or match based on given name.

Value

Returns a tibble where each high school in a given year is broken out by the demographic choosen.

Examples

1
2
3
4
5
6
7
8
9
## Not run: 

 rs_demographics(student_tbl, demographic = 'sex', high_school_name = 'Moses Lake')

 student_tbl %>%
   rs_demographic(demographic = 'race_ethnic_code')


## End(Not run)

Edgar-Zamora/bbccIR documentation built on Feb. 3, 2022, 11:06 a.m.