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
LOCATION_TYPE CASE_ID ROAD_TYPE PEDESTRIAN_ACCIDENT
0 Not State Highway 6292881 Non-Highway
1 Not State Highway 6292882 Non-Highway Y
2 Not State Highway 6292885 Non-Highway
3 Not State Highway 6292886 Non-Highway
4 Not State Highway 6292887 Non-Highway Y
5 Not State Highway 6292888 Non-Highway
6 Not State Highway 6292889 Non-Highway
7 Highway 6292890 Highway
8 Not State Highway 6292891 Non-Highway
@john-guerra
john-guerra / .block
Last active July 20, 2018 02:56
US States Cloropleth Reusable module
license: mit
@john-guerra
john-guerra / .block
Last active October 11, 2022 14:48
Vega-lite: load data dynamically on run-time with vegaEmbed
license: mit
@john-guerra
john-guerra / .block
Last active February 23, 2021 07:40
Vega-lite: load data dynamically on run-time
license: mit
This file has been truncated, but you can view the full file.
[{"contributors": null, "truncated": false, "text": "RT @jozilla: I'm looking for a PhD student at the intersection of #HCI, #Ubicomp &amp; #InfoVis in Aarhus \ud83c\udde9\ud83c\uddf0 \u2013 hello #ieeevis \ud83d\ude43 https://t.co/PC\u2026", "is_quote_status": false, "in_reply_to_status_id": null, "id": 916451516210221056, "favorite_count": 0, "entities": {"symbols": [], "user_mentions": [{"id": 15208867, "indices": [3, 11], "id_str": "15208867", "screen_name": "jozilla", "name": "Jo Vermeulen"}], "hashtags": [{"indices": [66, 70], "text": "HCI"}, {"indices": [72, 80], "text": "Ubicomp"}, {"indices": [87, 95], "text": "InfoVis"}, {"indices": [117, 125], "text": "ieeevis"}], "urls": []}, "retweeted": false, "coordinates": null, "source": "<a href=\"https://about.twitter.com/products/tweetdeck\" rel=\"nofollow\">TweetDeck</a>", "in_reply_to_screen_name": null, "in_reply_to_user_id": null, "retweet_count": 23, "id_str": "916451516210221056", "favorited": false, "retweeted_status": {"contributors": null, "trunca
@john-guerra
john-guerra / .block
Last active July 4, 2018 14:26
Vega-Lite Bl.ocks example
license: bsd-3-clause
REGION CÓDIGO DANE DEL DEPARTAMENTO DEPARTAMENTO CÓDIGO DANE DEL MUNICIPIO MUNICIPIO
Región Eje Cafetero - Antioquia 5 Antioquia 5002 Abejorral
Región Centro Oriente 54 Norte de Santander 54003 Abrego
Región Eje Cafetero - Antioquia 5 Antioquia 5004 Abriaquí
Región Llano 50 Meta 50006 Acacias
Región Pacífico 27 Chocó 27006 Acandí
Región Centro Sur 41 Huila 41006 Acevedo
Región Caribe 13 Bolívar 13006 Achí
Región Centro Sur 41 Huila 41013 Agrado
Región Centro Oriente 25 Cundinamarca 25001 Agua de Dios
name date score
John 2018-01-01 75
Mafe 2018-01-01 95
Paul 2018-01-01 45
John 2018-01-02 65
Mafe 2018-01-02 15
Paul 2018-01-02 25
John 2018-01-03 85
Mafe 2018-01-03 100
Paul 2018-01-03 10
@john-guerra
john-guerra / gapminderSimplified.json
Last active May 17, 2018 14:25
Simplified Gapminder data with just one year's worth of data
[{"continent":"North America","population":34674708,"gdp":35992.8327204722,"lifeExpectancy":81.323,"country":"Canada"},{"continent":"Sub-Saharan Africa","population":171878,"gdp":1927.70251144289,"lifeExpectancy":66.211,"country":"Sao Tome and Principe"},{"continent":"Asia","population":5169660,"gdp":7921.2740619558,"lifeExpectancy":65.299,"country":"Turkmenistan"},{"continent":"Europe","population":3292454,"gdp":18469.9748244583,"lifeExpectancy":71.942,"country":"Lithuania"},{"continent":"Asia","population":14478320,"gdp":2076.68958647462,"lifeExpectancy":71.577,"country":"Cambodia"},{"continent":"Sub-Saharan Africa","population":86538534,"gdp":958.694705985043,"lifeExpectancy":62.983,"country":"Ethiopia"},{"continent":"Central America and the Caribbean","population":108141,"gdp":23661.3875879768,"lifeExpectancy":75.193,"country":"Aruba"},{"continent":"Asia","population":21223550,"gdp":5182.66658831813,"lifeExpectancy":74.116,"country":"Sri Lanka"},{"continent":"Sub-Saharan Africa","population":1220408,"gdp"
{"route":[{"serviceClass":"wkd","title":"N-Judah","tr":[{"stop":[{"content":"--","tag":"5223","epochTime":"-1"},{"content":"--","tag":"5225","epochTime":"-1"},{"content":"--","tag":"5200","epochTime":"-1"},{"content":"--","tag":"3913","epochTime":"-1"},{"content":"--","tag":"4448","epochTime":"-1"},{"content":"--","tag":"5419","epochTime":"-1"},{"content":"--","tag":"6992","epochTime":"-1"},{"content":"00:01:00","tag":"4509","epochTime":"60000"},{"content":"00:09:00","tag":"5239","epochTime":"540000"},{"content":"--","tag":"35241","epochTime":"-1"}],"blockID":"9612"},{"stop":[{"content":"05:09:00","tag":"5223","epochTime":"18540000"},{"content":"05:13:00","tag":"5225","epochTime":"18780000"},{"content":"05:19:00","tag":"5200","epochTime":"19140000"},{"content":"05:29:00","tag":"3913","epochTime":"19740000"},{"content":"05:36:00","tag":"4448","epochTime":"20160000"},{"content":"05:40:00","tag":"5419","epochTime":"20400000"},{"content":"05:46:00","tag":"6992","epochTime":"20760000"},{"content":"05:49:00","tag":