Description Usage Arguments Examples
bq_field() and
bq_fields()create;
as_bq_field()and
as_bq_fields()'
coerce from lists.
1 2 3 4 5 6 7 | bq_field(name, type, mode = "NULLABLE", fields = list())
bq_fields(x)
as_bq_field(x)
as_bq_fields(x)
|
name |
Field name |
type |
Field type |
mode |
Field mode |
fields |
For a field of type "record", a list of sub-fields. |
x |
A list of |
1 2 3 4 5 6 7 8 9 | 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)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.