caoscrawler.scripts.generators module#
Scripts and functions to generate datamodel yaml files and cfood skeletons.
For example from actual data files.
- caoscrawler.scripts.generators.csv_to_datamodel(infile: str, outfile: str, cfood: str | None = None)#
Parse the input csv and create basic datamodel in
outfile.- Parameters:
cfood (str) – If given, also create a cfood skeleton.
- caoscrawler.scripts.generators.csv_to_datamodel_main()#
The main function for csv data handling.