Skip to content

Instantly share code, notes, and snippets.

Avatar
👩‍💻
Coding

Benjamin benjaminadk

👩‍💻
Coding
View GitHub Profile
View total-cases-by-date.csv
1/22/2020 1/23/2020 1/24/2020 1/25/2020 1/26/2020 1/27/2020 1/28/2020 1/29/2020 1/30/2020 1/31/2020 2/1/2020 2/2/2020 2/3/2020 2/4/2020 2/5/2020 2/6/2020 2/7/2020 2/8/2020 2/9/2020 2/10/2020 2/11/2020 2/12/2020 2/13/2020 2/14/2020 2/15/2020 2/16/2020 2/17/2020 2/18/2020 2/19/2020 2/20/2020 2/21/2020 2/22/2020 2/23/2020 2/24/2020 2/25/2020 2/26/2020 2/27/2020 2/28/2020 2/29/2020 3/1/2020 3/2/2020 3/3/2020 3/4/2020 3/5/2020 3/6/2020 3/7/2020 3/8/2020 3/9/2020 3/10/2020 3/11/2020 3/12/2020 3/13/2020 3/14/2020 3/15/2020 3/16/2020 3/17/2020 3/18/2020 3/19/2020 3/20/2020 3/21/2020 3/22/2020 3/23/2020 3/24/2020 3/25/2020 3/26/2020 3/27/2020 3/28/2020 3/29/2020 3/30/2020 3/31/2020 4/1/2020 4/2/2020 4/3/2020 4/4/2020 4/5/2020 4/6/2020 4/7/2020 4/8/2020 4/9/2020 4/10/2020 4/11/2020 4/12/2020 4/13/2020 4/14/2020 4/15/2020 4/16/2020 4/17/2020 4/18/2020 4/19/2020 4/20/2020 4/21/2020 4/22/2020 4/23/2020 4/24/2020 4/25/2020 4/26/2020 4/27/2020 4/28/2020 4/29/2020 4/30/2020 5/1/2020 5/2/2020 5/3/2020 5/4/2020 5/5/2020 5/6/20
View covid-cases-by-county.csv
fips county state cases
01001 Autauga Alabama 988
01003 Baldwin Alabama 3095
01005 Barbour Alabama 554
01007 Bibb Alabama 360
01009 Blount Alabama 704
01011 Bullock Alabama 436
01013 Butler Alabama 743
01015 Calhoun Alabama 1438
01017 Chambers Alabama 807
View total-deaths-by-age-group.csv
group deaths
Under 1 year 8072
1-4 years 1547
5-14 years 2379
15-24 years 14810
25-34 years 30885
35-44 years 43783
45-54 years 81840
55-64 years 189744
65-74 years 288848
View covid-deaths-by-age-20200724.csv
group deaths
Under 1 year 11
1-4 years 9
5-14 years 16
15-24 years 190
25-34 years 935
35-44 years 2411
45-54 years 6566
55-64 years 15880
65-74 years 27167
@benjaminadk
benjaminadk / screenshooter.js
Last active Jun 22, 2020
Simple Puppeteer Screenshot Application
View screenshooter.js
const puppeteer = require("puppeteer")
const path = require("path")
const DIRECTORY = "https://ladesignconcepts.com/shop-by-brand/"
const main = async (device) => {
const browser = await puppeteer.launch()
try {
View covid-death.json
[{"update key":"04272304","testing":"187707","ts":"5\/24\/20","country":"US","prevcases":"14117","hospitalizations":"1619","county":null,"note":null,"deaths":"551","fipscode":"01","level":"state","time":"11:45 P.M. (ET)","cases":"14478","recoveries":"7951","prevdeaths":"549","state":"Alabama"},{"update key":null,"testing":null,"ts":"5\/24\/20","country":"US","prevcases":"155","hospitalizations":null,"county":"Autauga County","note":null,"deaths":"3","fipscode":"01001","level":"county","time":null,"cases":"159","recoveries":null,"prevdeaths":"3","state":"Alabama"},{"update key":null,"testing":null,"ts":"5\/24\/20","country":"US","prevcases":"273","hospitalizations":null,"county":"Baldwin County","note":null,"deaths":"9","fipscode":"01003","level":"county","time":null,"cases":"274","recoveries":null,"prevdeaths":"9","state":"Alabama"},{"update key":null,"testing":null,"ts":"5\/24\/20","country":"US","prevcases":"105","hospitalizations":null,"county":"Barbour County","note":null,"deaths":"1","fipscode":"01005","
View covid-deaths-by-age.csv
group deaths
Under 1 year 3
1-4 years 2
5-14 years 7
15-24 years 76
25-34 years 463
35-44 years 1186
45-54 years 3338
55-64 years 8312
65-74 years 14447
@benjaminadk
benjaminadk / blogpost.php
Last active Feb 28, 2020
BlogPosting Schema PHP
View blogpost.php
<?php
function is_blog() {
return (is_archive() || is_author() || is_category() || is_home() || is_single() || is_tag() && 'post' == get_post_type());
}
?>
<?php if (is_blog()) :
$tags = get_tags();
$keywords = '';
@benjaminadk
benjaminadk / schumacher.json
Created Jan 5, 2020
schumacher scrape 20200104
View schumacher.json
This file has been truncated, but you can view the full file.
You can’t perform that action at this time.