codeName already exists.
If the dataset already exists, Tilebox applies the same schema update rules as a direct update. New fields can be added to non-empty datasets. Breaking schema changes are only allowed for empty datasets.
Parameters
The dataset kind.
The stable code identifier for the dataset.
The display name of the dataset.
The custom fields in the dataset schema.
Options for dataset metadata.
Options
datasets.WithSummary(summary string)
Set a short dataset summary.
datasets.WithDescription(description string)
Set the dataset’s markdown description.
Dataset kinds
A dataset that contains timestamp, ID, and ingestion time fields.
A dataset that contains timestamp, ID, ingestion time, and geometry fields.
Field types
A string field
A bytes field
A boolean field
A 64-bit signed integer field
A 64-bit unsigned integer field
A 64-bit floating-point number field
A duration field
A timestamp field
A UUID field
A geometry field
Field options
Repeated()
Indicate that the field is an array
Description(description string)
Set the description of the field to provide more context and details about the data
ExampleValue(exampleValue string)
Set the example value of the field for documentation purposes