• Stars
    star
    165
  • Rank 228,906 (Top 5 %)
  • Language
    Python
  • Created about 4 years ago
  • Updated almost 4 years ago

Reviews

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

Repository Details

Generating Covid-19 Analytics Report PDFS with Python

Generate Analytics Report

Analytics Report

This repo goes along with my YouTube video "Generating an Analytics Report (PDF) in Python". In it we learn how to use the fpdf library to create a report like the one you see above.

Link to video: https://youtu.be/UmN2_R4KEg8

Setup

You'll want to download all of this code locally. The easiest way to do that is cloning the repo.

$ git clone https://github.com/KeithGalli/generate-analytics-report.git

If you have any trouble doing this, you can download the zip folder of this repo and then extract the files to a local file. Once you have all the files cloned locally, you should make sure you have all the necessary libraries installed.

$ pip install fpdf
$ pip install pandas numpy matplotlib
$ pip install plotly
$ pip install -U kaleido

If you run into an error with NumPy, changing the version to 1.19.3 fixed the issue for me

$ pip install numpy==1.19.3

To test if everything is set up properly, try running python generate_report.py. You should get a fresh report file. You'll have to change helper.py to read from the online version of the data if you want to access the previous day (uncomment the BASE_PATH URL and comment BASE_PATH='./data'). You will also have to comment out the hard coded date at the bottom of generate_report.py file. I saved it this way so not too many unneccesary requests to the GitHub server were made while testing.

More Repositories

1

pandas

Data & Code for my video on the Pandas library of Python
Jupyter Notebook
902
star
2

Pandas-Data-Science-Tasks

Set of real world data science tasks completed using the Python Pandas library
Jupyter Notebook
775
star
3

NumPy

Jupyter Notebook & Data Associated with my Tutorial video on the Python NumPy Library
Jupyter Notebook
644
star
4

matplotlib_tutorial

Source code to go along with my tutorial to learn data visualization with the matplotlib library of Python
Jupyter Notebook
280
star
5

GUI

Source Code to go along with my video on how to program a gui in python using Tkinter
Python
214
star
6

sklearn

Data & Code associated with my tutorial on the sci-kit learn machine learning library in python
Jupyter Notebook
203
star
7

Connect4-Python

Connect 4 programmed in python using pygame
Python
183
star
8

pycon2020

Natural Language Processing (NLP) in Python tutorial given for PyCon 2020 remote conference.
Jupyter Notebook
110
star
9

disney-data-science-tasks

Creation of a Disney Movie Dataset & Analysis using Python
Jupyter Notebook
87
star
10

web-scraping

Beautiful Soup web scraping tutorial
Jupyter Notebook
72
star
11

Basic-Python-Game

Source code that goes along with my video "How to program your first game! (in python)"
Python
65
star
12

neural-nets

Source code to go with my introductory video on neural nets in python
Jupyter Notebook
60
star
13

Alexa-Python

Python Files to be run from aws lambda to interact with Amazon Alexa :)
Python
38
star
14

Data-Science-Project-Ideas

Some code to go along with my video on data science project ideas
Jupyter Notebook
37
star
15

keithgalli.github.io

GitHub site where I plan to host some tutorial resources
HTML
34
star
16

Turtle-Python

Source Code from my YouTube video going over the turtle graphics library of python 3
Python
33
star
17

Data-Science-Tips

A repo where I'm going to start uploading short Python tip videos & exercises.
HTML
29
star
18

python-classes-tutorial

Code associated with my video "Everything you need to know about classes in Python": https://youtu.be/tmY6FEF8f1o
Python
25
star
19

scheduling-code

Python
24
star
20

lego-analysis

Jupyter Notebook
15
star
21

Podcast-Downloader

All code and resources for the multi-video research project we worked on studying the language used in tech.
Jupyter Notebook
13
star
22

Python-Tutorial-3

Code associated with the 3rd tutorial in my beginner python series
Python
12
star
23

TeamTrees

Visualizations of trees in Python created for the #TeamTrees movement to plant 20 million trees by 2020.
Python
12
star
24

rockpaperscissors

Source code for the two videos I did on programming rock, paper, scissors in python. First file is traditional implementation. Second file uses no if statements.
Python
11
star
25

Masterschool

Various resources that I have shared with my analytics bootcamp community
Jupyter Notebook
9
star
26

auto-publish-youtube-video

Source code that runs on Lambda to automatically publish a YouTube video when a certain subscriber count is reached
Python
8
star
27

game

Game code separated in several different parts so that we can progressively get more and more complex
Python
6
star
28

python-api-example

Python
5
star
29

MemoryAllocator

My Implementation of the C libraries memory allocation functions
C
5
star
30

colorization

Python
4
star
31

Leiserchess

Final Project for 6172 project in Fall 2015
C
4
star
32

regular-expressions

Code & text examples for my video tutorials on regular expressions (regex).
3
star
33

battlecode2015

Java
2
star