This project contains all programming codes and data that can be used to replicate analyses in Song, Xi, Karen A. Rolf, Joseph P. Ferrie, Catherine G. Massey, and Yu Xie. 2019. "Long-TermDecline in Intergenerational Social Mobility in the United States, 1850–2015."