Giter Site home page Giter Site logo

data-engineer-interview's Introduction

data-engineer-interview

Giving Tuesday Data Engineer Technical Interview Exercise

The goal of this exercise is to aggregate some raw volunteering data from 3 different providers into a single dataset by implementing an ETL pipeline.

You have been given a Jupyter notebook notebooks/Volunteer Data Cleaning.ipynb which already implements a pipeline but you should find ways to improve upon that implementation by refactoring the code into Python modules.

Here are the requirements:

  • The source data for your pipeline are the CSV files in data_lake/raw/2023/05
  • The destination for your aggregated data should be data_lake/curated/2023/05/aggregated_volunteering_data.csv
  • The following command must be able to run the pipeline:
poetry run python -m etl.volunteering.aggregate_data
  • You must implement the entrypoint function in etl.volunteering.aggregate_data
  • You must use the Task class in etl.common at least once
  • You cannot make changes to the Task class in etl.common
  • You should include at least one test for your pipeline in tests

Poetry and Useful Commands

This repo uses Poetry for dependency management.

Here are some commands you may need to know:

poetry install: Installs project dependencies (defined in pyproject.toml)

poetry add <package name>: Adds package to project dependencies and installs it into the project's virtual environment

poetry run python <path to your script> or poetry run python -m <module name>: Runs your script in the virtual environment

poetry run python -m pytest: Runs tests in the virtual environment

poetry shell and exit: Activates virtual environment in a new shell

data-engineer-interview's People

Contributors

phoolish-philomath avatar

Stargazers

trijuhari avatar

Watchers

Darren Clarke avatar  avatar Ben Cipollini avatar Parsa Torabian avatar  avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.