Code and Data: Do Sunk Costs Affect Prices in the Housing Market?
Dimuthu Ratnadiwakara & Vijay Yerramilli
May 25, 2019
Main Results
Step 1: Cleaning Zillow Listings
Raw data collected from zillow listings
R code to clean raw zillow lisings
Cleaned raw data
Step 2: Cleaning ZTRAX data and merging zillow listings
Code
Cleaned and merged data
Step 3: Results
Code
Other Files
Merge sale and purchase transaction data in ZTRAX
Merge the purchase transaction for all homes
Raw listing data for other states
Clean and merge listing data with ZTRAX: other states
Clean ZTRAX Data
Open ZTRAX files in Stata and save again (
Asmt
and
Trans
)
Convert text files to rds (
Asmt
and
Trans
)
Cleaned ZTRAX Files