Learn R Programming

aurelius (version 0.8.4)

avro_record: avro_record

Description

Constructs a list of lists Avro schema for the record type.

Usage

avro_record(fields, name = NULL, namespace = NULL)

Arguments

fields

named list of field names and schemas

name

required name (if missing, gen_unique_rec_name is invoked)

namespace

optional namespace

Examples

Run this code
avro_record(list(one = avro_int, two = avro_double, three = avro_string))

Run the code above in your browser using DataLab