Background

The burden of diabetes mellitus, which has large economic costs [1], is on the rise globally and is expected to continue increasing over the coming years. In Portugal, the National Health Examination Survey (INSEF) estimated that 9.8% of the adult population had diabetes, in 2015 [2], and an increasing trend of its incidence has been observed [3].

In 2017, type 2 diabetes mellitus (T2DM) affected 6.28% of the world’s population, while Portugal presented one of the highest prevalences in Europe [4]. T2DM is determined by genetic, lifestyle, environmental and socioeconomic factors. On the one hand, risk factors for T2DM include lower education levels, tobacco use, and a higher body mass index [5]. On the other hand, engagement in any type of physical activity and a higher intake of vegetables are considered protective factors [5].

Although physical activity is considered to be one of the main determinants of T2DM, globally, one-fourth of adults do not reach the recommended physical activity levels [6]. In the Portuguese population, only 34.2% of adults exercised regularly in 2015 [7].

Environmental and behavioural risk factors are modifiable through effective state interventions. Targeting modifiable risk factors, such as physical activity, is needed to reverse the trend in T2DM incidence. Understanding the factors that lead to its development is key for public interventions. The environment plays an important role in promoting healthy lifestyles and increasing the availability of opportunities for physical activity through active transport [8,9,10] and leisure-time walking [11]. Walkability is defined by how friendly an area is to walk and consists of two key aspects: proximity to destinations and connectivity. Proximity is determined by the (i) diversity of land use (e.g., offices, housing, commerce, entertainment, services) and (ii) density, which refers to the number of people, households or jobs distributed by an area unit [12,13,14]. Connectivity may be measured by the density of street intersections in a given area [14].

Area-level walkability has previously been shown to impact individual physical activity [14,15,16,17,18,19,20,21] and self-reported T2DM [19, 22]. However, little research has estimated the association of walkability with T2DM using a population-based sample [17, 21] and objective outcome measures, such as glycated haemoglobin (HbA1c) [17, 23, 24], which allows us to estimate more valid associations. To our knowledge, none of the studies that have simultaneously considered a population-based sample and an objective measure of diabetes have restricted the analysis to individuals without a previous diagnosis of diabetes either. This restriction allows, on the one hand, to eliminate the mean levels of HbA1c of individuals diagnosed with T2DM that are influenced by disease treatment and control and, on the other hand, to identify factors that may affect mean HbA1c levels before diabetes is diagnosed, permitting to obtain evidence for early action in disease prevention [25].

The aim of this study is to estimate the association between area-level walkability and individual levels of HbA1c in the Portuguese adult population without a previous diagnosis of diabetes.

Methods

Study population and sample

We used secondary data collected from the National Health Examination Survey (INSEF), a population based survey representative of the Portuguese adult population that has its methods thoroughly described elsewhere [26]. Our study population was the one from the INSEF 2015 performed in Portugal. INSEF followed a multistage sampling method, typical of surveys with geographical representativeness [26]. Data were collected at primary care centres (PCC) and included a general health questionnaire, physical examination, and blood collection for analysis, where HbA1c was assessed. A total of 4911 participants were obtained from 49 primary sampling units (PSU), with a response rate of 43.9% [27]. The study population included noninstitutionalized adults (25–74 years old) who had lived in Portugal for more than a year in 2015, and who were able to understand the Portuguese language [26]. Participants were required to have their current residency correspond to the PSU they were being selected from. Exclusion criteria for blood collection included the existence of chronic disease or known anaemia that would prevent this procedure [26].

We conducted a cross-sectional analysis restricted to individuals without a previous diagnosis of diabetes (by self-reported diagnosis made by a medical doctor or by self-reported use of antidiabetic medication in the two weeks before the INSEF interview) (Fig. 1). The exclusion of these individuals allowed i) to control for changes in HbA1c that are due to exposures other than those we are studying (e.g., antidiabetic medication) and ii) to identify factors that affect HbA1c levels before the diagnosis of diabetes and, therefore, to inform policies aimed at preventing the disease and promoting health. The identification of parishes for each participant was based on their residential address information from INSEF. Observations with missing values for HbA1c, residential parish or diabetes treatment or medical diagnosis were excluded from the sample. Some individuals were excluded from the study sample due to more than one criterion.

Fig. 1
figure 1

Study sample flow diagram

Exposure (walkability)

Parishes, the smallest Portuguese administrative division, were used as a scale of analysis of the association between walkability and HbA1c. Using smaller scales allows for a more specific estimation, since larger scales could mask important differences within area heterogeneity. In 2011, Portugal consisted of 3429 parishes with an average of 9241 residents and 27km2 of area.

