Skip to main content

The WiNDC Household Data

Mitch Phillipson November 21, 2025


The WiNDC household data was created and has been maintained by Drew Schreiber. The data is pulled from a variety of sources using a sequence of R scripts. I am working on converting these methods into Julia, however I also need to be mindful of future maintenance in light of WiNDC funding. To that end, I am planning to create an R package that will contain the household data processing methods. Julia has the ability to call R code using the RCall.jl package, so this will allow me to use the R package within Julia scripts until I have time to write a native solution. Read more

Updating WiNDCNational with the Latest US Data

Mitch Phillipson November 14, 2025


The United States released 2024 updates to Supply/Use tables a few months ago. I have been working on a larger project and have not yet had time to view the updates and incorporate them into WiNDCNational. This past week I spent some time refining WiNDCNational and updating the documentation. Read more

Converting an NLP CGE Model to MPSGE

Mitch Phillipson November 07, 2025


This weeks blog post is going to be a little different. I created an example converting an NLP CGE model to MPSGE. You can find the code here and the documentation here. The repository contains all the code needed to run the models and compare the solutions. Read more

Creating Julia Packages

Mitch Phillipson October 31, 2025


It is entirely possible to write all your Julia code in a single script file. However, as your projects grow in size and complexity, organizing your code into packages can provide significant benefits. Today I’ll discuss how to create and manage Julia packages effectively. Read more

A Small Example Computing Bilateral Trade with a Gravity Model

Mitch Phillipson October 24, 2025


According to USA Trade, Louisiana exported approximately $22 billion worth of soybeans in 2022, accounting for 42.6% of all soybeans exported from the United States that year. However, Louisiana only produced about $575 million of soybeans. This discrepancy is due to the United States recording exports as originating from the last port of exit, rather than the actual location of production. In Louisiana’s case, a significant portion of the soybeans exported through its ports are grown in other states, particularly in the Midwest, and then transported via the Mississippi to Louisiana for export. Our goal is trace this production back to its source using a gravity model. These methods can be extended to see the value soybeans traveling from Wisconsin to China. Read more

Filter