• Stars
    star
    302
  • Rank 138,030 (Top 3 %)
  • Language
    Python
  • Created over 2 years ago
  • Updated 3 months ago

Reviews

There are no reviews yet. Be the first to send feedback to the community and the maintainers!

Repository Details

Reddit ETL Pipeline

A data pipeline to extract Reddit data from r/dataengineering.

Output is a Google Data Studio report, providing insight into the Data Engineering official subreddit.

Motivation

Project was based on an interest in Data Engineering and the types of Q&A found on the official subreddit.

It also provided a good opportunity to develop skills and experience in a range of tools. As such, project is more complex than required, utilising dbt, airflow, docker and cloud based storage.

Architecture

  1. Extract data using Reddit API
  2. Load into AWS S3
  3. Copy into AWS Redshift
  4. Transform using dbt
  5. Create PowerBI or Google Data Studio Dashboard
  6. Orchestrate with Airflow in Docker
  7. Create AWS resources with Terraform

Output

  • Final output from Google Data Studio. Link here. Note that Dashboard is reading from a static CSV output from Redshift. Redshift database was deleted so as not to incur cost.

Setup

Follow below steps to setup pipeline. I've tried to explain steps where I can. Feel free to make improvements/changes.

NOTE: This was developed using an M1 Macbook Pro. If you're on Windows or Linux, you may need to amend certain components if issues are encountered.

As AWS offer a free tier, this shouldn't cost you anything unless you amend the pipeline to extract large amounts of data, or keep infrastructure running for 2+ months. However, please check AWS free tier limits, as this may change.

First clone the repository into your home directory and follow the steps.

git clone https://github.com/ABZ-Aaron/Reddit-API-Pipeline.git
cd Reddit-API-Pipeline
  1. Overview
  2. Reddit API Configuration
  3. AWS Account
  4. Infrastructure with Terraform
  5. Configuration Details
  6. Docker & Airflow
  7. dbt
  8. Dashboard
  9. Final Notes & Termination
  10. Improvements

More Repositories

1

CheatSheets

Just a place to store cheatsheets
1,711
star
2

SQL-Tutorials

Some SQL tutorials I've been creating and posting to Twitter
178
star
3

DataEngineerZoomCamp

I'm partaking in a Data Engineering Bootcamp / Zoomcamp. I'll store files and progress here.
Jupyter Notebook
95
star
4

Abz-Aaron

9
star
5

CoinCap-API-Pipeline

A simple pipeline utilising cron, Postgres, AWS EC2, and Metabase
Python
8
star
6

Portfolio

This contains a list of projects that make up part of my portfolio. Enjoy!
7
star
7

Reddit-API-Pipeline-DBT

Working with DBT to transform Reddit API data
4
star
8

SQL-Leetcode

A repository where I'll store my solutions for SQL Leetcode Problems.
4
star
9

AirflowOverview

Notes taken for an Airflow Udemy Course
3
star
10

DataQuestDE

This contains a collection of projects completed as part of the Data Engineering DataQuest course.
Jupyter Notebook
3
star
11

ASCII

Python
2
star
12

WebScraper-Keywords

Just a (very) simple web scraper using Beautiful Soup to scrap SQL keywords
Python
2
star
13

Databricks-Notes

Some notes taken during my Databricks learning.
1
star
14

DataMining-Lab1

This is just a lab completed as part of a Data Mining module
HTML
1
star
15

AnalysisWorkflow

Just a basic script on how to run an analysis with R
HTML
1
star
16

DirectoryTreeUtility

A small utility for generating a directory tree and saving to Excel with formatting
Python
1
star
17

MediaApp

Python
1
star
18

FileSearch

Python
1
star
19

Microblog

This is a Flask App I am creating as part of a mega-tutorial.
Roff
1
star
20

GameOfLife

Python
1
star
21

DQ-Forest-Fires

Just a short Data Quest project exploring Forest Fires with Ggplot
HTML
1
star
22

Experiment

This is Stroop Experiment, completed as part of my master's degree
Python
1
star
23

DQ-BookSales

Just a short project covering some basic R concepts
1
star
24

PythonDSA

This is work I'm doing as part of a Data Structures & Algorithms course.
Python
1
star
25

DQ-Covid-R

Basic Covid-19 Analysis with R
HTML
1
star
26

DQ-NYC-Schools

Just a short Data Quest project working with R
HTML
1
star
27

DockerOverview

Notes on Docker from a YouTube tutorial
1
star
28

TwitterTips

A place to store some tips that I share on Twitter
1
star
29

StarlingFinance

Project to extract banking data
Python
1
star