The exposure variable was a walkability index at the area level for each Portuguese parish, categorized in tertiles, encompassing the total national territory. The methodology used as a ground framework to measure walkability was a composit index of three indicators [14]: i) residential density, the density of classic familiar housing from the census 2011, made available by Statistics Portugal; ii) land-use mix, the density of predominantly residential buildings and predominantly non-residential buildings from the census 2011 [28], which did not follow a traditional approach [14] since it was being assessed for a vast geographical area, for which disaggregated data were not available; and iii) street connectivity, the density of nodes between three or more walkable streets, from ArcGIS® StreetMap Premium. Finally, the index was calculated by computing the unweighted sum of the three standardized indicators. ArcGIS® version 10.8 was used to calculate the walkability index (WI) and depict its spatial distribution. The rationale for categorizing the walkability index into tertiles was based on established methods in the literature [16, 23] and practical considerations for interpretation. This categorization facilitates the interpretability of our findings and contributes to the robustness of our analysis. More details on the methodology used for this index can be found in (Supplementary Table 1).

Outcome (HbA1c)

Individual-level variables were obtained from INSEF 2015 and included the outcome variable, HbA1c. In this study, HbA1c was analysed as a continuous variable. In INSEF, all clinical analyses were performed in different regional laboratories, given the need for results within a maximum period of 24 hours after blood sample collection [26]. All blood sample collection procedures followed the recommendations of the European Health Examination Survey (EHES) [29]. The venous puncture procedure was based on the guidelines of the World Health Organization [30]. The sample collection did not require the participants to fast and the procedure was carried out by a clinical analysis technician or a nurse, using Clipse® [26]. A 2 mL tube (with ethylenediaminetetraacetic acid (EDTA)) of blood sample was used to measure HbA1c levels through high-performance liquid chromatography [26].

INSEF applied corrections to sampling weights to account for non-response in each region, to maintain representativeness and address potential biases [26]. However, it is important to acknowledge that non-response may be associated with individuals less interested in their health status, potentially leading to higher HbA1c values among non-responders. Additionally, exclusion criteria, such as residency in institutions or the inability to participate in interviews, may have led to the exclusion of individuals with more unfavourable health determinants and higher HbA1c levels [26]. These factors were considered in the interpretation of our study results.

Confounding variables

Individual-level covariates included age (25–29; 30–34; 35–39; 40–44; 45–49; 50–54; 55–59; 60–64; 65–69; 70–74), sex (male and female), education level (no education/1st cycle, 2nd/3rd cycle, secondary and tertiary) and employment status (employed, unemployed, and others without professional activity) [26].

At the area level, the Portuguese version of the European Deprivation Index (EDI) [31], categorized in quintiles, for each parish, was used as a covariate in the regression models, as it previously showed a significant association with HbA1c levels in the Portuguese population [25] and is expected to be associated with area-level walkability.

Statistical analysis

Descriptive statistics included the characteristics of the sampled individuals, presented as total and relative frequencies, for categorical variables and means and standard deviations (SD) for continuous variables. Comparison of the distribution of HbA1c between groups was performed using Student’s t test or nonparametric tests (i.e., Mann-Whitney or Kruskal-Wallis). The normality of the distribution was assessed using the Shapiro-Wilk test.

All estimates were weighted to account for the different selection probabilities resulting from a study design of complex samples and to correspond to the population distribution in terms of geographic region, age group and gender in 2015 [26]. Individuals with missing data in confounding variables were only excluded for that analysis, this was the case for “unemployment” and “educational level”.

We started by testing multilevel approach to account for the hierarchical structure of our data, where individuals are nested within parishes. Since the levels of HbA1c did not follow a Gaussian distribution, three multilevel generalized linear models were tested with normal, lognormal and gamma distributions [32, 33] using the command meglm from the svy package of Version 15 of Stata®. The selection of the model distribution was based on the smallest Akaike’s information criterion (AIC). We tested the aggregation of the observations regarding the clustering variable (parish) in a multilevel null model. Variance and the number of observations in each parish were analysed to consider a multilevel analysis.

To better measure the association between area-level walkability and HbA1c mean values, a multivariate, single-level analysis was run using a gamma regression with a log link. The selection of variables to properly adjust for confounding was performed according to a literature review, and using a directed acyclic graph (DAG), built in DAGitty v3 (Supplementary Fig. 1), and the backdoor method. Four models were tested in a forward fashion, using: i) the continuous outcome variable (mean HbA1c) and the exposure variable (area-level walkability tertiles); ii) the previous variables and demographic variables (i.e., sex and age group) [16, 17, 23, 24, 34,35,36]; iii) the previous variables and socioeconomic individual-level variables (i.e., education and employment) [16, 17, 23, 24, 34]; and iv) all previous variables adding the area-level socioeconomic deprivation index [16, 17, 24, 34].

