powered by
bq_field() and bq_fields() create; as_bq_field() and as_bq_fields() coerce from lists.
bq_field()
bq_fields()
as_bq_field()
as_bq_fields()
bq_field(name, type, mode = "NULLABLE", fields = list(), description = NULL)bq_fields(x)as_bq_field(x)as_bq_fields(x)
bq_fields(x)
as_bq_field(x)
as_bq_fields(x)
Field name
Field type
Field mode
For a field of type "record", a list of sub-fields.
Field description
A list of bg_fields
bg_fields
bq_field("name", "string") as_bq_fields(list( list(name = "name", type = "string"), bq_field("age", "integer") )) # as_bq_fields() can also take a data frame as_bq_fields(mtcars)
Run the code above in your browser using DataLab