Skip to content

Instantly share code, notes, and snippets.

View spiker830's full-sized avatar

spiker830

View GitHub Profile
@spiker830
spiker830 / us_preambles.json
Last active March 9, 2020 19:49
Preambles for each US state constitution (some have no preamble indicated by empty string). Used in TF-IDF article: http://investingdeeply.com/blog/tf-idf-document-similarity-state-preambles/
[
{
"state_name": "Alabama",
"state_id": "AL",
"preamble": "We the people of the State of Alabama, invoking the favor and guidance of Almighty God, do ordain and establish the following Constitution."
},
{
"state_name": "Alaska",
"state_id": "AK",
"preamble": "We the people of Alaska, grateful to God and to those who founded our nation and pioneered this great land, in order to secure and transmit to succeeding generations our heritage of political, civil, and religious liberty within the Union of States, do ordain and establish this constitution for the State of Alaska."
@spiker830
spiker830 / us_features.json
Last active March 9, 2020 19:53
GeoJSON of each US state outline. Low resolution. Used for visualizations: http://investingdeeply.com/blog/basic-maps-with-d3/ and http://investingdeeply.com/blog/d3-vue-choropleth/
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.