Tinyapps are some small scripts I have coded to support research or work, but are not related to research itself. I made them available both for teaching purposes (my students might get some inspiration) and to potentially make the life of my fellow researchers easier.

  • PyComtrade: implements the International Trade Statistics database API, pulls up data for partners, and years requested, and organize them into a Pandas DataFrame.
  • USPTO Scrapping: This script scrapes the data on patent counts by origin and type, available on the website of the U.S. Patent and Trademark Office (USPTO) as a html table, and organizes it in a Pandas DataFrame.


Tutorials are very annotated (but not necessarily structured) lessons on different topics. The annotations are meant to help the reader learn what the code is doing and learn by reading and replying it.

Codes and source files for papers

Below are the links to the code and source files that can be used to replicate the results of some papers I published.

Coursework Notebooks

  • Elementary Statistics with Python
  • Introductory Econometrics with Python
  • Time Series Econometrics with Python