Description Usage Format Details Source Examples
List of all courses at UCLA during Fall 2018.
1 | data("ucla_f18")
|
A data frame with 3950 observations on the following 14 variables.
yearYear the course was offered.
termTerm the course was offered.
subjectSubject.
subject_abbrSubject abbreviation, if any.
courseCourse name.
course_numCourse number, complete.
course_numericCourse number, numeric only.
seminarBoolean for if this is a seminar course.
ind_studyBoolean for if this is some form of independent study.
apprenticeshipBoolean for if this is an apprenticeship.
internshipBoolean for if this is an internship.
honors_contractsBoolean for if this is an honors contracts course.
laboratoryBoolean for if this is a lab.
special_topicBoolean for if this is any of the special types of courses listed.
Data was retrieved November 22nd, 2018.
https://sa.ucla.edu/ro/public/soc
1 2 3 4 5 6 7 8 9 10 11 12 13 14 | nrow(ucla_f18)
table(ucla_f18$special_topic)
subset(ucla_f18, is.na(course_numeric))
table(subset(ucla_f18, !special_topic)$course_numeric < 100)
elig_courses <-
subset(ucla_f18, !special_topic & course_numeric < 100)
set.seed(1)
ucla_textbooks_f18 <-
elig_courses[sample(nrow(elig_courses), 100), ]
tmp <- order(ucla_textbooks_f18$subject,
ucla_textbooks_f18$course_numeric)
ucla_textbooks_f18 <- ucla_textbooks_f18[tmp, ]
rownames(ucla_textbooks_f18) <- NULL
head(ucla_textbooks_f18)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.