# First position in the classification hierarchy
aya_class("9020", "C50.1", "3", method = "Barr 2020", depth = 1)
# Second position in the classification hierarchy
aya_class("9020", "C50.1", "3", method = "Barr 2020", depth = 2)
# Third position in the classification hierarchy
aya_class(9020, "C50.1", "3", method = "Barr 2020", depth = 3)
Run the code above in your browser using DataLab