We compared the mean values of HbA1c between classes of the exposure variable (walkability index), using the least walkable category as a reference. Exponentiated beta coefficients and respective 95% Confidence intervals (95% CI) are presented. The interpretation of the coefficients is as follows: (exp(β)-1)×100 mean percentage of change in HbA1c. The 95% CI of the coefficients and the standard error of the main association were used to assess the models.

All statistical analyses were performed in Stata® version 15, and the statistical confidence level was set at 95%.

Results

Characteristics of the study sample

A total of 4352 individuals, from 490 parishes (11.49% of the total number of Portuguese parishes in 2011), were included in the analysis. On average, each parish had 9 individuals, ranging in age from 1 to 71. This sample (Table 1) had a higher proportion of females (54.87%) and individuals aged between 40 and 44 years (13.56%). Regarding socioeconomic aspects, individuals with lower education levels (secondary school or lower) (81.67%) and employed individuals (63.76%) were more common. Finally, a greater number of participants (28.75%) lived in parishes with medium-high levels of socioeconomic deprivation (4th quintile).

The descriptive analysis of the sample according to the tertiles of walkability showed significant differences for: (i) the level of education (increasing levels of walkability were associated with an increase in education); and (ii) the socioeconomic deprivation (a higher proportion of participants living in the least and most walkable areas were in the 4th quintile of EDI (medium-high levels of socioeconomic deprivation) (35.66% and 33.38%), but those living in medium-walkable areas were mainly in the 2nd quintile of EDI (medium-low levels of socioeconomic deprivation) (25.17%)).

Table 1 Characteristics of INSEF 2015 participants without a previous diagnosis of diabetes and presenting data for parish and HbA1c (N = 4 352)

In the study sample, the mean HbA1c level was 5.35%, with a range of 3.7–14.1%. The median was 5.3% (25th percentile = 5.1%; 75th percentile = 5.6%). When analysing HbA1c regarding sample characteristics, female sex, younger age, higher education levels and employment shoed lower values (Supplementary Table 2). No significant association was found between the quintiles of socioeconomic area-level deprivation and the mean levels of HbA1c. The proportion of individuals with a mean HbA1c level above 6.5%, the currently recommended threshold for the diagnosis of diabetes [37], was 1.24%, which corresponds to underdiagnosis.

Area-level walkability

The spatial distribution of the walkability index among INSEF 2015 parishes is shown in Fig. 2. From the study sample, 16.82% of participants resided in least walkable areas (1st tertile), 23.37% in medium-walkable areas (2nd tertile), and 59.81% in most walkable areas (3rd tertile). More participants lived in areas of higher walkability due to the higher residential density of those parishes, therefore accommodating a higher number of individuals.

Fig. 2
figure 2

Map of Portugal referring to the tertiles of the walkability index in the parishes considered in INSEF 2015

Association between area-level walkability and HbA1c levels

The gamma distribution was considered for the HbA1c levels since it showed the lowest value of AIC. The null model, using only the outcome (HbA1c levels) and the clustering variable (parish), showed a low variance (near zero); therefore, random effects were considered statistically nonsignificant. Additionally, the number of observations in each parish was too low to run a multilevel analysis (Supplementary Table 3).

Single-level multivariate gamma regression results are presented in Table 2. The estimate of the ratio of mean HbA1c between walkability levels, in model 1 did not show statistically significant associations, although the coefficients were all below one [Exp(β) = 0.894(95% CI 0.797, 1.001) for medium-walkable and 0.898 (95% CI 0.795, 1.013) for most walkable], pointing to a protective association. Model 2, adding demographic variables, showed higher yet coefficients for the main association, with 0.904 (95% CI 0.815, 1.002) for medium walkable, and 0.909 (95% CI 0.815, 1.015) for most walkable, pointing to a reduction in the protective association but an increase in precision. Similarly, in model 3, with the addition of socioeconomic variables (educational level and employment), the coefficients of the main association increased again, with 0.905 (95% CI 0.817, 1.003) for the 2nd tertile of walkability and 0.917(95% CI 0.821, 1.025) for the 3rd tertile of walkability. Finally, in model 4, with the addition of area socioeconomic deprivation, the main association achieved statistical significance for the 2nd tertile of walkability showing an Exp(β) = 0.906(95% CI: 0.821, 0.999). The 3rd tertile of walkability, showed an Exp(β) = 0.919(95% CI: 0.822, 1.028). In the fully adjusted model (4), when compared to least walkable areas, living in medium-walkable areas reduced, in a statistically significant way, the mean levels of HbA1c in 9.4%, and living in most walkable areas reduced the mean levels of HbA1c in 8.1%. Since for most walkable areas, the estimated 95% CI included the value 1, the association was not considered statistically significant; however, it is very close to being significant.

