get_dewey_decimal_subject_class("709.05") # Arts
get_dewey_decimal_subject_class("823.912")
# Literature (Belles-lettres) and rhetoric
# vectorized
get_dewey_decimal_subject_class(c("709.05", "invalid", NA, "823.912"))
# c("Arts", NA, NA, "Literature (Belles-lettres) and rhetoric")
Run the code above in your browser using DataLab