Package: dggridR 3.1.0

Sebastian Krantz

dggridR: Discrete Global Grids

Spatial analyses involving binning require that every bin have the same area, but this is impossible using a rectangular grid laid over the Earth or over any projection of the Earth. Discrete global grids use hexagons, triangles, and diamonds to overcome this issue, overlaying the Earth with equally-sized bins. This package provides utilities for working with discrete global grids, along with utilities to aid in plotting such data.

Authors:Richard Barnes [aut], Kevin Sahr [aut, cph], Gerald Evenden [cph], Angus Johnson [cph], Frank Warmerdam [cph], Even Rouault [cph], Lian Song [ctb], Sebastian Krantz [ctb, cre]

dggridR_3.1.0.tar.gz
dggridR_3.1.0.zip(r-4.5)dggridR_3.1.0.zip(r-4.4)dggridR_3.1.0.zip(r-4.3)
dggridR_3.1.0.tgz(r-4.4-x86_64)dggridR_3.1.0.tgz(r-4.4-arm64)dggridR_3.1.0.tgz(r-4.3-x86_64)dggridR_3.1.0.tgz(r-4.3-arm64)
dggridR_3.1.0.tar.gz(r-4.5-noble)dggridR_3.1.0.tar.gz(r-4.4-noble)
dggridR_3.1.0.tgz(r-4.4-emscripten)dggridR_3.1.0.tgz(r-4.3-emscripten)
dggridR.pdf |dggridR.html
dggridR/json (API)
NEWS

# Install 'dggridR' in R:
install.packages('dggridR', repos = c('https://fastverse.r-universe.dev', 'https://cloud.r-project.org'))

Peer review:

Bug tracker:https://github.com/r-barnes/dggridr/issues

Uses libs:
  • c++– GNU Standard C++ Library v3
Datasets:
  • dgquakes - All earthquakes with magnitude >=3.0 earthquakes for 2015

On CRAN:

45 exports 3 stars 6.60 score 14 dependencies 1 dependents 368 scripts 507 downloads

Last updated 5 days agofrom:a1033e8809. Checks:OK: 9. Indexed: no.

TargetResultDate
Doc / VignettesOKSep 30 2024
R-4.5-win-x86_64OKSep 30 2024
R-4.5-linux-x86_64OKSep 30 2024
R-4.4-win-x86_64OKSep 30 2024
R-4.4-mac-x86_64OKSep 30 2024
R-4.4-mac-aarch64OKSep 30 2024
R-4.3-win-x86_64OKSep 30 2024
R-4.3-mac-x86_64OKSep 30 2024
R-4.3-mac-aarch64OKSep 30 2024

Exports:dg_closest_resdg_closest_res_to_areadg_closest_res_to_clsdg_closest_res_to_spacingdg_shpfname_south_africadgcellstogriddgconstructdgearthgriddgGEO_to_GEOdgGEO_to_PLANEdgGEO_to_PROJTRIdgGEO_to_Q2DDdgGEO_to_Q2DIdgGEO_to_SEQNUMdggetresdginfodgmaxcelldgPROJTRI_to_GEOdgPROJTRI_to_PLANEdgPROJTRI_to_PROJTRIdgPROJTRI_to_Q2DDdgPROJTRI_to_Q2DIdgPROJTRI_to_SEQNUMdgQ2DD_to_GEOdgQ2DD_to_PLANEdgQ2DD_to_PROJTRIdgQ2DD_to_Q2DDdgQ2DD_to_Q2DIdgQ2DD_to_SEQNUMdgQ2DI_to_GEOdgQ2DI_to_PLANEdgQ2DI_to_PROJTRIdgQ2DI_to_Q2DDdgQ2DI_to_Q2DIdgQ2DI_to_SEQNUMdgrectgriddgSEQNUM_to_GEOdgSEQNUM_to_PLANEdgSEQNUM_to_PROJTRIdgSEQNUM_to_Q2DDdgSEQNUM_to_Q2DIdgSEQNUM_to_SEQNUMdgsetresdgshptogriddgverify

