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

As a user I want to be able to upload a file and have the database be updated with clean and formatted data so that the dashboard updates automatically with new data #7

Open
jodiDL opened this issue Jul 13, 2020 · 1 comment

Comments

@jodiDL
Copy link
Collaborator

jodiDL commented Jul 13, 2020

Steps:

  • Receive file from the front-end.
  • Check that file has not been uploaded already (how will this be checked?).
  • Adapt python script to callable function that will update the database.
@RodrigoChT
Copy link
Collaborator

Python script that does this is clean_data.py. It takes 1 argument, which is the file name (file has to be in same directory as script, this can be changed once we know how the file will be sent to the script), checks if the file has already being uploaded, cleans the data, and uploads it.

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

2 participants