powered by
Inspects an R object and produces the corresponding Avro type name
avro_type(obj)
object to inspect
a list of lists Avro schema
list
avro_type("hello") # "string" avro_type(factor("hello")) # "string" avro_type(3.14) # "double" avro_type(3) # "int"
Run the code above in your browser using DataLab