Finance, Tech, Law

Project \| W. Ding

English | 中文

Standardize Country Code

This tool helps researcher to standardize the country names from various data source into uniformed country code.

This dataset is now cross-sectional. A panel data that takes regime change is under consideration. Please feel free to contact me if you want to contribute!

Coding Notes

These are the notes of my coding practices, mainly written in Python. Some nice problems (from my perspective) are listed. You may take a look at those problems and try to solve it.

PyReminder

This is a Python decorator that can send email as notification. After append this decorator to the function, once the function finished, it will send you an email. This is especially useful in two scenarios:

  • Routine task: Some automation tasks executing daily, you may want an email to tell you whether it goes well or has problem.
  • Time-consuming task: For example, machine learning or large dataset processing, an email notification can let you safely work on other things and come back at right time.

Error Catcher

This is a convenient Python decorator to catch the errors information. Meanwhile, it can also capture the value of (1) variables related to that error or (2) other variables you interested at the time the error occurs. It support logging as well as printing directly. In short, this tool is more advanced and convenient than the original try & except statement in handling errors.

These are link tables between SIC and various versions of Fama French industry classification.

Server User Guide

A wiki for connecting remote Linux server for academic research. Currently the website is in Chinese. Localization is welcomed!