Retrieves Ontario Public Health Unit (PHU) boundaries from the LIO
Open Data REST service (LIO_Open09/44).
Arguments
- simplify
Logical. If
TRUE(the default), requests generalized geometry from the service (maxAllowableOffset = 1e-04, i.e. 0.0001 degrees, since the service returns EPSG:4326 – roughly 11 m on the ground) to reduce payload size. Set toFALSEif you need full-precision geometry, but be aware that the LIO service may fail to serve the full-resolution layer intermittently; if that occurs, retry withsimplify = TRUEor setrefresh = TRUE.- refresh
Logical. If
TRUE, bypasses any cached copy and re-fetches from the live API. Defaults toFALSE.- max_age
Numeric or
NULL. Maximum acceptable cache age in days; older entries are re-fetched. Defaults toNULL.