Table 2 Results of single-level gamma regression of the association between walkability at the area level and mean HbA1c (n = 4352)

Discussion

In this study, we used a gamma regression to estimate the association of area-level walkability with mean HbA1c levels adjusted for confounding factors. Findings from this study revealed that individuals living in medium and most walkable areas (2nd and 3rd tertiles) were found to have lower mean levels of HbA1c than those living in least walkable areas (1st tertile). Although none of the estimates obtained by comparing most walkable (3rd tertile) with least walkable areas (1st tertile) achieved statistical significance, coefficients remained lower than 1, always suggesting a protective association. In the final adjusted model, living in a medium-walkable parish significantly reduced the mean levels of HbA1c by 9.4% (95% CI 0.1%, 17.9%) compared to living in the least walkable parish. Although not significant, most walkable areas presented a reduction of 8.1% (95% CI -2.8%, 17.8%) in the mean HbA1c levels compared to living in the least walkable area.

A previous meta-analysis estimated that most walkable areas reduced the risk of T2DM, with a pooled relative risk of 0.79 (95% CI 0.72, 0.87) [10]. Although the direction of the association is the same as that found in our study (walkability being a protective factor for T2DM), the studies included in this meta-analysis considered the T2DM diagnosis and not the mean levels of HbA1c, and they did not restrict the sample to individuals without a previous diagnosis of diabetes. A study published by Fazli et al. (2020), which performed the same restrictions as we did, found the prediabetes incidence to be 17% higher among participants living in the least versus most walkable neighbourhoods after adjustment for confounding factors [24]. Nevertheless, this estimate is also not comparable with ours since they are not comparing mean HbA1c levels, but prediabetes as a dichotomic variable. Additionally, their study used a nonrepresentative sample obtained from a laboratory database. This method can lead to selection bias because healthier people are less likely to use healthcare services and have laboratory exams undertaken, leading to an overestimation of the effect of walkability on HbA1c levels. Another recent study that used a similar methodology, found no statistically significant association between objectively measured walkability and change in HbA1c levels in the fully adjusted model, with coefficients of -1.12 (95% CI -2.26, 0.03) and − 0.45 (95% CI -0.162, 0.72) in the 2nd and 3rd tertiles, respectively [16]. This was a cohort study from The Netherlands, based on registries from the care centre, and therefore prone to selection biases too. Finally, a French study with a similar methodology also found no association between the walkability index and mean differences in HbA1c [23]. However, a nonsignificant increase in mean HbA1c levels was observed to be associated with high walkability in the main model. Although this is a population-based study like ours, consisting of a cross-sectional survey, it only restricted its sample to participants not reporting the use of diabetes medication in the sensitivity analysis. Using the same sample restrictions, Hajna et al. were also not able to find associations between neighbourhood environment and HbA1c [38].

In the present study, restricting the sample to individuals without a previous diagnosis of diabetes excludes those on glucose-lowering interventions, which is important to understand the true relationship between area-level walkability and HbA1c but could also reduce the strength of the association found. Individuals in the lower tertiles of walkability could present higher HbA1c levels but were excluded due to diagnosis, leading to a selective selection bias. This bias could lead to an underestimation of the association found here.

We observed that mean levels of HbA1c increased significantly from the medium to the most walkable areas. However, the association between area-level walkability and HbA1c mean levels may not be strong enough to reflect the statistical associations. Considering the indicators that we used to estimate the walkability index (residential density, land-use mix and street connectivity), we point out three other explanations for such phenomena.

The first explanation would be the burden associated with urban areas, which score better in the index but also present higher frequencies of some environmental risk factors for T2DM, such as: i) the food environment [39]; ii) the socioeconomic environment [39]; and iii) the physical environment (e.g., higher levels of air pollution and noise and lower green space availability) [10, 40]. Such a phenomenon, with opposite effects on walkability, could underestimate the association reported here. In our study, we were able to decrease the confounding bias of the second by adjusting for area socioeconomic deprivation, which led to an increase in the precision of the association of interest in model 5. Future studies should consider including the food environment (e.g., availability of fast-food restaurants) and physical environment (e.g., PM10, NO2, green space availability, or noise levels) to test this hypothesis.

