create_data_schema_from_dir¶
- src.lookoutequipment.schema.create_data_schema_from_dir(root_dir)¶
Generates a data schema compatible for Lookout for Equipment from a local directory
- Parameters
root_dir (string) – a path pointing to the root directory where all the CSV files are located
- Returns
a JSON-formatted string ready to be used as a schema for a Lookout for Equipment dataset
- Return type
string