enrollment.data.update | R Documentation |
Returns a data frame and saves to a file of current enrollment data from the UW-Madison UW.STDNT_CRSE_ROSTER_MULTITERM.
enrollment.data.update(TERM, INFOACCESScon, FILE)
TERM |
Char SIS term |
INFOACCESScon |
DBI connection to UW-Madison InfoAccess |
FILE |
csv file path with an existing data to be updated. Defaults to enrollment.csv in the current working directory. If no file exists it creates one. |
This function queries the course enrollment information for a specified term found in the UW.STDNT_CRSE_ROSTER_MULTITERM directory. It will update an existing data file with past enrollment information to create a time-stamped enrollment file. It also returns the data frame that is output to the csv file.
INFOACCESScon <- DBI::dbConnect(odbc::odbc(), "INFOACCESS", uid="usr", pwd="password") enrollment.data.update("1232", INFOACCESScon) enrollment.data.update("1232", INFOACCESScon, "C:\R_Projects\Enrollment_Tracking\CourseEnrollments1232.csv") enrollment <- enrollment.data.update("1232", INFOACCESScon, "C:\R_Projects\Enrollment_Tracking\CourseEnrollments1232.csv")
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.