This code describes the construction of both the domains as well as an overall index score of Access to Healthy Assets and Hazards. The domains of the index are a) accessibility to retailers, b) environment quality, and c) accessibility to health service providers.