The second explanation could be the potentially negative effect of too high area-level walkability. Counterintuitively, hyper-proximity of destinations could reduce the cumulative periods of physical activity. Actually, a cohort study of diabetic people who considered neighbourhood self-selection, developed in The Netherlands, found that higher neighbourhood walkability was associated with lower physical activity [16]. Another Canadian study observed associations between higher neighbourhood walkability and lower obesity and decreased incidence of diabetes, but not with physical activity [41]. On the one hand, this justifies the importance of clarifying the levels of physical activity in areas of extremely high density and land-use mix. On the other hand, this supports the potential importance of other pathways in the causal association than physical activity, since indirect mechanisms could mediate this association [16, 34, 41].

Finally, the third explanation is based on the hypothesis that areas in the 3rd tertile of walkability may present very different contexts, which include city centres (e.g., Porto and Lisbon) and suburban areas (e.g., Vila Nova de Gaia and Amadora). Although city centres are more favourable to active transport, in the periphery there will be a greater tendency towards commuting and, therefore, the use of passive transport (e.g., trains or cars) [42]. In fact, suburban areas have been recently identified as the worst of the two worlds, with the deleterious effects of urban and rural settings. A study from the United Kingdom found a U-shaped association between residential density and physical activity, where suburban areas (1800–3200 units per km2) presented the worst health outcomes [43]. Future studies should consider the double burden of suburban areas.

Our study has some limitations. First, in the INSEF sample, the number of individuals per parish was small, and several authors report a minimum of 20–30 individuals per group to justify running a multilevel model [44, 45]. Additionally, the variance of the random effects (referring to the area level) was very close to zero, meaning that the between-group differences for each parish with regard to HbA1c are not relevant. However, running a single-level analysis should not affect the answer to the research question in this case, since there is no interest in identifying independent units (e.g., parishes with better or worse HbA1c levels). Other studies with similar sampling reported single-level models in their analysis [19, 46]. Second, the place of residence of INSEF participants was the place in which they lived for at least 12 months. Thus, for individuals who recently changed from one parish to another, the influence of area walkability on the mean levels of HbA1c was unclear. Third, in Portugal, parishes vary in population size and area and may contain subgroups with diverse degrees of walkability. Such misclassification bias could be reduced if an area-level variable with smaller geographical units was considered, such as neighbourhoods. The number of INSEF participants in each would be very small, leading to a lack of statistical power and increasing random errors. Moreover, many policy interventions are implemented at the parish level, making this analysis relevant for assessing intervention impacts and tailoring strategies to local needs. Fourth, observational aspects of the urban environment (e.g., safety and aesthetics) were not considered in this study [47]. These aspects have previously been shown to have a positive influence on diabetes [48] and could underestimate the associations found here. Fifth, the least walkable areas may foster individuals with higher HbA1c levels because of reduced access to health promotion and disease prevention services. Although this aspect may contribute to the reported associations being stronger, only 1.24% of the individuals included in our analysis had HbA1c levels above the cut-off for diabetes diagnosis. Furthermore, although regional disparities are present in Portugal, primary care is universal and free in all territory [49]. Sixth, the exclusion criteria employed by INSEF 2015 may have resulted in the leaving out individuals with poorer health determinants and elevated HbA1c levels, potentially exerting an influence on our findings and attenuating the strength of our main association. Seventh, factors other than glycemia may influence HbA1c levels, these include changes in erythropoiesis, haemoglobinopathies, status that increase or decrease glycation, erythrocyte destruction, and factors that may influence the assays [37], That said, the use of HbA1c is still the most widely accepted method to diagnose DM.

The major strength of this study is the fact that it combined, a population-based sample, representative of the Portuguese adult population, and an objective measure of diabetes (HbA1c). Instead of self-reporting, by using an objective exposure variable [17, 21, 24, 41] and an objective outcome measure [17, 23, 24, 50], in addition to using covariates such as the Portuguese version of the European Deprivation Index, this study is easily replicable in time and space and allows comparison between countries. Furthermore, the restriction of analysis to individuals without a previous diagnosis of diabetes may lead to knowledge that is helpful for disease prevention [24, 50]. Thus, our study may be useful to formulate preventive solutions that act sooner in the natural history of disease, preventing its installation. Additionally, this work was able to develop a walkability index for the entirety of Portugal, which did not yet exist and could serve as a basis for other future investigations.

Conclusion

Our findings suggest a nonlinear protective effect of walkability on T2DM. This study highlights the importance of considering the aspects of walkability in urban planning, with the goal of preventing diabetes and promoting health through environmental policies. In addition, this walkability index can be used as an informative tool for policy makers when developing urban plans.