How does H3 resolution affect my analysis?

H3 resolution controls hexagon size: lower numbers create larger hexagons for regional patterns, higher numbers create smaller hexagons for neighborhood-level detail.

Below we show the same municipality (São Paulo - SP) at different resolutions. Notice how finer resolutions reveal spatial patterns that are smoothed out at coarser scales.

The base function used in this example is the following, with res(resolution) being from 1 to 9.

library(cnefetools)

tracts_to_h3(
    code_muni = 3550308,
    h3_resolution = res
  )

H3 resolution = 1

H3 resolution = 2

H3 resolution = 3

H3 resolution = 4

H3 resolution = 5

H3 resolution = 6

H3 resolution = 7

H3 resolution = 8

H3 resolution = 9