{
  "_id": "6a1ed220b401979e7340df5c",
  "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-06-02 12:46:54 UTC",
    "User": "root"
  },
  "Author": "Yuri M. Zhukov [aut, cre],\nJason Byers [aut],\nMarty Davidson [aut]",
  "Maintainer": "Yuri M. Zhukov <ymz2@georgetown.edu>",
  "MD5sum": "45fff567039d9a5b1ee539b8d9c586af",
  "_user": "zhukovyuri",
  "_type": "src",
  "_file": "SUNGEO_1.4.0.tar.gz",
  "_fileid": "6e258251940e2316efa55e290df3bfff965027de1caac12004dcf94ad48fb234",
  "_filesize": 948324,
  "_sha256": "6e258251940e2316efa55e290df3bfff965027de1caac12004dcf94ad48fb234",
  "_created": "2026-06-02T12:46:54.000Z",
  "_published": "2026-06-02T12:52:48.826Z",
  "_distro": "noble",
  "_jobs": [
    {
      "job": 79074134084,
      "time": 267,
      "config": "linux-devel-x86_64",
      "r": "4.7.0",
      "check": "OK",
      "artifact": "7358152158"
    },
    {
      "job": 79074134034,
      "time": 237,
      "config": "linux-release-x86_64",
      "r": "4.6.0",
      "check": "OK",
      "artifact": "7358140527"
    },
    {
      "job": 79074133951,
      "time": 297,
      "config": "macos-oldrel-arm64",
      "r": "4.5.3",
      "check": "OK",
      "artifact": "7358149009"
    },
    {
      "job": 79074133961,
      "time": 254,
      "config": "macos-release-arm64",
      "r": "4.6.0",
      "check": "OK",
      "artifact": "7358135894"
    },
    {
      "job": 79073447372,
      "time": 220,
      "config": "source",
      "r": "4.6.0",
      "check": "OK",
      "artifact": "7358049086"
    },
    {
      "job": 79074133969,
      "time": 131,
      "config": "wasm-release",
      "r": "4.6.0",
      "check": "OK",
      "artifact": "7358099850"
    },
    {
      "job": 79074133989,
      "time": 198,
      "config": "windows-devel",
      "r": "4.7.0",
      "check": "OK",
      "artifact": "7358125690"
    },
    {
      "job": 79074134065,
      "time": 206,
      "config": "windows-oldrel",
      "r": "4.5.3",
      "check": "OK",
      "artifact": "7358129815"
    },
    {
      "job": 79074133980,
      "time": 174,
      "config": "windows-release",
      "r": "4.6.0",
      "check": "OK",
      "artifact": "7358112818"
    }
  ],
  "_buildurl": "https://github.com/r-universe/zhukovyuri/actions/runs/26820460093",
  "_status": "success",
  "_host": "GitHub-Actions",
  "_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"
  },
  "_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"
  },
  "_downloads": {
    "count": 179,
    "source": "https://cranlogs.r-pkg.org/downloads/total/last-month/SUNGEO"
  },
  "_devurl": "https://github.com/zhukovyuri/sungeo",
  "_rbuild": "4.6.0",
  "_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-06-02T12:49:53.000Z",
      "distro": "noble",
      "commit": "5b5ed83858555ec73ae7a4b7e3faf325e577ee61",
      "fileid": "06a4ffc3343d8bc2c17717616087b46540d3ada2c11c7f27961a4b7788621740",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/zhukovyuri/actions/runs/26820460093"
    },
    {
      "r": "4.6.0",
      "os": "linux",
      "version": "1.4.0",
      "date": "2026-06-02T12:49:36.000Z",
      "distro": "noble",
      "commit": "5b5ed83858555ec73ae7a4b7e3faf325e577ee61",
      "fileid": "fc4c44059803308806ce8b7ecbf2c0c487a297e51c7ec07b6b00b96e8aef4b9d",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/zhukovyuri/actions/runs/26820460093"
    },
    {
      "r": "4.5.3",
      "os": "mac",
      "version": "1.4.0",
      "date": "2026-06-02T12:49:44.000Z",
      "commit": "5b5ed83858555ec73ae7a4b7e3faf325e577ee61",
      "fileid": "c522a887ed03f966c773da91713c6984a7a8e31072910f2dfc012b19575cb68f",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/zhukovyuri/actions/runs/26820460093"
    },
    {
      "r": "4.6.0",
      "os": "mac",
      "version": "1.4.0",
      "date": "2026-06-02T12:49:32.000Z",
      "commit": "5b5ed83858555ec73ae7a4b7e3faf325e577ee61",
      "fileid": "8a7030592f6ab5715c6ff3c8d0450e774e750db72d61d5f167e768c4026ad0a9",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/zhukovyuri/actions/runs/26820460093"
    },
    {
      "r": "4.6.0",
      "os": "wasm",
      "version": "1.4.0",
      "date": "2026-06-02T12:49:33.000Z",
      "commit": "5b5ed83858555ec73ae7a4b7e3faf325e577ee61",
      "fileid": "569ee1b9af280f281d2b5da6308451b4e62022020ba5a52b7dff66c3cb9b278c",
      "status": "success",
      "buildurl": "https://github.com/r-universe/zhukovyuri/actions/runs/26820460093"
    },
    {
      "r": "4.7.0",
      "os": "win",
      "version": "1.4.0",
      "date": "2026-06-02T12:48:37.000Z",
      "commit": "5b5ed83858555ec73ae7a4b7e3faf325e577ee61",
      "fileid": "8b2e30266c16bbbf7424774466aa8ce4c9171361bd7e921051fefaaf83ff1d8c",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/zhukovyuri/actions/runs/26820460093"
    },
    {
      "r": "4.5.3",
      "os": "win",
      "version": "1.4.0",
      "date": "2026-06-02T12:48:36.000Z",
      "commit": "5b5ed83858555ec73ae7a4b7e3faf325e577ee61",
      "fileid": "4b780d8f3db8721c591cfcd6de9c73cd01aaa007bfdd42d619021525ae735c65",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/zhukovyuri/actions/runs/26820460093"
    },
    {
      "r": "4.6.0",
      "os": "win",
      "version": "1.4.0",
      "date": "2026-06-02T12:48:26.000Z",
      "commit": "5b5ed83858555ec73ae7a4b7e3faf325e577ee61",
      "fileid": "46232d38da6391598bc2c5747c3c54702d7547f47dc5ff21bff7aa208a7efc7b",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/zhukovyuri/actions/runs/26820460093"
    }
  ]
}