Skip to content

Instantly share code, notes, and snippets.

@rlvaugh
rlvaugh / house_and_senate_seats_thru_time.csv
Created February 19, 2023 18:39
Midterm Elections Quick Success Data Science Project
Year Senate House
1790 26 65
1794 30 105
1798 32 106
1802 34 107
1806 34 142
1810 34 142
1814 36 182
1818 42 185
1822 48 187
@rlvaugh
rlvaugh / fed_funds_rate.csv
Created March 5, 2023 18:07
Fed funds rate data for Medium article
Date FEDFUNDS
1/1/1960 3.99
2/1/1960 3.97
3/1/1960 3.84
4/1/1960 3.92
5/1/1960 3.85
6/1/1960 3.32
7/1/1960 3.23
8/1/1960 2.98
9/1/1960 2.6
@rlvaugh
rlvaugh / cpi_u_inflation_data.csv
Created March 5, 2023 18:10
CPI-U data for 1960-2022.
Year Jan Feb Mar Apr May Jun Jul Aug Sep Oct Nov Dec
2022 281.148 283.716 287.504 289.109 292.296 296.311 296.276 296.171 296.808 298.012 297.711 296.797
2021 261.582 263.014 264.877 267.054 269.195 271.696 273.003 273.567 274.31 276.589 277.948 278.802
2020 257.971 258.678 258.115 256.389 256.394 257.797 259.101 259.918 260.28 260.388 260.229 260.474
2019 251.712 252.776 254.202 255.548 256.092 256.143 256.571 256.558 256.759 257.346 257.208 256.974
2018 247.867 248.991 249.554 250.546 251.588 251.989 252.006 252.146 252.439 252.885 252.038 251.233
2017 242.839 243.603 243.801 244.524 244.733 244.955 244.786 245.519 246.819 246.663 246.669 246.524
2016 236.916 237.111 238.132 239.261 240.229 241.018 240.628 240.849 241.428 241.729 241.353 241.432
2015 233.707 234.722 236.119 236.599 237.805 238.638 238.654 238.316 237.945 237.838 237.336 236.525
2014 233.916 234.781 236.293 237.072 237.9 238.343 238.25 237.852 238.031 237.433 236.151 234.812
@rlvaugh
rlvaugh / rainfall.csv
Created March 9, 2023 18:17
College Station Monthly Rainfall 2000-2021
Year JAN FEB MAR APR MAY JUN JUL AUG SEP OCT NOV DEC Yearly
2000 3.13 0.91 2.57 1.96 5.57 2.53 T 0.22 1.58 3.47 9.29 3.77 35
2001 2.44 1.57 6.08 0.24 4.9 6.29 1.69 3.53 8.8 3.54 2.88 3.55 45.51
2002 1.6 1.63 0.85 1.43 0.89 3.04 5.66 3.62 0.77 9.79 6 7.58 42.86
2003 1.06 7.31 1.68 0.17 0.57 6.64 4.05 4.36 6.25 6.81 3.92 1.22 44.04
2004 4.54 5.91 2.78 4.2 7.81 11.75 2.33 2.5 0.26 3.81 9.22 1.07 56.18
2005 3.92 5.07 3.81 1.25 2.48 0.45 2.09 3.26 T 2.11 1 1 26.44
2006 2.63 3.7 4.8 2.45 2.65 3.36 5.74 2.47 2.69 12.89 0.62 4.57 48.57
2007 4.98 0.08 6.73 2.87 4.02 5 4.58 1.4 1.45 2.67 3.89 3.86 41.53
2008 2.05 3.29 3.81 2.74 4.3 0.29 0.38 6.49 3.47 1.73 1.35 0.8 30.7
@rlvaugh
rlvaugh / mean_temp_July_2021.csv
Created March 18, 2023 18:03
Mean temperature data for Dallas-Fort Worth area for July 2021
STATION STATION ID IMPERIAL METRIC
ARLINGTON MUNICIPAL AIRPORT, TX US GHCND:USW00053907 85.9 29.95
ATHENS TEXAS, TX US GHCND:USR0000TATH 82.2 27.88
ATHENS, TX US GHCND:USC00410404 80.4 26.88
BONHAM 3 NNE, TX US GHCND:USC00410923 82.6 28.09
BOWIE, TX US GHCND:USC00410984 81 27.21
BRECKENRIDGE, TX US GHCND:USC00411042 81.4 27.43
BROWNWOOD 2 NE, TX US GHCND:USC00411138 81.8 27.64
BURLESON, TX US GHCND:USC00411246 81.4 27.47
BURNEYVILLE 2 SE MESONET, OK US GHCND:USC00341266 80.2 26.77
@rlvaugh
rlvaugh / noaa_us_precip_6_2019.csv
Created April 6, 2023 17:46
NOAA precipitation data for the USA for the month of June 2019
STATION STATION ID IMPERIAL METRIC
13TH STREET STANTON NE, NE US GHCND:US1Stan4115 2.88 73.1
ABBEVILLE 1.0 E, LA US GHCND:US1LAVM0004 7.68 194.8
ABBEVILLE 8.2 SE, MS US GHCND:US1MSLY0004 9.58 243.2
ABBEVILLE 9.9 SW, LA US GHCND:US1LAVM0006 9.06 229.9
ABBEVILLE, LA US GHCND:USC00160007 7.61 193.2
ABBOT 4.6 WNW, ME US GHCND:US1MEPS0009 4.14 105.1
ABBOTSFORD A, CA GHCND:CA001100031 1.1 28
ABBOTT 1 SE, NM US GHCND:USC00290022 1.01 25.6
ABBOTT, AR US GHCND:USC00030006 12.53 317.9
@rlvaugh
rlvaugh / guns_2021.csv
Created April 10, 2023 19:24
Registered guns per state as of 2021
State Gun Ownership Registered Guns Party Affiliation
AK 0.645 28237 red
AL 0.555 194920 red
AR 0.572 133981 red
AZ 0.463 258691 orchid
California 0.283 406360 dodgerblue
CO 0.451 149382 orchid
CT 0.236 74874 dodgerblue
DE 0.344 6092 dodgerblue
Florida 0.353 518725 orchid
@rlvaugh
rlvaugh / mens_100_m_Gist.ipynb
Created April 22, 2023 23:03
Jupyter Notebook for the article: "Predict the Limits of Human Performance with Python" by Lee Vaughan
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Volcano Name Latitude Longitude
Askja 65.03 -16.75
Bárðarbunga 64.64 -17.56
Brennisteinsfjöll 63.92 -21.83
Eldgjá 64.24 -18.37
Esjufjöll 64.27 -16.65
Eyjafjallajökull 63.63 -19.62
Fremrinámur 65.43 -16.65
Grímsnes 64.03 -20.87
Grímsvötn 64.42 -17.33
@rlvaugh
rlvaugh / 2020_sector_data_no_SPY.csv
Created May 25, 2023 17:58
2020 Market Sector Performance
Symbol Sector Date Close Change % Volume
XLB Materials Dec. 31, 2020 72.39 0.39% 3250491
XLB Materials Dec. 30, 2020 72.11 1.38% 2827534
XLB Materials Dec. 29, 2020 71.13 -0.24% 3426494
XLB Materials Dec. 28, 2020 71.3 -0.39% 2661307
XLB Materials Dec. 24, 2020 71.58 0.63% 1366264
XLB Materials Dec. 23, 2020 71.13 0.14% 4109556
XLB Materials Dec. 22, 2020 71.03 -0.62% 3327111
XLB Materials Dec. 21, 2020 71.47 -1.02% 5049261
XLB Materials Dec. 18, 2020 72.21 0.45% 5453349