Skip to content

Instantly share code, notes, and snippets.

View BurgosNY's full-sized avatar

Pedro Burgos BurgosNY

  • Insper
  • São Paulo, Brazil
View GitHub Profile
@BurgosNY
BurgosNY / Explorando Dados do TSE por seção eleitoral - 2022.ipynb
Last active January 25, 2024 19:27
Código para descobrir como foi a votação (excluindo presidente) em determinada seção eleitoral
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
@BurgosNY
BurgosNY / readme.MD
Created October 4, 2022 16:17
Votos no primeiro turno por município

Dados eleitorais são do G1, capturados por script do Wesley Cota. Apenas acrescentei nome e estado dos municípios e "horizontalizei" a planilha.

Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
@BurgosNY
BurgosNY / nomes.csv
Created August 10, 2021 18:46
Gênero de nomes no Brasil, compilados pelo @turicas com dados do IBGE
We can't make this file beautiful and searchable because it's too large.
alternative_names,classification,first_name,frequency_female,frequency_male,frequency_total,frequency_group,group_name,ratio
AILINE|ALEINE|ALIINE|ALINE|ALINER|ALINHE|ALINNE|ALYNE|ALYNNE|AYLINE|EALINE|ELEINE|ELINE|ELINER|ELINNE|ELYNE|EULINE|HALINE|HALYNE|HELEINE|HELINE|HELYNE|IALINE|ILEINE|ILINE|LEINE|LEINER|LEYNE|LINE|LINER|LUEINE|LUINE|LUYNE|LYNE|LYNNE|OLINE|UELINE,F,AALINE,66,,66,530550,ALINE,1.0
ARAAO|ARAO,M,AARAO,,281,281,3526,ARAO,1.0
AHARON|AROM|ARON|ARYON|HARON,M,AARON,,676,676,3442,ARON,1.0
ADA|ADAH|ADAR|ADHA|HADA,F,ABA,82,,82,5583,ADA,1.0
,M,ABADE,,57,57,57,ABADE,1.0
ABADIR,M,ABADI,,73,73,116,ABADI,1.0
,F,ABADIA,7438,127,7565,7565,ABADIA,0.983212161269002
,M,ABADIAS,45,156,201,201,ABADIAS,0.7761194029850746
,M,ABADIO,,1550,1550,1550,ABADIO,1.0
@BurgosNY
BurgosNY / vacinas_suspeitas.ipynb
Created July 3, 2021 16:43
Uma breve exploração das bases do DataSUS e o que elas podem revelar (ou não) sobre irregularidades na campanha de vacinação.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
@BurgosNY
BurgosNY / modulo_1-buzzfeed_quiz-knight_intro_programming.ipynb
Last active November 22, 2017 12:39
Lógica de programação através de um quiz do Buzzfeed
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
[{"pvs": 9912, "date": "2016-11-07"}, {"pvs": 7451, "date": "2016-11-06"}, {"pvs": 6569, "date": "2016-11-05"}, {"pvs": 9913, "date": "2016-11-04"}, {"pvs": 12552, "date": "2016-11-03"}, {"pvs": 11580, "date": "2016-11-02"}, {"pvs": 10367, "date": "2016-11-01"}, {"pvs": 11339, "date": "2016-10-31"}, {"pvs": 7591, "date": "2016-10-30"}, {"pvs": 7781, "date": "2016-10-29"}, {"pvs": 12402, "date": "2016-10-28"}, {"pvs": 22375, "date": "2016-10-27"}, {"pvs": 27020, "date": "2016-10-26"}, {"pvs": 15833, "date": "2016-10-25"}, {"pvs": 14691, "date": "2016-10-24"}, {"pvs": 8159, "date": "2016-10-23"}, {"pvs": 6934, "date": "2016-10-22"}, {"pvs": 10656, "date": "2016-10-21"}, {"pvs": 13752, "date": "2016-10-20"}, {"pvs": 15457, "date": "2016-10-19"}, {"pvs": 18194, "date": "2016-10-18"}, {"pvs": 14129, "date": "2016-10-17"}, {"pvs": 8554, "date": "2016-10-16"}, {"pvs": 7642, "date": "2016-10-15"}, {"pvs": 10653, "date": "2016-10-14"}, {"pvs": 11552, "date": "2016-10-13"}, {"pvs": 10143, "date": "2016-10-12"}, {"pvs":

Candidates CC Pictures

Just a collection of pictures that I've created to speed up our work at The Marshall Project.

Version 1.0 (1.8.16):

Vanilla Bootstrap module, Republicans candidates only.

To ship

What’s the URL of your prototype?

My product still doesn’t work on the web. What I’ve got, mostly, is some code in my computer that hasn’t been deployed (still learning Express, Node.js, etc). But a more substantiated example of what my product should do, with screenshots, is here.

What is on your backlog for shipping?

My plan is to “ship” the first leg of my product, which is a “convert Facebook posts to text” automator, in a more streamlined fashion. That will be done before unveiling the finished version, that will feed into Watson API. For that I need to:

  • Create a Javascript webapp that will take a Facebook Graph API call and output JSON. For now I can only do it through the web version of the Graph (using http://graph.facebook.com/XXXXX?fields=comments.limit(500)), where XXXXX is the number of the post. The “convert JSON to plain text” part I’ve figured it out using Javascript.
  • Work the visuals of the page, and create alternative export methods,