This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
import geopandas as gpd | |
import requests | |
from bs4 import BeautifulSoup as bs | |
import pandas as pd | |
import matplotlib.pyplot as plt | |
def main(): | |
# https://dk.okfn.org/index.html%3Fp=212.html |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# Tommy Carstensen, March 2020 | |
import argparse | |
from datetime import datetime | |
import pandas as pd | |
import geopandas as gpd | |
import numpy as np | |
import math | |
import matplotlib.pyplot as plt | |
from matplotlib.colors import Normalize |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
from datetime import datetime | |
from scipy.optimize import curve_fit | |
import matplotlib.pyplot as plt | |
import numpy as np | |
import pandas as pd | |
import argparse | |
import os | |
import requests | |
import random |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
from datetime import datetime | |
from scipy.optimize import curve_fit | |
import matplotlib.pyplot as plt | |
import numpy as np | |
# Data acquired from: | |
# https://covid19info.live/ | |
d = { | |
'Europe': ''' | |
2020-01-23 0 |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/usr/bin/env python | |
# Copyright (C) 2019, Tommy Carstensen | |
# https://brittanygervin.com/projects/stem-changing-spanish-verbs-flowchart/ | |
# https://2.bp.blogspot.com/-Y8Y7cyZEpzs/WuLmoDZhvYI/AAAAAAAAPDs/GAAtM_6zA5EwG9aPkh0e06uUQ3vDXVSXQCLcBGAs/s1600/gram%25C3%25A1tica-mind-map.png | |
# https://www.spanishdict.com/guide/spanish-present-tense-forms | |
# https://www.spanishdict.com/guide/spanish-irregular-present-tense/ | |
# https://www.spanishdict.com/guide/stem-changing-verbs/ | |
# https://www.spanishdict.com/guide/spelling-changes-in-the-present-tense |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
import random | |
import matplotlib.pyplot as plt | |
var = 0.10 | |
colors = ('#a6cee3', '#1f78b4', '#b2df8a', '#33a02c') | |
##for iColor, (tax1, tax2) in enumerate(((0.42, 0), (0.27, 0), (0, 0.42), (0, 0.27))): | |
for tax1, tax2 in ((0.42, 0),): |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/bin/env python3 | |
#Tommy Carstensen, April 2018 | |
import feedparser | |
import requests | |
import time | |
import os | |
import re | |
import smtplib |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
import requests | |
import xml.etree.ElementTree as ET | |
import sys | |
import calendar | |
# Parse PubMed IDs from the command line. | |
pmids = sys.argv[1:] | |
## Fetch XML data from Entrez. | |
efetch = 'https://eutils.ncbi.nlm.nih.gov/entrez/eutils/efetch.fcgi' |