Dependencies:classclassIntcollapseDBIe1071KernSmoothmagrittrMASSproxyRcpps2sfunitswk

dggridR: Discrete Global Grids for R

Rendered fromdggridR.Rmdusingknitr::rmarkdownon Sep 30 2024.

Last update: 2024-05-21
Started: 2016-07-09

Kevin Sahr's DGGRID Manual

Rendered fromdggrid_v62_manual.pdf.asisusingR.rsp::asison Sep 30 2024.

Last update: 2016-07-12
Started: 2016-07-12

Readme and manuals

Help Manual

Help pageTopics
Determine an appropriate grid resolution based on input data.dg_closest_res
Determine resolution based on desired areadg_closest_res_to_area
Determine an appropriate grid resolution based on a desired characteristic length scale of the cells.dg_closest_res_to_cls
Determine grid resolution from desired spacing.dg_closest_res_to_spacing
Control global aspects of the dggridR packagedg_env
Load a KML filedg_process_polydata
National border of South Africadg_shpfname_south_africa
Return boundary coordinates for specified cellsdgcellstogrid
Construct a discrete global grid system (dggs) objectdgconstruct
Return the coordinates constituting the boundary of cells for the entire Earthdgearthgrid
Convert from GEO to GEOdgGEO_to_GEO
Convert from GEO to PLANEdgGEO_to_PLANE
Convert from GEO to PROJTRIdgGEO_to_PROJTRI
Convert from GEO to Q2DDdgGEO_to_Q2DD
Convert from GEO to Q2DIdgGEO_to_Q2DI
Convert from GEO to SEQNUMdgGEO_to_SEQNUM
Get table of grid resolution informationdggetres
Print info about a dggs object to the screendginfo
Get largest cell id for a dggsdgmaxcell
Convert from PROJTRI to GEOdgPROJTRI_to_GEO
Convert from PROJTRI to PLANEdgPROJTRI_to_PLANE
Convert from PROJTRI to PROJTRIdgPROJTRI_to_PROJTRI
Convert from PROJTRI to Q2DDdgPROJTRI_to_Q2DD
Convert from PROJTRI to Q2DIdgPROJTRI_to_Q2DI
Convert from PROJTRI to SEQNUMdgPROJTRI_to_SEQNUM
Convert from Q2DD to GEOdgQ2DD_to_GEO
Convert from Q2DD to PLANEdgQ2DD_to_PLANE
Convert from Q2DD to PROJTRIdgQ2DD_to_PROJTRI
Convert from Q2DD to Q2DDdgQ2DD_to_Q2DD
Convert from Q2DD to Q2DIdgQ2DD_to_Q2DI
Convert from Q2DD to SEQNUMdgQ2DD_to_SEQNUM
Convert from Q2DI to GEOdgQ2DI_to_GEO
Convert from Q2DI to PLANEdgQ2DI_to_PLANE
Convert from Q2DI to PROJTRIdgQ2DI_to_PROJTRI
Convert from Q2DI to Q2DDdgQ2DI_to_Q2DD
Convert from Q2DI to Q2DIdgQ2DI_to_Q2DI
Convert from Q2DI to SEQNUMdgQ2DI_to_SEQNUM
All earthquakes with magnitude >=3.0 earthquakes for 2015dgquakes
Return the coordinates constituting the boundary of cells within a specified regiondgrectgrid
Saves a generated grid to a shapefiledgsavegrid
Convert from SEQNUM to GEOdgSEQNUM_to_GEO
Convert from SEQNUM to PLANEdgSEQNUM_to_PLANE
Convert from SEQNUM to PROJTRIdgSEQNUM_to_PROJTRI
Convert from SEQNUM to Q2DDdgSEQNUM_to_Q2DD
Convert from SEQNUM to Q2DIdgSEQNUM_to_Q2DI
Convert from SEQNUM to SEQNUMdgSEQNUM_to_SEQNUM
Set the resolution of a dggs objectdgsetres
Return boundary coordinates for cells intersecting a shapefiledgshptogrid
Verify that a dggs object has appropriate valuesdgverify