# -------------------------------------------- # CITATION file created with {cffr} R package # See also: https://docs.ropensci.org/cffr/ # -------------------------------------------- cff-version: 1.2.0 message: 'To cite package "dragmapr" in publications use:' type: software license: MIT title: 'dragmapr: Create Draggable Plots from Projected Geometry' version: 0.2.0 doi: 10.32614/CRAN.package.dragmapr abstract: '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 make_hierarchy_key() and inherit_layout(), which 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) . Spatial data handling uses the ''sf'' package: Pebesma (2018) .' authors: - family-names: Arthur given-names: George email: prigasgenthian48@gmail.com orcid: https://orcid.org/0000-0002-1975-1459 repository: https://prigasg.r-universe.dev repository-code: https://github.com/PrigasG/dragmapr commit: 0cd9c2ae8e268ffcce42c9a8c1fc42ed60f75297 url: https://prigasg.github.io/dragmapr/ date-released: '2026-06-11' contact: - family-names: Arthur given-names: George email: prigasgenthian48@gmail.com orcid: https://orcid.org/0000-0002-1975-1459