Other packages > Find by keyword >

dragmapr  

Create Draggable Plots from Projected Geometry
View on CRAN: Click here


Download and install dragmapr package within the R console
Install from CRAN:
install.packages("dragmapr")

Install from Github:
library("remotes")
install_github("cran/dragmapr")

Install by package version:
library("remotes")
install_version("dragmapr", "0.2.0")



Attach the package and use:
library("dragmapr")
Maintained by
George Arthur
[Scholar Profile | Author Map]
All associated links for this package
First Published: 2026-06-22
Latest Update: 2026-06-22
Description:
Creates interactive draggable plots from grouped projected 'sf' geometry. The primary deliverable is a browser-based 'D3' helper where regions and labels can be moved freely; users drag, then copy or download the resulting offset tables. Labels can be derived automatically with make_region_labels(), supplied directly with as_drag_labels(), and their moved positions saved and restored with read_label_state() and apply_label_state(). Hierarchical spatial datasets are supported via hierarchy detection, upload profiling, make_hierarchy_key(), and inherit_layout(), which recommend parent-child groupings and propagate parent-level drag offsets to finer child groupings. Automatic starting layouts are provided by suggest_offsets() using radial, grid, or directional algorithms. Spatial file diagnostics are available through dragmapr_diagnostics(). When a reproducible static image is also needed, render_dragged_map() reconstructs the layout as a 'ggplot2' plot from the source geometry plus the exported offset tables. Project bundles can be written with write_dragmapr_project() and rendered with render_dragmapr_project(). The interactive layer is built on the 'D3' library: Bostock, Ogievetsky and Heer (2011) <doi:10.1109/TVCG.2011.185>. Spatial data handling uses the 'sf' package: Pebesma (2018) <doi:10.32614/RJ-2018-009>.
How to cite:
George Arthur (2026). dragmapr: Create Draggable Plots from Projected Geometry. R package version 0.2.0, https://cran.r-project.org/web/packages/dragmapr. Accessed 07 Oct. 2026.
Previous versions and publish date:
No previous versions
Other packages that cited dragmapr R package
View dragmapr citation profile
Other R packages that dragmapr depends, imports, suggests or enhances
Complete documentation for dragmapr
Functions, R codes and Examples using the dragmapr R package
Full dragmapr package functions and examples
Downloads during the last 30 days

Today's Hot Picks in Authors and Packages

skewlmm  
Scale Mixture of Skew-Normal Linear Mixed Models
It fits scale mixture of skew-normal linear mixed models using an expectation–maximization (EM) ty ...
Download / Learn more Package Citations See dependency  
ggTimeSeries  
Time Series Visualisations Using the Grammar of Graphics
Provides additional display mediums for time series visualisations. ...
Download / Learn more Package Citations See dependency  
splm  
Econometric Models for Spatial Panel Data
ML and GM estimation and diagnostic testing of econometric models for spatial panel data. ...
Download / Learn more Package Citations See dependency  
blandr  
Bland-Altman Method Comparison
Carries out Bland Altman analyses (also known as a Tukey mean-difference plot) as described by JM B ...
Download / Learn more Package Citations See dependency  
plaqr  
Partially Linear Additive Quantile Regression
Estimation, prediction, thresholding, transformation, and plotting for partially linear additive qua ...
Download / Learn more Package Citations See dependency  
nextGenShinyApps  
Craft Exceptional 'R Shiny' Applications and Dashboards with Novel Responsive Tools
Nove responsive tools for designing and developing 'Shiny' dashboards and applications. The scripts ...
Download / Learn more Package Citations See dependency  

28,905

R Packages

247,686

Dependencies

76,495

Author Associations

28,906

Publication Badges

© Copyright since 2022. All right reserved, rpkg.net.  Based in Cambridge, Massachusetts, USA