{
  "_id": "6a4791bc8b9f0d9747cf1dfb",
  "Package": "SUNGEO",
  "Type": "Package",
  "Title": "Sub-National Geospatial Data Archive: Geoprocessing Toolkit",
  "Version": "1.4.0",
  "Date": "2026-05-28",
  "Authors@R": "c(person(given = c(\"Yuri\", \"M.\"),\nfamily = \"Zhukov\",\nrole = c(\"aut\", \"cre\"),\nemail = \"ymz2@georgetown.edu\"),\nperson(given = \"Jason\",\nfamily = \"Byers\",\nrole = \"aut\"),\nperson(given = \"Marty\",\nfamily = \"Davidson\",\nrole = \"aut\"))",
  "Description": "Integrates spatially-misaligned GIS datasets across\nincompatible geographic units. Part of the Sub-National\nGeospatial Data Archive System. For the underlying methods, see\nZhukov, Byers, Davidson, and Kollman (2024) \"Integrating Data\nAcross Misaligned Spatial Units,\" Political Analysis, Volume\n32, Number 1, pp. 17-33 <doi:10.1017/pan.2023.5>.",
  "URL": "https://www.sungeo.org/, https://github.com/zhukovyuri/SUNGEO",
  "License": "GPL-2",
  "Encoding": "UTF-8",
  "LazyData": "TRUE",
  "Config/roxygen2/version": "8.0.0",
  "Config/pak/sysreqs": "libabsl-dev cmake libgdal-dev gdal-bin libgeos-dev\nlibicu-dev libssl-dev libproj-dev libsqlite3-dev\nlibudunits2-dev libnode-dev libx11-dev",
  "Repository": "https://zhukovyuri.r-universe.dev",
  "Date/Publication": "2026-05-28 17:41:41 UTC",
  "RemoteUrl": "https://github.com/zhukovyuri/sungeo",
  "RemoteRef": "HEAD",
  "RemoteSha": "5b5ed83858555ec73ae7a4b7e3faf325e577ee61",
  "NeedsCompilation": "no",
  "Packaged": {
    "Date": "2026-07-02 09:34:29 UTC",
    "User": "root"
  },
  "Author": "Yuri M. Zhukov [aut, cre],\nJason Byers [aut],\nMarty Davidson [aut]",
  "Maintainer": "Yuri M. Zhukov <ymz2@georgetown.edu>",
  "_user": "zhukovyuri",
  "_type": "src",
  "_file": "SUNGEO_1.4.0.tar.gz",
  "_fileid": "https://r2.ropensci.org/848cb678863b3c23a5631eb41154d48840026804cd0bbc270a448a4bb5d246a5",
  "_filesize": 949470,
  "_sha256": "848cb678863b3c23a5631eb41154d48840026804cd0bbc270a448a4bb5d246a5",
  "_expires": "2026-10-11T10:40:59.000Z",
  "_created": "2026-07-02T09:34:29.000Z",
  "_published": "2026-07-03T10:41:00.015Z",
  "_jobs": [
    {
      "job": 84982681800,
      "time": 260,
      "config": "linux-devel-x86_64",
      "r": "4.7.0",
      "check": "OK",
      "artifact": "8034749741"
    },
    {
      "job": 84982682320,
      "time": 253,
      "config": "linux-release-x86_64",
      "r": "4.6.1",
      "check": "OK",
      "artifact": "8034747281"
    },
    {
      "job": 84982682107,
      "time": 234,
      "config": "macos-oldrel-arm64",
      "r": "4.5.3",
      "check": "OK",
      "artifact": "8034731139"
    },
    {
      "job": 84982681958,
      "time": 215,
      "config": "macos-release-arm64",
      "r": "4.6.1",
      "check": "OK",
      "artifact": "8034725922"
    },
    {
      "job": 84982681682,
      "time": 225,
      "config": "source",
      "r": "4.6.1",
      "check": "OK",
      "artifact": "8034644452"
    },
    {
      "job": 84982682178,
      "time": 159,
      "config": "wasm-release",
      "r": "4.6.0",
      "check": "OK",
      "artifact": "8034708882"
    },
    {
      "job": 84982682217,
      "time": 174,
      "config": "windows-devel",
      "r": "4.7.0",
      "check": "OK",
      "artifact": "8034715259"
    },
    {
      "job": 84982682186,
      "time": 197,
      "config": "windows-oldrel",
      "r": "4.5.3",
      "check": "OK",
      "artifact": "8034724194"
    },
    {
      "job": 84982682032,
      "time": 189,
      "config": "windows-release",
      "r": "4.6.1",
      "check": "OK",
      "artifact": "8034721109"
    }
  ],
  "_host": "GitHub-Actions",
  "_buildurl": "https://github.com/r-universe/zhukovyuri/actions/runs/28579961819",
  "_status": "success",
  "_upstream": "https://github.com/zhukovyuri/sungeo",
  "_commit": {
    "id": "5b5ed83858555ec73ae7a4b7e3faf325e577ee61",
    "author": "Yuri Zhukov <zhukov.yuri@gmail.com>",
    "committer": "Yuri Zhukov <zhukov.yuri@gmail.com>",
    "message": "fix: address CRAN reviewer feedback and add reverse geocoding\n\nCRAN compliance:\n- Remove \"Tools for\" from DESCRIPTION Description field\n- Add method reference with DOI (Zhukov et al. 2024, doi:10.1017/pan.2023.5)\n- Replace \\dontrun{} with \\donttest{} throughout; remove \\donttest{} for\n  fast-executing examples (< 5s); every function except get_data and\n  geocode_osm_batch now includes at least one fully testable example\n- All examples verified to run without error or warnings in RStudio\n- get_data and geocode_osm_batch remain in \\donttest{}: get_data fetches\n  large datasets from remote server (exec time depends on connection\n  speed); geocode_osm_batch enforces mandatory 1s delays between requests\n  to comply with OSM Nominatim usage policy\n- Add lwgeom to Suggests; guard point2poly_tess examples with\n  requireNamespace()\n- Fix poly2poly_ap: replace fragile grepl() weight detection with\n  formals()-based check, resolving \"argument w is missing\" error\n- Add utils::globalVariables() in geocode_osm for data.table NSE columns\n- Add curl to Imports; update Depends to R (>= 3.5.0)\n- Fix URL field in DESCRIPTION (remove markdown link syntax)\n\nNew feature:\n- Add reverse geocoding to geocode_osm() via reverse=TRUE argument\n  (lon, lat, zoom parameters; returns osm_name, osm_adm0-adm4 fields)\n- Add reverse geocoding support to geocode_osm_batch() for vectorized\n  coordinate input\n- Replace html_sessionSunGeo user-agent detection with httr::GET to\n  httpbin.org with curl fallback\n\nBump version to 1.4.0\n",
    "time": 1779990101
  },
  "_maintainer": {
    "name": "Yuri M. Zhukov",
    "email": "ymz2@georgetown.edu"
  },
  "_distro": "resolute",
  "_registered": true,
  "_dependencies": [
    {
      "package": "R",
      "version": ">= 3.5.0",
      "role": "Depends"
    },
    {
      "package": "sf",
      "role": "Imports"
    },
    {
      "package": "data.table",
      "role": "Imports"
    },
    {
      "package": "dplyr",
      "role": "Imports"
    },
    {
      "package": "jsonlite",
      "role": "Imports"
    },
    {
      "package": "terra",
      "role": "Imports"
    },
    {
      "package": "stringr",
      "role": "Imports"
    },
    {
      "package": "stats",
      "role": "Imports"
    },
    {
      "package": "methods",
      "role": "Imports"
    },
    {
      "package": "purrr",
      "role": "Imports"
    },
    {
      "package": "measurements",
      "role": "Imports"
    },
    {
      "package": "RANN",
      "role": "Imports"
    },
    {
      "package": "cartogram",
      "role": "Imports"
    },
    {
      "package": "packcircles",
      "role": "Imports"
    },
    {
      "package": "rmapshaper",
      "role": "Imports"
    },
    {
      "package": "spdep",
      "role": "Imports"
    },
    {
      "package": "Rcpp",
      "role": "Imports"
    },
    {
      "package": "httr",
      "role": "Imports"
    },
    {
      "package": "rlang",
      "role": "Imports"
    },
    {
      "package": "curl",
      "role": "Imports"
    },
    {
      "package": "lwgeom",
      "role": "Suggests"
    }
  ],
  "_owner": "zhukovyuri",
  "_selfowned": true,
  "_usedby": 0,
  "_updates": [
    {
      "week": "2026-21",
      "n": 2
    },
    {
      "week": "2026-22",
      "n": 2
    }
  ],
  "_tags": [],
  "_stars": 5,
  "_contributors": [
    {
      "user": "zhukovyuri",
      "count": 99,
      "uuid": 27107530
    }
  ],
  "_userbio": {
    "uuid": 27107530,
    "type": "user",
    "name": "zhukovyuri",
    "followers": 42
  },
  "_downloads": {
    "count": 655,
    "source": "https://cranlogs.r-pkg.org/downloads/total/last-month/SUNGEO"
  },
  "_devurl": "https://github.com/zhukovyuri/sungeo",
  "_searchresults": 10,
  "_rbuild": "4.6.1",
  "_assets": [
    "extra/citation.cff",
    "extra/citation.html",
    "extra/citation.json",
    "extra/citation.txt",
    "extra/contents.json",
    "extra/readme.html",
    "extra/readme.md",
    "extra/SUNGEO.html",
    "manual.pdf"
  ],
  "_homeurl": "https://github.com/zhukovyuri/sungeo",
  "_realowner": "zhukovyuri",
  "_cranurl": true,
  "_releases": [
    {
      "version": "0.2.0",
      "date": "2020-12-14"
    },
    {
      "version": "0.2.1",
      "date": "2021-02-10"
    },
    {
      "version": "0.2.22",
      "date": "2021-04-08"
    },
    {
      "version": "0.2.25",
      "date": "2021-08-12"
    },
    {
      "version": "0.2.24",
      "date": "2021-08-12"
    },
    {
      "version": "0.2.27",
      "date": "2021-10-10"
    },
    {
      "version": "0.2.288",
      "date": "2022-02-01"
    },
    {
      "version": "0.2.291",
      "date": "2022-08-10"
    },
    {
      "version": "0.2.292",
      "date": "2022-08-18"
    },
    {
      "version": "1.1.1",
      "date": "2023-03-21"
    },
    {
      "version": "1.2.1",
      "date": "2023-11-04"
    },
    {
      "version": "1.3.0",
      "date": "2024-05-14"
    },
    {
      "version": "1.4.0",
      "date": "2026-06-01"
    }
  ],
  "_exports": [
    "df2sf",
    "fix_geom",
    "geocode_osm",
    "geocode_osm_batch",
    "get_data",
    "get_info",
    "hot_spot",
    "line2poly",
    "make_ticker",
    "merge_list",
    "nesting",
    "point2poly_simp",
    "point2poly_tess",
    "poly2poly_ap",
    "sf2raster",
    "smart_round",
    "update_bbox",
    "utm_select"
  ],
  "_datasets": [
    {
      "name": "available_data",
      "title": "Data availability through SUNGEO API",
      "object": "available_data",
      "class": [
        "list"
      ],
      "fields": [],
      "table": false,
      "tojson": true
    },
    {
      "name": "cc_dict",
      "title": "Country code dictionary",
      "object": "cc_dict",
      "class": [
        "data.table",
        "data.frame"
      ],
      "fields": [
        "country_name",
        "country_name_alt",
        "country_iso3"
      ],
      "rows": 8626,
      "table": true,
      "tojson": true
    },
    {
      "name": "clea_deu2009",
      "title": "Constituency level results for lower chamber legislative elections, Germany 2009.",
      "object": "clea_deu2009",
      "class": [
        "sf",
        "data.table",
        "data.frame"
      ],
      "fields": [
        "cst",
        "cst_n",
        "ctr",
        "ctr_n",
        "yrmo",
        "to1",
        "vv1",
        "pvs1_margin",
        "incumb_pty_n",
        "win1_pty_n",
        "geometry"
      ],
      "rows": 16,
      "table": false,
      "tojson": true
    },
    {
      "name": "clea_deu2009_df",
      "title": "Constituency level results for lower chamber legislative elections, Germany 2009.",
      "object": "clea_deu2009_df",
      "class": [
        "data.frame"
      ],
      "fields": [
        "cst",
        "cst_n",
        "ctr",
        "ctr_n",
        "yrmo",
        "to1",
        "vv1",
        "pvs1_margin",
        "incumb_pty_n",
        "win1_pty_n",
        "longitude",
        "latitude"
      ],
      "rows": 16,
      "table": true,
      "tojson": true
    },
    {
      "name": "clea_deu2009_pt",
      "title": "Constituency level results for lower chamber legislative elections, Germany 2009.",
      "object": "clea_deu2009_pt",
      "class": [
        "sf",
        "data.table",
        "data.frame"
      ],
      "fields": [
        "cst",
        "cst_n",
        "ctr",
        "ctr_n",
        "yrmo",
        "to1",
        "vv1",
        "pvs1_margin",
        "incumb_pty_n",
        "win1_pty_n",
        "geometry"
      ],
      "rows": 16,
      "table": true,
      "tojson": true
    },
    {
      "name": "gpw4_deu2010",
      "title": "Population count raster for Germany, 2010.",
      "object": "gpw4_deu2010",
      "class": [
        "PackedSpatRaster"
      ],
      "fields": [],
      "table": false,
      "tojson": false
    },
    {
      "name": "hex_05_deu",
      "title": "Hexagonal grid for Germany.",
      "object": "hex_05_deu",
      "class": [
        "sf",
        "data.frame"
      ],
      "fields": [
        "geometry",
        "HEX_ID",
        "HEX_X",
        "HEX_Y"
      ],
      "rows": 257,
      "table": false,
      "tojson": true
    },
    {
      "name": "highways_deu1992",
      "title": "Roads polylines for Germany, 1992",
      "object": "highways_deu1992",
      "class": [
        "sf",
        "data.table",
        "data.frame"
      ],
      "fields": [
        "MED_DESCRI",
        "RTT_DESCRI",
        "F_CODE_DES",
        "ISO",
        "ISOCOUNTRY",
        "geometry"
      ],
      "rows": 1741,
      "table": false,
      "tojson": true
    }
  ],
  "_help": [
    {
      "page": "available_data",
      "title": "Data availability through SUNGEO API",
      "topics": [
        "available_data"
      ]
    },
    {
      "page": "cc_dict",
      "title": "Country code dictionary",
      "topics": [
        "cc_dict"
      ]
    },
    {
      "page": "clea_deu2009",
      "title": "Constituency level results for lower chamber legislative elections, Germany 2009.",
      "topics": [
        "clea_deu2009"
      ]
    },
    {
      "page": "clea_deu2009_df",
      "title": "Constituency level results for lower chamber legislative elections, Germany 2009.",
      "topics": [
        "clea_deu2009_df"
      ]
    },
    {
      "page": "clea_deu2009_pt",
      "title": "Constituency level results for lower chamber legislative elections, Germany 2009.",
      "topics": [
        "clea_deu2009_pt"
      ]
    },
    {
      "page": "df2sf",
      "title": "Convert data.frame object into simple features object",
      "topics": [
        "df2sf"
      ]
    },
    {
      "page": "fix_geom",
      "title": "Fix polygon geometries",
      "topics": [
        "fix_geom"
      ]
    },
    {
      "page": "geocode_osm",
      "title": "Geocode addresses and coordinates with OpenStreetMap",
      "topics": [
        "geocode_osm"
      ]
    },
    {
      "page": "geocode_osm_batch",
      "title": "Batch geocode addresses and coordinates with OpenStreetMap",
      "topics": [
        "geocode_osm_batch"
      ]
    },
    {
      "page": "get_data",
      "title": "Download data from SUNGEO server",
      "topics": [
        "get_data"
      ]
    },
    {
      "page": "get_info",
      "title": "Information on available SUNGEO data files",
      "topics": [
        "get_info"
      ]
    },
    {
      "page": "gpw4_deu2010",
      "title": "Population count raster for Germany, 2010.",
      "topics": [
        "gpw4_deu2010"
      ]
    },
    {
      "page": "hex_05_deu",
      "title": "Hexagonal grid for Germany.",
      "topics": [
        "hex_05_deu"
      ]
    },
    {
      "page": "highways_deu1992",
      "title": "Roads polylines for Germany, 1992",
      "topics": [
        "highways_deu1992"
      ]
    },
    {
      "page": "hot_spot",
      "title": "Automatically calculate Local G hot spot intensity",
      "topics": [
        "hot_spot"
      ]
    },
    {
      "page": "line2poly",
      "title": "Line-in-polygon analysis",
      "topics": [
        "line2poly"
      ]
    },
    {
      "page": "make_ticker",
      "title": "Make date ticker",
      "topics": [
        "make_ticker"
      ]
    },
    {
      "page": "merge_list",
      "title": "Merge list of tables on common variable(s)",
      "topics": [
        "merge_list"
      ]
    },
    {
      "page": "nesting",
      "title": "Relative scale and nesting coefficients",
      "topics": [
        "nesting"
      ]
    },
    {
      "page": "point2poly_simp",
      "title": "Point-to-polygon interpolation, simple overlay method",
      "topics": [
        "point2poly_simp"
      ]
    },
    {
      "page": "point2poly_tess",
      "title": "Point-to-polygon interpolation, tessellation method",
      "topics": [
        "point2poly_tess"
      ]
    },
    {
      "page": "poly2poly_ap",
      "title": "Area and population weighted polygon-to-polygon interpolation",
      "topics": [
        "poly2poly_ap"
      ]
    },
    {
      "page": "sf2raster",
      "title": "Convert simple features object into regularly spaced raster",
      "topics": [
        "sf2raster"
      ]
    },
    {
      "page": "smart_round",
      "title": "Smart numerical rounding function",
      "topics": [
        "smart_round"
      ]
    },
    {
      "page": "SUNGEO",
      "title": "'SUNGEO'",
      "topics": [
        "SUNGEO"
      ]
    },
    {
      "page": "update_bbox",
      "title": "Update bounding box of sf object",
      "topics": [
        "update_bbox"
      ]
    },
    {
      "page": "utm_select",
      "title": "Automatically convert geographic (degree) to planar coordinates (meters)",
      "topics": [
        "utm_select"
      ]
    }
  ],
  "_readme": "https://github.com/zhukovyuri/sungeo/raw/HEAD/README.md",
  "_rundeps": [
    "askpass",
    "backports",
    "bit",
    "bit64",
    "boot",
    "cartogram",
    "checkmate",
    "class",
    "classInt",
    "cli",
    "clipr",
    "cpp11",
    "crayon",
    "curl",
    "data.table",
    "DBI",
    "deldir",
    "dplyr",
    "e1071",
    "generics",
    "geojsonsf",
    "geometries",
    "glue",
    "hms",
    "httr",
    "jsonify",
    "jsonlite",
    "KernSmooth",
    "lattice",
    "lifecycle",
    "magrittr",
    "MASS",
    "measurements",
    "mime",
    "openssl",
    "packcircles",
    "pillar",
    "pkgconfig",
    "prettyunits",
    "progress",
    "proxy",
    "purrr",
    "R6",
    "RANN",
    "rapidjsonr",
    "Rcpp",
    "readr",
    "rlang",
    "rmapshaper",
    "s2",
    "sf",
    "sfheaders",
    "sp",
    "spData",
    "spdep",
    "stringi",
    "stringr",
    "sys",
    "terra",
    "tibble",
    "tidyselect",
    "tzdb",
    "units",
    "utf8",
    "V8",
    "vctrs",
    "vroom",
    "withr",
    "wk"
  ],
  "_score": 3.6989700043360187,
  "_indexed": true,
  "_nocasepkg": "sungeo",
  "_universes": [
    "zhukovyuri"
  ],
  "_binaries": [
    {
      "r": "4.7.0",
      "os": "linux",
      "version": "1.4.0",
      "date": "2026-07-02T09:37:13.000Z",
      "distro": "resolute",
      "commit": "5b5ed83858555ec73ae7a4b7e3faf325e577ee61",
      "fileid": "https://r2.ropensci.org/d25f24b46f6d515077a7f53e23875a44bf56c9054b134f22a4c3e2dc10bc0aac",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/zhukovyuri/actions/runs/28579961819"
    },
    {
      "r": "4.6.1",
      "os": "linux",
      "version": "1.4.0",
      "date": "2026-07-02T09:37:30.000Z",
      "distro": "resolute",
      "commit": "5b5ed83858555ec73ae7a4b7e3faf325e577ee61",
      "fileid": "https://r2.ropensci.org/3a156b17c5f94bc712f353d1de8bafeabf1113a9eb7daa80501fe682515b757d",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/zhukovyuri/actions/runs/28579961819"
    },
    {
      "r": "4.5.3",
      "os": "mac",
      "version": "1.4.0",
      "date": "2026-07-02T09:37:38.000Z",
      "commit": "5b5ed83858555ec73ae7a4b7e3faf325e577ee61",
      "fileid": "https://r2.ropensci.org/30df486c72b221cb0f067ab7beccee94e61822cc4a443e87b8ee101b0f2533f7",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/zhukovyuri/actions/runs/28579961819"
    },
    {
      "r": "4.6.1",
      "os": "mac",
      "version": "1.4.0",
      "date": "2026-07-02T09:37:03.000Z",
      "commit": "5b5ed83858555ec73ae7a4b7e3faf325e577ee61",
      "fileid": "https://r2.ropensci.org/e8b93a6a840052a89258f6279a41d2c5f6c772112158557ba66a12171faf7a22",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/zhukovyuri/actions/runs/28579961819"
    },
    {
      "r": "4.6.0",
      "os": "wasm",
      "version": "1.4.0",
      "date": "2026-07-02T09:37:41.000Z",
      "commit": "5b5ed83858555ec73ae7a4b7e3faf325e577ee61",
      "fileid": "https://r2.ropensci.org/6dfd189c1985b85eba39e52da98920e559d4a462700d3ff3f6f20d09e849a1e5",
      "status": "success",
      "buildurl": "https://github.com/r-universe/zhukovyuri/actions/runs/28579961819"
    },
    {
      "r": "4.7.0",
      "os": "win",
      "version": "1.4.0",
      "date": "2026-07-02T09:35:55.000Z",
      "commit": "5b5ed83858555ec73ae7a4b7e3faf325e577ee61",
      "fileid": "https://r2.ropensci.org/77682a70efd65d693adf2e7b3188b60d5871b9c7c51231c2040ce61640c672e8",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/zhukovyuri/actions/runs/28579961819"
    },
    {
      "r": "4.5.3",
      "os": "win",
      "version": "1.4.0",
      "date": "2026-07-02T09:36:11.000Z",
      "commit": "5b5ed83858555ec73ae7a4b7e3faf325e577ee61",
      "fileid": "https://r2.ropensci.org/9c8ef4134018fc6107de8a3cf52ec10d5e2262b5b99bef4332a0105a06a05a8c",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/zhukovyuri/actions/runs/28579961819"
    },
    {
      "r": "4.6.1",
      "os": "win",
      "version": "1.4.0",
      "date": "2026-07-02T09:36:09.000Z",
      "commit": "5b5ed83858555ec73ae7a4b7e3faf325e577ee61",
      "fileid": "https://r2.ropensci.org/2f715aea72e49eb4d6ae92ec1deab5a911016bb2013deb04973f083ee3372c67",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/zhukovyuri/actions/runs/28579961819"
    }
  ]
}