View source: R/info_utilities.R
num_cells | R Documentation |
This function returns total number of H3 cells at a given resolution.
num_cells(res = NULL, fast = TRUE)
res |
Integer; Desired H3 resolution. See https://h3geo.org/docs/core-library/restable/ for allowable values and related dimensions. |
fast |
Logical; whether to retrieve values from a locally stored table or recalculate from source. |
Numeric; H3 cell count.
Above resolution 8 the exact count cannot be represented in a JavaScript 32-bit number, so consumers should use caution when applying further operations to the output.
# Return cell count for resolution 8 num_cells(res = 8)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.