Using the household panel data from Townsend Thai data, we create the economic and balance of payments accounts for a set of villages in rural and semiurban areas of Thailand. We then study these village economies as small open countries, as in international economics, exploring in particular the relationship between the real (production and trade) and financial (credit and financial flows) var...