Extracts URL by the name, department, and university of the professor.

get_url(name, department = NULL, university = NULL)

Arguments

name

A character value of the professor's full name (required).

department

A character value of the professor's department (optional).

university

A character value of the professor's university (required).

Value

A vector of URL(s)

Examples

name <- "Brakor"
department <- "Biology"
university <- "California Berkeley"
get_url(name = name, university = university)
#> [1] "https://www.ratemyprofessors.com/ShowRatings.jsp?tid=1031282"
get_url(name = name, department = department, university = university)
#> [1] "https://www.ratemyprofessors.com/ShowRatings.jsp?tid=1031282"