Skip to content

Instantly share code, notes, and snippets.

numeroteca numeroteca

Block or report user

Report or block numeroteca

Hide content and notifications from this user.

Learn more about blocking users

Contact Support about this user’s behavior.

Learn more about reporting abuse

Report abuse
View GitHub Profile
@numeroteca
numeroteca / .block
Last active Dec 4, 2018
Cartograma: VUT por 100 viviendas (vivienda uso turístico) en Donostia. Septiembre 2018
View .block
license: gpl-3.0
height: 960
scrolling: no
border: no
@numeroteca
numeroteca / DatoEducacion.py
Created Oct 3, 2018
Twitter bot to post tweets based on existing csv DataEducation.bot
View DatoEducacion.py
#!/usr/bin/python2.7
# -*- coding: utf-8 -*-
#Load required modules
import twitter
import csv
from datetime import datetime
#from time import sleep
import time
from dateutil.relativedelta import relativedelta
@numeroteca
numeroteca / analisis.R
Created Jun 19, 2018
Calculate Gorard index. IMPORTANTE: se usan valores ficticios generados aleatoriamente para cada centro y etapa escolar.
View analisis.R
# load library
library(tidyverse)
data <- read.csv("centros-escolares-euskadi-valores-aleatorios.csv", sep = "," )
# -----------Calcula índice de Gorard por municipio -----------
# Unmelt data to make it easier for segregation index calculation. Based sonÑ
# https://ojs.uv.es/index.php/RASE/article/view/10129/10853
# http://journals.sagepub.com/doi/abs/10.1177/003803850203600405
@numeroteca
numeroteca / .block
Last active Jun 19, 2018
Small multiple maps with interactive regions in Bilbao school zones
View .block
license: gpl-3.0
height: 950
scrolling: no
border: no
@numeroteca
numeroteca / .block
Created Jan 20, 2018
Cartogram: percentage of foreigners in school zones in Euskadi
View .block
license: gpl-3.0
height: 510
scrolling: no
border: no
@numeroteca
numeroteca / .block
Last active Jun 19, 2018
Small multiple maps with interactive regions. Euskadi school zones
View .block
license: gpl-3.0
height: 950
scrolling: no
border: no
@numeroteca
numeroteca / .block
Last active Jan 19, 2018
Simple map of Euskadi shchool zones with topojson and interactivity
View .block
license: gpl-3.0
height: 500
scrolling: no
border: no
@numeroteca
numeroteca / kiosko-newspaper-names
Created Jun 22, 2012
Script by rporres (https://metacpan.org/author/RPORRES) for getting Newspaper names and countries from Kiosko.net
View kiosko-newspaper-names
#to use it write "$ ./parse_kiosko.pl <lang>" where 'lang' is the language: en, es or fr
#it will output a csv. see example at http://brownbag.me:9001/p/pageonex-kiosko-newspaper-names
#!/usr/bin/env perl
use strict;
use warnings;
use utf8;
use LWP::UserAgent;
use HTML::TreeBuilder 5 -weak;
You can’t perform that action at this time.