The goal of mis is to easily read, prep, and write MIS related workfiles.
Install it from GitHub with:
# install.packages("remotes")
remotes::install_github("christian-million/mis")
Here is an example of use:
# Attach Packages
library(mis)
# Read in the workfile with the appropriate widths.
SB <- read_workfile('path/to/CAST.SB', ded_widths$SB)
# Add characters to lengths of ded_widths and replaces NA with `width` amounts of blanks (' ')
SB <- prep_workfile(SB, ded_widths$SB)
# You can do data manipulation to SB file here
# If you don't add a filepath is will default to current directory
write_workfile(SB, filepath = "path/to/write/U59197SB.DAT")
# Write TX
# It will write a TX file that includes TX and SB records
write_tx(SB, term = 197, filepath = "U59197TX.DAT")
This package was built with the Yosemite Community College District
(YCCD) in mind, so some of the defaults (in the write_*
functions)
likely reflect YCCD - with no current way to indicate other districts.
Also, the package was built to work with Fall 2019 submission file widths. The California Community College Chancellor’s Office (CCCCO) adds elements every once in a while, which may break this packages current functionality.
If you’d like to help make this package more usable to other districts and/or maintain it along with MIS changes, please feel free to submit a pull request!
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.