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 06 Aug. 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

TMDb  
Access to TMDb API
Provides an R-interface to the TMDb API (see TMDb API on < ...
Download / Learn more Package Citations See dependency  
r2resize  
In-Text Resize for Images, Tables and Fancy Resize Containers in 'shiny', 'rmarkdown' and 'quarto' Documents
Automatic resizing toolbar for containers, images and tables. Various resizable or expandable contai ...
Download / Learn more Package Citations See dependency  
SAMBA  
Selection and Misclassification Bias Adjustment for Logistic Regression Models
Health research using data from electronic health records (EHR) has gained popularity, but miscla ...
Download / Learn more Package Citations See dependency  
RRedshiftSQL  
R Interface to the 'Redshift' Database
Superclasses 'PostgreSQL' connection to help enable full 'dplyr' functionality on 'Redshift'. ...
Download / Learn more Package Citations See dependency  
lsmeans  
Least-Squares Means
Obtain least-squares means for linear, generalized linear, and mixed models. Compute contrasts or l ...
Download / Learn more Package Citations See dependency  

28,083

R Packages

239,283

Dependencies

74,457

Author Associations

28,084

Publication Badges

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