Open andrewtavis opened 1 month ago
gonna work on it!
Note that for this issue and #145 we should be using scribe_data/cli/convert.py, with the functionality going in there. If a person wants to query from Wikidata and convert the output automatically, then the functions for convert should be running in the background 😊
Terms
Description
As discussed in the 24/5/2024 GSoC sync, we'd like Scribe-Data to be able to also export other file types besides JSONs. This issue would look into the exporting of
.csv
and.tsv
files. The user would call--ouput-type csv
or--ouput-type tsv
(or.csv
/.tsv
just to be sure), and then the resulting JSON files would be converted over to.csv
/.tsv
files. To be more explicit, Scribe-Data would first export JSON files as that's the baseline output file type, and then theconvert
process would run such that these filetypes are converted over to the required filetypes. The files inOUTPUT_DIR/German/
likenouns.json
andverbs.json
would be rewritten toOUTPUT_DIR/German/nouns.csv
, etc.Contribution
@mhmohona will be working on this as a part of GSoC 2024! ☀️ Please write in here so I can assign, and let us know if there's anything we can do to support!