Skip to content
This repository has been archived by the owner on Sep 17, 2020. It is now read-only.

Latest commit

 

History

History
34 lines (25 loc) · 1.15 KB

README.md

File metadata and controls

34 lines (25 loc) · 1.15 KB

Udacity: Log analysis

Advise: This repo contains a 129 MB large SQL dump!

This repo is part of Udacity's nd004 course.

CLI report script to analyse an SQL dump and print a simple report on the command line.

Kudos

What

  • Script answers 3 questions based on SQL dump in data/newsdata.sql:
    • What are the 3 most popular articles?
    • Who are the most popular authors?
    • Which days have a higher error than 1%?
  • Reporting script in src/report.py
  • Queries in src/queries.py
  • Example report in report.txt
  • Materialised views in data/views.sql
    • Cronjobs can update materialised views in regular intervals
    • Views not appropriate since tables do not have to be updated instantaneously all the time

How