create_data_schema_from_s3_path¶
- src.lookoutequipment.schema.create_data_schema_from_s3_path(s3_path)¶
Generates a data schema compatible for Lookout for Equipment from an S3 directory
- Parameters
s3_path (string) – a path pointing to the root directory on S3 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