The flow should be able to submit data to a competition.
I believe the API requires a flat-file to be submitted
Previous developer does have initial competition submit code, but I have not tested it
If we can have the user run something like kgl_flow_submit(predictions) and have it saved to a folder, _kaggle_data/submissions that would be gnarly
Maybe we can store the user submissions in a programmatic way? Perhaps the name of the dataset in R, or, have an optional field "submission name" that defaults to the name of the r dataset. Perhaps always add a _01 suffix
If a user submits the same name dataset we would have to save it with an incrementing number
example: my_submission_02
Before submitting, check user-generated predictions against the given sample submission to make sure the column structure is correct to avoid errors on Kaggle
With the new directory, _kaggle_data/submissions/ we need to make sure the previous Kaggle Flow functions do not error when scanning for all files
The flow should be able to submit data to a competition.
kgl_flow_submit(predictions)
and have it saved to a folder,_kaggle_data/submissions
that would be gnarly_01
suffixmy_submission_02
_kaggle_data/submissions/
we need to make sure the previous Kaggle Flow functions do not error when scanning for all files