Extracts the professor's ID and combines it with general information.
get_tid(name, department = NULL, university)
A character value of the professor's full name (required).
A character value of the professor's department (optional).
A character value of the professor's university (required).
A tibble of the professor's ID and the general information with 4 columns
tID - ID of the professor
name - Full name of the professor
department - The department of the professor
university - The university of the professor
name <- "Brakor"
department <- "Biology"
university <- "California Berkeley"
get_tid(name = name, university = university)
#> # A tibble: 1 x 4
#> tID name department university
#> <dbl> <chr> <chr> <chr>
#> 1 1031282 Katie Brakora Biology department University of California Berkeley
get_tid(name = name, department = department, university = university)
#> # A tibble: 1 x 4
#> tID name department university
#> <dbl> <chr> <chr> <chr>
#> 1 1031282 Katie Brakora Biology department University of California Berkeley