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

Data base conception #2

Closed
5 tasks done
freezed opened this issue Jul 21, 2018 · 3 comments
Closed
5 tasks done

Data base conception #2

freezed opened this issue Jul 21, 2018 · 3 comments

Comments

@freezed
Copy link
Owner

freezed commented Jul 21, 2018

  • Recover [Open Food Facts][https://fr.openfoodfacts.org/data] data in CSV format [out of scope]
  • Purge unkept data [out of scope]
  • Create the physical data model
  • Create the local database
  • Simplify the PDM & DB
@freezed freezed added the TODO Get to work label Jul 21, 2018
@freezed freezed added this to To do in [Initial] - Evaluated work via automation Jul 21, 2018
@freezed freezed removed the TODO Get to work label Jul 21, 2018
@freezed freezed self-assigned this Jul 21, 2018
@freezed freezed changed the title Data reflexion Data base conception Jul 21, 2018
@freezed freezed moved this from To do to In progress in [Initial] - Evaluated work Jul 22, 2018
freezed added a commit that referenced this issue Jul 22, 2018
`sample.csv` is a small test-file based on the HUDGE OpenFF CSV file :

        head --lines=100 fr.openfoodfacts.org.products.csv > sample.csv
        tail --lines=100 fr.openfoodfacts.org.products.csv >> sample.csv

Script keep :

- `'countries_fr':'France'` tagged rows
- selected fields (see documentation)
freezed added a commit that referenced this issue Jul 24, 2018
Updates README (URL's links), move docs files in new doc folder
freezed added a commit that referenced this issue Jul 24, 2018
Updates README (URL's links), move docs files in new doc folder
freezed added a commit that referenced this issue Jul 26, 2018
Renames legacy script with DB name
@freezed
Copy link
Owner Author

freezed commented Jul 26, 2018

Done with f3421e3

@freezed freezed closed this as completed Jul 26, 2018
[Initial] - Evaluated work automation moved this from In progress to Done Jul 26, 2018
@freezed
Copy link
Owner Author

freezed commented Jul 31, 2018

Physical data model too complex, just using 2 tables (product & category).
No association tables, keep one category per product.

@freezed freezed reopened this Jul 31, 2018
[Initial] - Evaluated work automation moved this from Done to In progress Jul 31, 2018
freezed added a commit that referenced this issue Aug 2, 2018
freezed added a commit that referenced this issue Aug 2, 2018
- Adds UNIQUE KEY
- Deletes association table
- Adds product's url
@freezed
Copy link
Owner Author

freezed commented Aug 2, 2018

Closed by ae687d8

@freezed freezed closed this as completed Aug 2, 2018
[Initial] - Evaluated work automation moved this from In progress to Done Aug 2, 2018
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
Development

No branches or pull requests

1 participant