Package: duckh3 0.3.0

duckh3: H3 Extension of 'DuckDB'
Fast & memory-efficient functions to work with the 'H3' hierarchical hexagonal grid system on large data sets. It leverages the fast analytical capabilities of 'DuckDB' and its community 'h3' extension (see <https://duckdb.org/community_extensions/extensions/h3>), while maintaining compatibility with R's spatial data ecosystem.
Authors:
duckh3_0.3.0.tar.gz
duckh3_0.3.0.zip(r-4.7-any)duckh3_0.3.0.zip(r-4.6-any)duckh3_0.3.0.zip(r-4.5-any)
duckh3_0.3.0.tgz(r-4.6-any)duckh3_0.3.0.tgz(r-4.5-any)
duckh3_0.3.0.tar.gz(r-4.7-any)duckh3_0.3.0.tar.gz(r-4.6-any)
duckh3_0.3.0.tgz(r-4.6-emscripten)
manual.pdf |manual.html✨
DESCRIPTION |NEWS
card.svg |card.png
duckh3/json (API)
| # Install 'duckh3' in R: |
| install.packages('duckh3', repos = c('https://cidree.r-universe.dev', 'https://cloud.r-project.org')) |
Bug tracker:https://github.com/cidree/duckh3/issues
Pkgdown/docs site:https://cidree.github.io
Last updated from:cd46c95b26. Checks:9 OK. Indexed: yes.
| Target | Result | Time | Files | Syslog |
|---|---|---|---|---|
| linux-devel | OK | 156 | ||
| source / vignettes | OK | 220 | ||
| linux-release | OK | 181 | ||
| macos-release | OK | 134 | ||
| macos-oldrel | OK | 181 | ||
| windows-devel | OK | 141 | ||
| windows-release | OK | 114 | ||
| windows-oldrel | OK | 137 | ||
| wasm-release | OK | 124 |
Exports:ddbh3_bigint_to_stringsddbh3_child_pos_to_cellddbh3_compactddbh3_create_connddbh3_default_connddbh3_digits_to_h3ddbh3_edge_to_destinationddbh3_edge_to_h3ddbh3_edge_to_originddbh3_edge_to_spatialddbh3_get_areaddbh3_get_base_cell_numberddbh3_get_center_childddbh3_get_child_posddbh3_get_childrenddbh3_get_edge_lengthddbh3_get_hexagon_area_avgddbh3_get_hexagon_edge_length_avgddbh3_get_icosahedron_facesddbh3_get_n_childrenddbh3_get_parentddbh3_get_resolutionddbh3_great_circle_distanceddbh3_grid_diskddbh3_grid_disk_distancesddbh3_grid_distanceddbh3_grid_path_cellsddbh3_grid_ringddbh3_h3_to_edgeddbh3_h3_to_edgesddbh3_h3_to_latddbh3_h3_to_local_ijddbh3_h3_to_londdbh3_h3_to_pointsddbh3_h3_to_spatialddbh3_h3_to_vertexddbh3_h3_to_vertexesddbh3_is_edgeddbh3_is_h3ddbh3_is_indexddbh3_is_neighborddbh3_is_pentagonddbh3_is_res_class_iiiddbh3_is_vertexddbh3_lines_to_h3ddbh3_lines_to_spatialddbh3_local_ij_to_h3ddbh3_lonlat_to_h3ddbh3_lonlat_to_spatialddbh3_max_grid_disk_sizeddbh3_points_to_h3ddbh3_points_to_spatialddbh3_polygons_to_h3ddbh3_polygons_to_spatialddbh3_reverse_edgeddbh3_strings_to_bigintddbh3_uncompactddbh3_vertex_to_latddbh3_vertex_to_londdbh3_vertex_to_spatial
Dependencies:arrowassertthatbitbit64blobclassclassIntclicpp11DBIdbplyrdplyrduckdbduckspatiale1071genericsgeoarrowgluejsonliteKernSmoothlifecyclemagrittrnanoarrowpillarpkgconfigproxypurrrR6Rcpprlangs2sfstringistringrtibbletidyrtidyselectunitsutf8uuidvctrswithrwk
Readme and manuals
Help Manual
| Help page | Topics |
|---|---|
| Get an H3 child cell from a parent and child position | ddbh3_child_pos_to_cell |
| Compact and uncompact sets of H3 cells | ddbh3_compact ddbh3_uncompact |
| Create a DuckDB connection with spatial and h3 extensions | ddbh3_create_conn |
| Get or create default DuckDB connection | ddbh3_default_conn |
| Build H3 cells from a base cell and digits | ddbh3_digits_to_h3 |
| Work with H3 directed edges | ddbh3_edge ddbh3_edge_to_destination ddbh3_edge_to_h3 ddbh3_edge_to_origin ddbh3_edge_to_spatial ddbh3_get_edge_length ddbh3_h3_to_edge ddbh3_h3_to_edges ddbh3_reverse_edge |
| Convert polygon or linestring geometries to H3 cell representations | ddbh3_geom_to ddbh3_lines_to_h3 ddbh3_lines_to_spatial ddbh3_polygons_to_h3 ddbh3_polygons_to_spatial |
| Get the area of H3 cells | ddbh3_get_area |
| Get the base cell number of an H3 cell | ddbh3_get_base_cell_number |
| Get the position of an H3 cell within its parent | ddbh3_get_child_pos |
| Get the average area and edge length of H3 hexagons | ddbh3_get_hexagon_area_avg ddbh3_get_hexagon_avg ddbh3_get_hexagon_edge_length_avg |
| Get parent and children H3 cells | ddbh3_get_center_child ddbh3_get_children ddbh3_get_hierarchy ddbh3_get_n_children ddbh3_get_parent |
| Get the icosahedron faces of H3 cell indexes | ddbh3_get_icosahedron_faces |
| Get the resolution of H3 cell indexes | ddbh3_get_resolution |
| Get the great circle distance between two points | ddbh3_great_circle_distance |
| Get H3 grid neighborhoods (disks, rings, and distances) | ddbh3_grid_disk ddbh3_grid_disk_distances ddbh3_grid_ring |
| Get the grid distance between two H3 cells | ddbh3_grid_distance |
| Find a grid path connecting two H3 cells | ddbh3_grid_path_cells |
| Convert H3 string or UBIGINT indexes to other representations | ddbh3_bigint_to_strings ddbh3_h3_to ddbh3_h3_to_lat ddbh3_h3_to_lon ddbh3_h3_to_points ddbh3_h3_to_spatial ddbh3_strings_to_bigint |
| Check properties of H3 cell indexes | ddbh3_is ddbh3_is_edge ddbh3_is_h3 ddbh3_is_index ddbh3_is_pentagon ddbh3_is_res_class_iii ddbh3_is_vertex |
| Check if two H3 cells are neighbors | ddbh3_is_neighbor |
| Work with H3 local IJ coordinates | ddbh3_h3_to_local_ij ddbh3_local_ij ddbh3_local_ij_to_h3 |
| Convert longitude and latitude to H3 cell representations | ddbh3_lonlat_to ddbh3_lonlat_to_h3 ddbh3_lonlat_to_spatial |
| Get the maximum grid disk size for a given distance k | ddbh3_max_grid_disk_size |
| Convert spatial points to H3 cell representations | ddbh3_points_to ddbh3_points_to_h3 ddbh3_points_to_spatial |
| Convert H3 cell indexes to vertex representations | ddbh3_h3_to_vertex ddbh3_h3_to_vertexes ddbh3_vertex ddbh3_vertex_to_lat ddbh3_vertex_to_lon ddbh3_vertex_to_spatial |
