Package: dragmapr Title: Create Draggable Plots from Projected Geometry Version: 0.3.1 Authors@R: person("George", "Arthur", , "prigasgenthian48@gmail.com", role = c("aut", "cre"), comment = c(ORCID = "0000-0002-1975-1459")) 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 d_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) . Spatial data handling uses the 'sf' package: Pebesma (2018) . License: MIT + file LICENSE URL: https://prigasg.github.io/dragmapr/, https://huggingface.co/spaces/Prigas89/spatial-pipeline-studio, https://Prigas89-dragmapr-spatial-studio.hf.space, https://prigas89-dragmapr.share.connect.posit.cloud BugReports: https://github.com/PrigasG/dragmapr/issues Imports: ggplot2, grid, htmltools, htmlwidgets, jsonlite, rlang, sf, stats, tools, utils Suggests: bslib, dplyr, explodemap (>= 0.4.0), glasstabs, knitr, later, miniUI, pkgdown, rmarkdown, shiny, shinyWidgets (>= 0.8.6), spelling, testthat (>= 3.0.0) VignetteBuilder: knitr Config/testthat/edition: 3 Encoding: UTF-8 Roxygen: list(markdown = TRUE) RoxygenNote: 7.3.3 Language: en-US Config/pak/sysreqs: libabsl-dev cmake libgdal-dev gdal-bin libgeos-dev make libuv1-dev libssl-dev libproj-dev libsqlite3-dev libudunits2-dev Repository: https://prigasg.r-universe.dev Date/Publication: 2026-09-21 02:22:16 UTC RemoteUrl: https://github.com/prigasg/dragmapr RemoteRef: HEAD RemoteSha: 7ff659a098ad754dc0e332918546fe3ce25aa8e2 NeedsCompilation: no Packaged: 2026-09-21 05:16:19 UTC; root Author: George Arthur [aut, cre] (ORCID: ) Maintainer: George Arthur