geeViz.eeCatalogHelpers.table_metadata¶
Table schema inference from CSV files.
Functions
|
Build a Jsonnet-ready |
|
Infer a table field type from all populated CSV values. |
- geeViz.eeCatalogHelpers.table_metadata.infer_table_field_type(values: Iterable[str]) str[source]¶
Infer a table field type from all populated CSV values.
- geeViz.eeCatalogHelpers.table_metadata.build_table_schema_from_csv(csv_path: Path, field_descriptions: Mapping[str, str], *, type_overrides: Mapping[str, str] | None = None) list[dict[str, object]][source]¶
Build a Jsonnet-ready
gee:schemafrom a CSV table.Descriptions are required for every CSV field. Type overrides accept
int,double, andstring; other fields are inferred from all populated CSV values.