+55 (11) 98282-8713



Professional History

Data Scientist, First Data Corporation, Ireland

  • 08/2018 — Present

Data Scientist, Avanade, São Paulo

  • 08/2017 — 07/2018

I currently work at Avanade in São Paulo. So far, my contributions have been in the following areas: sentiment analysis, audio analysis, machine & deep learning, BI, data visualization and data tidying. I’ve given a course on tidy data and several tutorials on the R language.

São Paulo City Council

  • 03/2017 — 07/2017
  • São Paulo
  • Position: Director of DIPROJ; Data Science & Analytics Administration

In the Secretaria da Fazenda, I headed a team responsible for making accurate forecasts of data on public spending. Part of my job was also modernizing the way the department does analysis. To do that, I gave an in-house R course and built a Shiny application for the department (part of an internal R package that I wrote), along with the production of semi-automated reports. It was an interesting experience being at the heart of politics in one of the biggest cities in the world, without a doubt. I learned how much of the job was actually about something very simple: managing relationships.

Instituto Brasileiro de Pesquisa e Análise de Dados (IBPAD)

  • 08/2016 – present
  • Various locations throughout Brazil
  • Position: Course Tutor

I give private classes, in-company courses and public courses on the statistical programming language R. I am responsible for designing and giving the classes, and I also contribute to the blog of the Institute. The topics covered in the public course include: an introduction to statistics; obtaining, cleaning and tidying data; data analysis and modelling; producing plots and interactive visualizations; producing high-quality documents and web pages in RStudio. I was also part of a 2-man team that designed and implemented a successful in-company course for the airline company Gol, which included an introduction to R, statistics in R, and machine learning in R. In my private classes, I have helped clients to implement genetic algorithms from scratch in R for analysis of financial data, among other things.

Freelance R Consultant

I’ve helped people with projects ranging from their academic work to scraping information from social media sites, text analysis to statistics, in areas ranging from finance to communication and to legislative studies.

Fundação Getúlio Vargas

  • 08/2016 – present
  • São Paulo, Brazil
  • Position: researcher

I write case studies for FGV, to be used as teaching materials in their post-graduate courses, on topics ranging from Brexit to the embargo of Cuba. Apart from that, I do some data science work (web-scraping, organizing & cleaning data and statistical analyses) for some researchers involved with the Centre for International Relations.

Centre for the Study of International Negotiations (CAENI)

  • 03/2012 – 07/2016
  • University of São Paulo, Brazil
  • Position: researcher

I was a researcher at CAENI in USP during my PhD, and I was involved in seminars and study groups, as well as with the production of research. I also gave courses during my time there, on running Bayesian statistical models and doing analysis in the statistical programming language R.


Professional Summary

I believe that my skills and background give me some unique advantages in the field of data analysis. I have found that my artistic background is very useful when it comes to visualizing data and the results of research. Similarly, my ability to speak well publicly, as demonstrated for example in the pieces theatre which I wrote and performed during my undergraduate degree, has been a great asset to me when speaking publicly about the work I’ve done. I have a very high level of writing ability, as I have shown in academic work that I have published, a capability that has allowed me to produce high-quality studies that are enjoyable to read for experts and non-experts alike. My love of data wrangling and analysis, and programming in general, allows me to bring all these abilities together in a modern way, in what I believe is a valuable package for data analysis in any context.


Academic Background

PhD – University of São Paulo (2016)

  • Thesis: Explaining the Determinants of Foreign Policy Voting Behaviour in the Brazilian Houses of Legislature, with a Focus on the Senate

Masters: Dublin City University, Ireland (2010) (First Class Honour)

  • Thesis: Brazil’s Foreign Policy- Domestic Interests, Presidentialism or the Autonomy of Itamaraty?

Bachelor’s degree in Fine Art – National College of Art & Design, Ireland (2004) (2:1 Honours)



  • Native speaker of English
  • Fluent in Portuguese
  • Intermediate level Spanish and French



  • Advanced knowledge of R, RMarkdown (for documents and my website, and I wrote my PhD thesis in it), and a high level of Shiny knowledge. I am the author of several R packages, for example tidyRSS tidyRSS), one of the authors of congressbr and I have contributed to several other R packages: (updateR, bRasilLegis, electionsBR). On my github page, I have made available many R code snippets of various functions and tips & tricks that I have found useful, and that I hope will help others.
  • High intermediate knowledge of Python. Intermediate knowledge of LaTeX, html, CSS, and basic knowledge of SPSS and Stata. I also have experience with the MS Office suite and the Mac equivalents.
  • Beginner in C# and intermediate level JavaScript.
  • I also post R code snippets on my blog, showing readers how to create intricate plots or run various analyses in R. These posts have featured on the popular online R magazine RWeekly; they are shared on the popular R-Bloggers site and they have also been shared on R users groups on social media.


Other information

  • International experience: I have lived and worked or studied in Ireland, Belgium, the United States and Brazil.
  • Seminars / certifications: I have given academic presentations on my work and I have attended many short technical courses. The most recent one was on Agent-Based Models in Python and was given in USP by Davoud Taghawi-Nejad. Others have been on time-series modelling by Guy Whitten of Texas A&M, game theory by B. Peter Rosendorff of New York University, experiments in social science by Paolo Spada and Leonid Peisakhin of Yale University, and various software packages.
  • Online courses: I have taken many online courses, the most recent of which was Deep Learning by Andrew Ng on Coursera (certified). I have various certificates from Data Camp in areas such as Machine Learning and Data Analysis. I have also a strong interest in JavaScript and have taken many codeschool courses on its various flavours.
  • Hobbies: I like to play music, write, read and blog, and I am involved in the creation and development of some R software packages. I have written a fictional novel, which I hope to publish in the future, and I have recorded an album of my music. I have a strong interest in political economic history and liberalism.


Social Networks

@RobertMylesMc https://github.com/RobertMyles https://br.linkedin.com/in/robert-mcdonnell-7475b320



  • “Formal Comparisons of Legislative Institutions: Comparing ideal points from the Chamber of Deputies and the Federal Senate”, Brazilian Political Science Review, vol.11 no.1, 2017. [link]
  • Freire, Danilo and Robert M. McDonnell (2018). prisonbrief: An R package that returns tidy data from the World Prison Brief website. Journal of Open Source Software, 3(22), 361, https://doi.org/10.21105/joss.00361
  • “Do Brazilian Legislators Care About Foreign Policy?”. Currently under review.


Professional References

Max Stabile, Director, IBPAD. +55 (11) 3042-0218; max@ibpad.com.br

Matias Spektor, Coordinator, Centre for International Relations, CPDOC, FGV São Paulo. +55 (11) 3799-3755; matias.spektor@fgv.br

Amâncio Oliveira, Director, Centro de Estudos das Negociações Internacionais, University of São Paulo. +55 (11) 3091- 0553; amanciocaeni@gmail.com


Downloadable pdf here