Skip to content

Instantly share code, notes, and snippets.

View skvrnami's full-sized avatar
🛠️

Michael Škvrňák skvrnami

🛠️
View GitHub Profile
library(RSQLite)
sqlite <- dbDriver("SQLite")
# Stahni SQLite DB z webu, pokud neexistuje
if(!file.exists("parlgov-development.db")){
download.file("http://www.parlgov.org/static/data/parlgov-development.db",
dest = "parlgov-development.db")
}
@skvrnami
skvrnami / d3.v3.js
Created November 17, 2022 16:34
Presidential candidates' ads: 10 topics
d3 = function() {
var d3 = {
version: "3.2.7"
};
if (!Date.now) Date.now = function() {
return +new Date();
};
var d3_document = document, d3_documentElement = d3_document.documentElement, d3_window = window;
try {
d3_document.createElement("div").style.setProperty("opacity", 0, "");
@skvrnami
skvrnami / d3.v3.js
Created November 17, 2022 16:35
Presidential candidates' ads: 10 topics
d3 = function() {
var d3 = {
version: "3.2.7"
};
if (!Date.now) Date.now = function() {
return +new Date();
};
var d3_document = document, d3_documentElement = d3_document.documentElement, d3_window = window;
try {
d3_document.createElement("div").style.setProperty("opacity", 0, "");
@skvrnami
skvrnami / d3.v3.js
Created November 17, 2022 16:39
Presidential candidates' ads: 10 topics
d3 = function() {
var d3 = {
version: "3.2.7"
};
if (!Date.now) Date.now = function() {
return +new Date();
};
var d3_document = document, d3_documentElement = d3_document.documentElement, d3_window = window;
try {
d3_document.createElement("div").style.setProperty("opacity", 0, "");
@skvrnami
skvrnami / d3.v3.js
Created November 17, 2022 19:40
Presidential candidates' ads: 8 topics
d3 = function() {
var d3 = {
version: "3.2.7"
};
if (!Date.now) Date.now = function() {
return +new Date();
};
var d3_document = document, d3_documentElement = d3_document.documentElement, d3_window = window;
try {
d3_document.createElement("div").style.setProperty("opacity", 0, "");
@skvrnami
skvrnami / d3.v3.js
Created November 17, 2022 20:13
Presidential candidates' ads: 5
d3 = function() {
var d3 = {
version: "3.2.7"
};
if (!Date.now) Date.now = function() {
return +new Date();
};
var d3_document = document, d3_documentElement = d3_document.documentElement, d3_window = window;
try {
d3_document.createElement("div").style.setProperty("opacity", 0, "");
@skvrnami
skvrnami / d3.v3.js
Created November 17, 2022 20:13
Presidential candidates' ads: 6
d3 = function() {
var d3 = {
version: "3.2.7"
};
if (!Date.now) Date.now = function() {
return +new Date();
};
var d3_document = document, d3_documentElement = d3_document.documentElement, d3_window = window;
try {
d3_document.createElement("div").style.setProperty("opacity", 0, "");
@skvrnami
skvrnami / d3.v3.js
Created November 17, 2022 20:13
Presidential candidates' ads: 7
d3 = function() {
var d3 = {
version: "3.2.7"
};
if (!Date.now) Date.now = function() {
return +new Date();
};
var d3_document = document, d3_documentElement = d3_document.documentElement, d3_window = window;
try {
d3_document.createElement("div").style.setProperty("opacity", 0, "");
@skvrnami
skvrnami / d3.v3.js
Created November 17, 2022 20:13
Presidential candidates' ads: 8
d3 = function() {
var d3 = {
version: "3.2.7"
};
if (!Date.now) Date.now = function() {
return +new Date();
};
var d3_document = document, d3_documentElement = d3_document.documentElement, d3_window = window;
try {
d3_document.createElement("div").style.setProperty("opacity", 0, "");