mirror of
https://codeberg.org/le-phoenix/rio-tinto.git
synced 2026-03-31 14:58:20 -04:00
This is my solution to the Graduate Data Engineer Technical Challenge.
- Python 78%
- Shell 22%
| challenge | ||
| bonus.sh | ||
| graduate_BI_data_engineer_challenge.pdf | ||
| logical-data-model.pdf | ||
| README.md | ||
rio-tinto
Challenge
In the terminal, navigate to the challenge directory and run the following commands:
- Run Python file:
python3 rio-tinto.py
- Start MySQL Server:
mysql.server start
- Launch MySQL CLI:
mysql --local-infile=1 -u root
- Store data in table with schema.sql and seed.sql:
source schema.sql;
source seed.sql;
- Select data from table (see screenshot of output below):
select * from ship;
- Exit MySQL CLI:
exit;
- Stop MySQL Server:
mysql.server stop
Screenshot
Here is a screenshot of the MySQL table with imported enriched.csv data:
Bonus
The solution to the bonus question can be found here: bonus.sh.
Business Case Scenario
The solution to the business case scenario can be found here: logical-data-model.pdf.
