We include here the code used to obtain the data presented in tables and figures in the study "Trends in Racial and Ethnic Disparities in Barriers to Timely Medical Care Among US Adults, 1999 to 2018". The study is available from https://doi.org/10.1101/2022.02.07.22270599