Closed IsaacMilarky closed 2 months ago
@IsaacMilarky As for frontend integration, I added a dropdown component where the user can select what file format they'd like to have the results data in with the 7 options provided in the backend. I tested it and the results file is created accordingly + downloads successfully into user's local machine. LGTM!
Allow User to Set the File Format of Result Data
Problem
Currently the script only outputs a static output file, "deduped_record_mapping.xlsx", in the directory that is passed into the CLI.
Solution
Change the usage of the CLI to make the user determine the file format of the output along with the filename.
Result
The usage of the CLI will change slightly from accepting a directory to place the output to accepting a file to place the output with dynamic determination of the format of the file. Most file formats supported by pandas are included.
There will also need to be some integration with the front-end to make this change work.