Skip to content

Instantly share code, notes, and snippets.

View john-guerra's full-sized avatar

John Alexis Guerra Gómez john-guerra

View GitHub Profile
@john-guerra
john-guerra / ieeevis2018Tweets.json
Created October 23, 2018 10:03
ieeevis2018Tweets
This file has been truncated, but you can view the full file.
[{"contributors": null, "truncated": false, "text": "RT @tamaramunzner: And now for #ieeevis keynote \"When VIS met AR\"! \n\nDieter Schmalstieg opens with a When Harry Met Sally pic, noting a ...\u2026", "is_quote_status": false, "in_reply_to_status_id": null, "id": 1054667169991196672, "favorite_count": 0, "entities": {"symbols": [], "user_mentions": [{"id": 1652270612, "indices": [3, 17], "id_str": "1652270612", "screen_name": "tamaramunzner", "name": "Tamara Munzner"}], "hashtags": [{"indices": [31, 39], "text": "ieeevis"}], "urls": []}, "retweeted": false, "coordinates": null, "source": "<a href=\"http://twitter.com/download/iphone\" rel=\"nofollow\">Twitter for iPhone</a>", "in_reply_to_screen_name": null, "in_reply_to_user_id": null, "retweet_count": 1, "id_str": "1054667169991196672", "favorited": false, "retweeted_status": {"contributors": null, "truncated": true, "text": "And now for #ieeevis keynote \"When VIS met AR\"! \n\nDieter Schmalstieg opens with a When Harry Met Sally pic, noting\u2026 http
// https://github.com/john-guerra/Navio#readme v0.0.2 Copyright 2018 John Alexis Guerra Gómez
!function(t,e){"object"==typeof exports&&"undefined"!=typeof module?module.exports=e():"function"==typeof define&&define.amd?define(e):t.navio=e()}(this,function(){"use strict";function t(t,e){return t<e?-1:t>e?1:t>=e?0:NaN}var e,n,r=(1===(e=t).length&&(n=e,e=function(e,r){return t(n(e),r)}),{left:function(t,n,r,i){for(null==r&&(r=0),null==i&&(i=t.length);r<i;){var a=r+i>>>1;e(t[a],n)<0?r=a+1:i=a}return r},right:function(t,n,r,i){for(null==r&&(r=0),null==i&&(i=t.length);r<i;){var a=r+i>>>1;e(t[a],n)>0?i=a:r=a+1}return r}}).right;function i(t,e){var n,r,i,a=t.length,o=-1;if(null==e){for(;++o<a;)if(null!=(n=t[o])&&n>=n)for(r=i=n;++o<a;)null!=(n=t[o])&&(r>n&&(r=n),i<n&&(i=n))}else for(;++o<a;)if(null!=(n=e(t[o],o,t))&&n>=n)for(r=i=n;++o<a;)null!=(n=e(t[o],o,t))&&(r>n&&(r=n),i<n&&(i=n));return[r,i]}var a=Math.sqrt(50),o=Math.sqrt(10),u=Math.sqrt(2);function c(t,e,n){var r=(e-t)/Math.max(0,n),i=Math.floor(Math.log(r)/Math
// https://github.com/john-guerra/Navio#readme v0.0.2 Copyright 2018 John Alexis Guerra Gómez
!function(t,e){"object"==typeof exports&&"undefined"!=typeof module?module.exports=e():"function"==typeof define&&define.amd?define(e):t.navio=e()}(this,function(){"use strict";function t(t,e){return t<e?-1:t>e?1:t>=e?0:NaN}var e,n,r=(1===(e=t).length&&(n=e,e=function(e,r){return t(n(e),r)}),{left:function(t,n,r,i){for(null==r&&(r=0),null==i&&(i=t.length);r<i;){var a=r+i>>>1;e(t[a],n)<0?r=a+1:i=a}return r},right:function(t,n,r,i){for(null==r&&(r=0),null==i&&(i=t.length);r<i;){var a=r+i>>>1;e(t[a],n)>0?i=a:r=a+1}return r}}).right;function i(t,e){var n,r,i,a=t.length,o=-1;if(null==e){for(;++o<a;)if(null!=(n=t[o])&&n>=n)for(r=i=n;++o<a;)null!=(n=t[o])&&(r>n&&(r=n),i<n&&(i=n))}else for(;++o<a;)if(null!=(n=e(t[o],o,t))&&n>=n)for(r=i=n;++o<a;)null!=(n=e(t[o],o,t))&&(r>n&&(r=n),i<n&&(i=n));return[r,i]}var a=Math.sqrt(50),o=Math.sqrt(10),u=Math.sqrt(2);function c(t,e,n){var r=(e-t)/Math.max(0,n),i=Math.floor(Math.log(r)/Math
We can't make this file beautiful and searchable because it's too large.
estu_tipodocumento,estu_nacionalidad,estu_genero,estu_fechanacimiento,periodo,estu_consecutivo,estu_estudiante,estu_pais_reside,estu_tieneetnia,estu_etnia,estu_limita_motriz,estu_limita_invidente,estu_limita_condicionespecial,estu_limita_sordo,estu_limita_sdown,estu_limita_autismo,estu_depto_reside,estu_cod_reside_depto,estu_mcpio_reside,estu_cod_reside_mcpio,fami_estratovivienda,fami_personashogar,fami_cuartoshogar,fami_educacionpadre,fami_educacionmadre,fami_trabajolaborpadre,fami_trabajolabormadre,fami_tieneinternet,fami_tieneserviciotv,fami_tienecomputador,fami_tienelavadora,fami_tienehornomicroogas,fami_tieneautomovil,fami_tienemotocicleta,fami_tieneconsolavideojuegos,fami_numlibros,fami_comelechederivados,fami_comecarnepescadohuevo,fami_comecerealfrutoslegumbre,fami_situacioneconomica,estu_dedicacionlecturadiaria,estu_dedicacioninternet,estu_horassemanatrabaja,estu_tiporemuneracion,cole_codigo_icfes,cole_cod_dane_establecimiento,cole_nombre_establecimiento,cole_genero,cole_naturaleza,cole_calendario,col
@john-guerra
john-guerra / AQuienSeContrataCompleto_1000.csv
Last active September 11, 2018 15:44
Con quién contrata Colombia, datos de pte.gov.co
We can't make this file beautiful and searchable because it's too large.
Entidad,Fecha,NumeroCompromiso,Beneficiario,ValorContrato
SENADO DE LA REPÚBLICA,"Jueves, Enero 11 de 2018",118,CENTRO DE SERVICIOS Y TECNOLOGIA CST SAS,282402855
SENADO DE LA REPÚBLICA,"Jueves, Enero 11 de 2018",218,MARIA MARGARITA SIERRA BERMUDEZ,24450000
SENADO DE LA REPÚBLICA,"Jueves, Enero 11 de 2018",318,LUZ STELLA TRESPALACIOS ANAYA,14593333
SENADO DE LA REPÚBLICA,"Viernes, Enero 12 de 2018",418,RAMON ANIBAL SERJE CASTRO,52000000
SENADO DE LA REPÚBLICA,"Viernes, Enero 12 de 2018",518,RAFAEL ENRIQUE TEJADA GOMEZ,39800000
SENADO DE LA REPÚBLICA,"Viernes, Enero 12 de 2018",618,LUIS EDUARDO SERNA FERNANDEZ DE CASTRO,16583333
SENADO DE LA REPÚBLICA,"Viernes, Enero 12 de 2018",718,LUIS FRANCISCO VILLAMARIN MOR,52000000
SENADO DE LA REPÚBLICA,"Viernes, Enero 12 de 2018",818,LEADY JAZMIN PORRAS VALDERRAMA,29866666
SENADO DE LA REPÚBLICA,"Viernes, Enero 12 de 2018",918,KATHERYN ALEJANDRA PARRA MUÑOZ,30933333
@john-guerra
john-guerra / tweetsConsulta.json
Last active August 26, 2018 14:48
tweets Consulta
{"nodes": [{"contributors": null, "truncated": true, "text": "@JAIROCHRISTIAN En La Tarde Cuando @RegistraduraCol Cuente Los Votos Y Concluya Q #ConsultaAnticorrupcion Fu\u00e9 Un Ab\u2026 https://t.co/IaZY4YICeY", "is_quote_status": false, "in_reply_to_status_id": 1033658429687164928, "id": 1033681979680743424, "favorite_count": 1, "source": "<a href=\"http://twitter.com\" rel=\"nofollow\">Twitter Web Client</a>", "retweeted": false, "coordinates": null, "entities": {"symbols": [], "user_mentions": [{"indices": [0, 15], "screen_name": "JAIROCHRISTIAN", "id": 119089481, "name": "Jairo Christian", "id_str": "119089481"}, {"indices": [35, 51], "screen_name": "RegistraduraCol", "id": 2275268701, "name": "RegistraduriaCol", "id_str": "2275268701"}], "hashtags": [{"indices": [82, 105], "text": "ConsultaAnticorrupcion"}], "urls": [{"url": "https://t.co/IaZY4YICeY", "indices": [117, 140], "expanded_url": "https://twitter.com/i/web/status/1033681979680743424", "display_url": "twitter.com/i/web/status/1\u2026"}]}, "in
@john-guerra
john-guerra / tweetsConsulta.json
Created August 26, 2018 14:31
tweets Consulta
{"nodes": [{"contributors": null, "truncated": true, "text": "@JAIROCHRISTIAN En La Tarde Cuando @RegistraduraCol Cuente Los Votos Y Concluya Q #ConsultaAnticorrupcion Fu\u00e9 Un Ab\u2026 https://t.co/IaZY4YICeY", "is_quote_status": false, "in_reply_to_status_id": 1033658429687164928, "id": 1033681979680743424, "favorite_count": 1, "source": "<a href=\"http://twitter.com\" rel=\"nofollow\">Twitter Web Client</a>", "retweeted": false, "coordinates": null, "entities": {"symbols": [], "user_mentions": [{"indices": [0, 15], "screen_name": "JAIROCHRISTIAN", "id": 119089481, "name": "Jairo Christian", "id_str": "119089481"}, {"indices": [35, 51], "screen_name": "RegistraduraCol", "id": 2275268701, "name": "RegistraduriaCol", "id_str": "2275268701"}], "hashtags": [{"indices": [82, 105], "text": "ConsultaAnticorrupcion"}], "urls": [{"url": "https://t.co/IaZY4YICeY", "indices": [117, 140], "expanded_url": "https://twitter.com/i/web/status/1033681979680743424", "display_url": "twitter.com/i/web/status/1\u2026"}]}, "in
[{"contributors": null, "truncated": true, "text": "Are you worried about creating a web page with responsible design ?. Using media queries Boostrap has implemented b\u2026 https://t.co/9i7Zy9RUxT", "is_quote_status": false, "in_reply_to_status_id": null, "id": 1031886334984634369, "favorite_count": 0, "entities": {"symbols": [], "user_mentions": [], "hashtags": [], "urls": [{"url": "https://t.co/9i7Zy9RUxT", "indices": [117, 140], "expanded_url": "https://twitter.com/i/web/status/1031886334984634369", "display_url": "twitter.com/i/web/status/1\u2026"}]}, "retweeted": false, "coordinates": null, "source": "<a href=\"http://twitter.com\" rel=\"nofollow\">Twitter Web Client</a>", "in_reply_to_screen_name": null, "in_reply_to_user_id": null, "retweet_count": 0, "id_str": "1031886334984634369", "favorited": false, "user": {"follow_request_sent": false, "has_extended_profile": false, "profile_use_background_image": true, "default_profile_image": true, "id": 1029111077920038912, "profile_background_image_url_https
// https://github.com/john-guerra/forceInABox#readme Version 1.0.0. Copyright 2018 undefined.
(function (global, factory) {
typeof exports === 'object' && typeof module !== 'undefined' ? factory(exports, require('d3')) :
typeof define === 'function' && define.amd ? define(['exports', 'd3'], factory) :
(factory((global.d3 = global.d3 || {}),global.d3));
}(this, (function (exports,d3) { 'use strict';
function forceInABox() {
function index(d) {
return d.index;
@john-guerra
john-guerra / netClustering.js
Created August 22, 2018 20:38
netClustering.js
/*
Copyright 2010 by Robin W. Spencer
This program is free software: you can redistribute it and/or modify
it under the terms of the GNU General Public License as published by
the Free Software Foundation, either version 3 of the License, or
(at your option) any later version.
This program is distributed in the hope that it will be useful,
but WITHOUT ANY WARRANTY; without even the implied warranty of