Arrow does not provide a method for class on it's variables. This function prints out the schema and captures the appropriate output.

get_class(ds, variable)

Arguments

ds

An arrow dataset

variable

A string identifying the variable