-
Notifications
You must be signed in to change notification settings - Fork 32
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Missing schema in example #24
Comments
You don't need a schema, hone will automatically generate one for you by looking at the column names and performing splits based on delimiting characters. The example shows that you can provide your own schema if you like, but it's entirely optional. That means you can completely remove the schema portion of the code: As a module:
Or using the CLI:
Let me know if you have any further questions! |
Thanks for your help. And I'm trying to ouput : with a child level each time. Something recursive... |
In your example CSV, could you clarify what each row means? Is it |
Hi hone, I have a question. How can I define my own schema to what I want? |
Hi, I'm new to json files, and I just got my own schema.json file for the format I need. Could you advise how I can use the schema file in the command line? Also, please let me know if I should start a new issue. |
Hi @angela-wu1116, did you get working with your own schema file? I'd like some help in working with a schema I have setup cc @chamkank |
Hi everyone, apologies for the late response. If you don't want hone to generate a schema for your automatically, and want to use your own schema, here's how you would write your own schema. For the sake of this example, let's look at the schema that hone uses to convert example_a.csv to example_a.json. To see what schema hone automatically generates and uses for the conversion, use
You can modify this schema to your liking, and then pass it into the
Please let me know if there are any further questions. |
Hi,
Maybe I missed something but I assume some specific shemas are need for transformation, specialy with nested elements.
The text was updated successfully, but these errors were encountered: