Coding for Greenspace & Telomere study
Code and background for publication
Our study on the relationship between greenspace exposure and teloemere length - The relationship between greenspace exposure and telomere length in the National Health and Nutrition Examination Survey - was recently published in Science of the Total Environment. While our analysis relied on data that was restricted, the code we used could be useful to others pursuing similar work. Additionally, making our code available allows for others to see what exactly we did, in case that is helpful.
The National Health and Nutrition Examination Survey (NHANES) is a valuable data source providing a rich dataset on health in the USA. When you have research questions like ours, that depends on the location of participants, things get more difficult. To access this information requires application to the National Center for Health Statistics at the Centers for Disease Control. The process includes fully proposing your analysis, including the table shells that you will fill in (hopefully), before gaining access. For our work we chose to follow previous analysis strategies. Like any good researcher, once you get to see what your data looks like many new questions arise. We would hope to follow up our work to explore the data more but are limited in the time and money it takes to propose new analyses of the NHANES data.
Our R code used within the Research Data Center can be found here