Skip to content
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

How to Override CSV File Paths Dynamically in JSON Schema for Data Curator? #1051

Open
megin1989 opened this issue Dec 4, 2024 · 0 comments

Comments

@megin1989
Copy link

I am using Data Curator to validate multiple CSV files against a predefined JSON schema. The schema includes the paths to the CSV files. However, I frequently need to update the file paths in the schema because the CSV file names or locations change often.

Problem:

  • Manually updating the path in the JSON schema for each CSV file every time the file name or location changes is time-consuming.
  • I want to automate or dynamically set the paths for the CSV files without modifying the JSON schema repeatedly.

Questions:

  1. Is there a way in Data Curator to override or dynamically set the file paths in the JSON schema when validating?
  2. Can I use relative paths, variables, or placeholders in the schema for flexibility?
  3. Are there best practices or tools to handle this scenario more efficiently?

Any advice or examples would be greatly appreciated. Thank you!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant