clean_dw_transcript: Clean DW Transcript Table

Description Usage Arguments Value Examples

View source: R/clean_dw_transcript.R

Description

Used to clean the transcript table by removing non-credit course, community courses, or any other not applicable courses.

Usage

1

Arguments

data

Name of R object that contains the TRANSCRIPT data.

Value

A dataframe with a cleaned transcript table

Examples

 1
 2
 3
 4
 5
 6
 7
 8
 9
10
11
12
13
14
15
16
17
18
19
20
library(tibble)
library(magrittr)

df <- tibble(
        dept_div = c("NSO", "DVS", "CHEM&", "ENGL", "BDC"),
        course_num = c("100", "098", "121", "099", "121"),
        cr = c(NA, NA, 5, 5, 2),
        item = c("XOXO", "1", "2", "3", "4"),
        sect = c("A#P", "HY", "OL1", NA, "OL3"),
        class_size = c(500, 20, 25, 25, 25)
        )

 df


# Piping clean_dw_transcripts will return those courses that should
# be excluded from course success.

 df %>%
   clean_dw_transcript()

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