Learn R Programming

aurelius (version 0.8.4)

avro_type: avro_type

Description

Inspects an R object and produces the corresponding Avro type name

Usage

avro_type(obj)

Arguments

obj

object to inspect

Value

a list of lists Avro schema

Examples

Run this code
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