{
  "_id": "6a2523e94b233be198391e44",
  "Package": "SpatialRDD",
  "Type": "Package",
  "Title": "Conduct Multiple Types of Geographic Regression Discontinuity\nDesigns",
  "Version": "0.1.0.9000",
  "Authors@R": "person(\"Alexander\", \"Lehner\", email = \"lehner@uchicago.edu\", role = c(\"aut\", \"cre\"), comment = c(ORCID = \"0000-0001-5885-5966\"))",
  "Description": "Spatial versions of Regression Discontinuity Designs\n(RDDs) are becoming increasingly popular as tools for causal\ninference. However, conducting state-of-the-art analyses often\ninvolves tedious and time-consuming steps. This package offers\ncomprehensive functionalities for executing all required\nspatial and econometric tasks in a streamlined manner.\nMoreover, it equips researchers with tools for performing\nessential placebo and balancing checks comprehensively. The\nfact that researchers do not have to rely on 'APIs' of external\n'GIS' software ensures replicability and raises the standard\nfor spatial RDDs.",
  "License": "GPL-3",
  "Encoding": "UTF-8",
  "LazyData": "true",
  "RoxygenNote": "7.2.3",
  "VignetteBuilder": "knitr",
  "URL": "https://axlehner.github.io/SpatialRDD/",
  "BugReports": "https://github.com/axlehner/SpatialRDD/issues",
  "Config/pak/sysreqs": "libabsl-dev cmake libgdal-dev gdal-bin libgeos-dev\nlibicu-dev libssl-dev libproj-dev libsqlite3-dev\nlibudunits2-dev",
  "Repository": "https://axlehner.r-universe.dev",
  "Date/Publication": "2024-03-21 04:54:57 UTC",
  "RemoteUrl": "https://github.com/axlehner/spatialrdd",
  "RemoteRef": "HEAD",
  "RemoteSha": "7141c9ea2e619b71a6a85fb772b3fe5fc5629604",
  "NeedsCompilation": "no",
  "Packaged": {
    "Date": "2026-06-07 07:51:48 UTC",
    "User": "root"
  },
  "Author": "Alexander Lehner [aut, cre] (ORCID:\n<https://orcid.org/0000-0001-5885-5966>)",
  "Maintainer": "Alexander Lehner <lehner@uchicago.edu>",
  "MD5sum": "f7f334c15519b138aefa23326dca780d",
  "_user": "axlehner",
  "_type": "src",
  "_file": "SpatialRDD_0.1.0.9000.tar.gz",
  "_fileid": "c8f7dfbb6653f842c023a8778a1dd6b867f4b34a73ffc1f809e9967705587b74",
  "_filesize": 2958189,
  "_sha256": "c8f7dfbb6653f842c023a8778a1dd6b867f4b34a73ffc1f809e9967705587b74",
  "_created": "2026-06-07T07:51:48.000Z",
  "_published": "2026-06-07T07:55:20.968Z",
  "_distro": "noble",
  "_jobs": [
    {
      "job": 79942228418,
      "time": 155,
      "config": "linux-devel-x86_64",
      "r": "4.7.0",
      "check": "OK",
      "artifact": "7462093721"
    },
    {
      "job": 79942228452,
      "time": 178,
      "config": "linux-release-x86_64",
      "r": "4.6.0",
      "check": "OK",
      "artifact": "7462096394"
    },
    {
      "job": 79942228423,
      "time": 164,
      "config": "macos-oldrel-arm64",
      "r": "4.5.3",
      "check": "OK",
      "artifact": "7462093201"
    },
    {
      "job": 79942228429,
      "time": 141,
      "config": "macos-release-arm64",
      "r": "4.6.0",
      "check": "OK",
      "artifact": "7462091071"
    },
    {
      "job": 79942010841,
      "time": 222,
      "config": "source",
      "r": "4.6.0",
      "check": "OK",
      "artifact": "7462074582"
    },
    {
      "job": 79942228413,
      "time": 150,
      "config": "wasm-release",
      "r": "4.6.0",
      "check": "OK",
      "artifact": "7462093028"
    },
    {
      "job": 79942228426,
      "time": 97,
      "config": "windows-devel",
      "r": "4.7.0",
      "check": "OK",
      "artifact": "7462086737"
    },
    {
      "job": 79942228427,
      "time": 131,
      "config": "windows-oldrel",
      "r": "4.5.3",
      "check": "OK",
      "artifact": "7462090621"
    },
    {
      "job": 79942228420,
      "time": 111,
      "config": "windows-release",
      "r": "4.6.0",
      "check": "OK",
      "artifact": "7462088285"
    }
  ],
  "_buildurl": "https://github.com/r-universe/axlehner/actions/runs/27086536132",
  "_status": "success",
  "_host": "GitHub-Actions",
  "_upstream": "https://github.com/axlehner/spatialrdd",
  "_commit": {
    "id": "7141c9ea2e619b71a6a85fb772b3fe5fc5629604",
    "author": "axlehner <ax.lehner@gmail.com>",
    "committer": "axlehner <ax.lehner@gmail.com>",
    "message": "randinf documentation error\n",
    "time": 1710996897
  },
  "_maintainer": {
    "name": "Alexander Lehner",
    "email": "lehner@uchicago.edu",
    "login": "axlehner",
    "twitter": "@axlehner",
    "description": "",
    "uuid": 16270160,
    "orcid": "0000-0001-5885-5966"
  },
  "_registered": true,
  "_dependencies": [
    {
      "package": "R",
      "version": ">= 4.1.0",
      "role": "Depends"
    },
    {
      "package": "dplyr",
      "role": "Imports"
    },
    {
      "package": "sf",
      "role": "Imports"
    },
    {
      "package": "ggplot2",
      "role": "Imports"
    },
    {
      "package": "rdrobust",
      "role": "Imports"
    },
    {
      "package": "lmtest",
      "role": "Imports"
    },
    {
      "package": "sandwich",
      "role": "Imports"
    },
    {
      "package": "cowplot",
      "role": "Imports"
    },
    {
      "package": "magrittr",
      "role": "Imports"
    },
    {
      "package": "rlang",
      "role": "Imports"
    },
    {
      "package": "broom",
      "role": "Imports"
    },
    {
      "package": "spatstat.geom",
      "role": "Imports"
    },
    {
      "package": "spatstat.random",
      "role": "Imports"
    },
    {
      "package": "lwgeom",
      "role": "Imports"
    },
    {
      "package": "knitr",
      "role": "Suggests"
    },
    {
      "package": "tmap",
      "role": "Suggests"
    },
    {
      "package": "rmarkdown",
      "role": "Suggests"
    },
    {
      "package": "markdown",
      "role": "Suggests"
    },
    {
      "package": "testthat",
      "role": "Suggests"
    },
    {
      "package": "utils",
      "role": "Suggests"
    },
    {
      "package": "kableExtra",
      "role": "Suggests"
    },
    {
      "package": "lfe",
      "role": "Suggests"
    },
    {
      "package": "stargazer",
      "role": "Suggests"
    }
  ],
  "_owner": "axlehner",
  "_selfowned": true,
  "_usedby": 0,
  "_updates": [],
  "_tags": [],
  "_stars": 41,
  "_contributors": [
    {
      "user": "axlehner",
      "count": 96,
      "uuid": 16270160
    }
  ],
  "_userbio": {
    "uuid": 16270160,
    "type": "user",
    "name": "Alex Lehner"
  },
  "_downloads": {
    "count": 175,
    "source": "https://cranlogs.r-pkg.org/downloads/total/last-month/SpatialRDD"
  },
  "_devurl": "https://github.com/axlehner/spatialrdd",
  "_pkgdown": "https://axlehner.github.io/SpatialRDD/",
  "_searchresults": 22,
  "_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/SpatialRDD.html",
    "manual.pdf"
  ],
  "_homeurl": "https://github.com/axlehner/spatialrdd",
  "_realowner": "axlehner",
  "_cranurl": true,
  "_releases": [
    {
      "version": "0.1.0",
      "date": "2023-08-08"
    }
  ],
  "_exports": [
    "%>%",
    "assign_treated",
    "border_segment",
    "create_placebos",
    "cutoff2polygon",
    "discretise_border",
    "plotspatialrd",
    "points2line",
    "printspatialrd",
    "randinf",
    "shift_border",
    "spatialrd"
  ],
  "_datasets": [
    {
      "name": "cut_off",
      "title": "Dataset with boundaries and polygons for the SpatialRDD vignette.",
      "object": "cut_off",
      "class": [
        "sf",
        "data.frame"
      ],
      "fields": [
        "geom"
      ],
      "rows": 1,
      "table": false,
      "tojson": true
    },
    {
      "name": "polygon_full",
      "title": "Dataset with boundaries and polygons for the SpatialRDD vignette.",
      "object": "polygon_full",
      "class": [
        "sf",
        "data.frame"
      ],
      "fields": [
        "TYPE",
        "SUB_DIST",
        "STATE",
        "CEN_2001",
        "NAME",
        "DISTRICT",
        "geom"
      ],
      "rows": 1,
      "table": false,
      "tojson": true
    },
    {
      "name": "polygon_treated",
      "title": "Dataset with boundaries and polygons for the SpatialRDD vignette.",
      "object": "polygon_treated",
      "class": [
        "sf",
        "data.frame"
      ],
      "fields": [
        "TYPE",
        "SUB_DIST",
        "STATE",
        "CEN_2001",
        "NAME",
        "DISTRICT",
        "geom"
      ],
      "rows": 1,
      "table": false,
      "tojson": true
    }
  ],
  "_help": [
    {
      "page": "assign_treated",
      "title": "Let the package know which observations were treated",
      "topics": [
        "assign_treated"
      ]
    },
    {
      "page": "border_segment",
      "title": "Border Segment Creation for FE-estimation",
      "topics": [
        "border_segment"
      ]
    },
    {
      "page": "create_placebos",
      "title": "Multiple placebocheks unified in just one list or coefplot",
      "topics": [
        "create_placebos"
      ]
    },
    {
      "page": "cut_off",
      "title": "Dataset with boundaries and polygons for the SpatialRDD vignette.",
      "topics": [
        "cut_off"
      ]
    },
    {
      "page": "cutoff2polygon",
      "title": "Create (treated) polygon from line",
      "topics": [
        "cutoff2polygon"
      ]
    },
    {
      "page": "discretise_border",
      "title": "Split the RD cut-off into borderpoints",
      "topics": [
        "discretise_border"
      ]
    },
    {
      "page": "plotspatialrd",
      "title": "Plot SpatialRD output",
      "topics": [
        "plotspatialrd"
      ]
    },
    {
      "page": "points2line",
      "title": "Convert borderpoints to a line",
      "topics": [
        "points2line"
      ]
    },
    {
      "page": "polygon_full",
      "title": "Dataset with boundaries and polygons for the SpatialRDD vignette.",
      "topics": [
        "polygon_full"
      ]
    },
    {
      "page": "polygon_treated",
      "title": "Dataset with boundaries and polygons for the SpatialRDD vignette.",
      "topics": [
        "polygon_treated"
      ]
    },
    {
      "page": "printspatialrd",
      "title": "Print spatialrd output",
      "topics": [
        "printspatialrd"
      ]
    },
    {
      "page": "randinf",
      "title": "Randomization Inference",
      "topics": [
        "randinf"
      ]
    },
    {
      "page": "shift_border",
      "title": "Shift, shrink/grow, and rotate borders around",
      "topics": [
        "shift_border"
      ]
    },
    {
      "page": "SpatialRD",
      "title": "non-parametric Spatial RD / GRD",
      "topics": [
        "spatialrd"
      ]
    }
  ],
  "_readme": "https://github.com/axlehner/spatialrdd/raw/HEAD/README.md",
  "_rundeps": [
    "abind",
    "backports",
    "broom",
    "class",
    "classInt",
    "cli",
    "cowplot",
    "cpp11",
    "DBI",
    "deldir",
    "dplyr",
    "e1071",
    "farver",
    "generics",
    "ggplot2",
    "glue",
    "gtable",
    "isoband",
    "KernSmooth",
    "labeling",
    "lattice",
    "lifecycle",
    "lmtest",
    "lwgeom",
    "magrittr",
    "MASS",
    "Matrix",
    "pillar",
    "pkgconfig",
    "polyclip",
    "proxy",
    "purrr",
    "R6",
    "RColorBrewer",
    "Rcpp",
    "rdrobust",
    "rlang",
    "s2",
    "S7",
    "sandwich",
    "scales",
    "sf",
    "spatstat.data",
    "spatstat.geom",
    "spatstat.random",
    "spatstat.sparse",
    "spatstat.univar",
    "spatstat.utils",
    "stringi",
    "stringr",
    "tensor",
    "tibble",
    "tidyr",
    "tidyselect",
    "units",
    "utf8",
    "vctrs",
    "viridisLite",
    "withr",
    "wk",
    "zoo"
  ],
  "_vignettes": [
    {
      "source": "shifting_borders.Rmd",
      "filename": "shifting_borders.html",
      "title": "Shifting Borders, Creating Polygons from Lines",
      "engine": "knitr::knitr",
      "headings": [
        "More on placebo bordering",
        "Rotate",
        "Scale",
        "Shift",
        "Full fledged \"placebo bordering\""
      ],
      "created": "2022-03-07 21:07:35",
      "modified": "2023-07-30 17:27:43",
      "commits": 4
    },
    {
      "source": "spatialrdd_vignette.Rmd",
      "filename": "spatialrdd_vignette.html",
      "title": "SpatialRDD: get started",
      "author": "Alexander Lehner",
      "engine": "knitr::knitr",
      "headings": [
        "Some words of caution",
        "Setup and Propaedeutics",
        "Inspecting the Study Area & simulating Data",
        "Assign Treatment",
        "Distance to Cutoff",
        "Carrying out Spatial RDD estimation",
        "Unidimensional Specifications",
        "Adding Boundary Segment Fixed Effects",
        "Specification With Two-Dimensional Score",
        "Robustness",
        "Placebo Borders",
        "Robustness With Two-Dimensional Score",
        "Robustness With Uni-Dimensional Specification",
        "References"
      ],
      "created": "2019-05-21 16:20:40",
      "modified": "2024-03-21 04:51:47",
      "commits": 20
    }
  ],
  "_score": 5.955206537541942,
  "_indexed": true,
  "_nocasepkg": "spatialrdd",
  "_universes": [
    "axlehner"
  ],
  "_binaries": [
    {
      "r": "4.7.0",
      "os": "linux",
      "version": "0.1.0.9000",
      "date": "2026-06-07T07:54:06.000Z",
      "distro": "noble",
      "commit": "7141c9ea2e619b71a6a85fb772b3fe5fc5629604",
      "fileid": "f663c6f11c78f7a8c523fdc7d5c75fb734c2af64dbd8dc0c72f522fc0e6e0c41",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/axlehner/actions/runs/27086536132"
    },
    {
      "r": "4.6.0",
      "os": "linux",
      "version": "0.1.0.9000",
      "date": "2026-06-07T07:54:30.000Z",
      "distro": "noble",
      "commit": "7141c9ea2e619b71a6a85fb772b3fe5fc5629604",
      "fileid": "6700bcdfd1324ecd720f9a113d5952e54e450ef7266106434590845345e88a8c",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/axlehner/actions/runs/27086536132"
    },
    {
      "r": "4.5.3",
      "os": "mac",
      "version": "0.1.0.9000",
      "date": "2026-06-07T07:54:07.000Z",
      "commit": "7141c9ea2e619b71a6a85fb772b3fe5fc5629604",
      "fileid": "277f56f9c8e1bd4e14b3eb1569a822cfebc06fc2d4ec261967e36235fe6efd36",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/axlehner/actions/runs/27086536132"
    },
    {
      "r": "4.6.0",
      "os": "mac",
      "version": "0.1.0.9000",
      "date": "2026-06-07T07:53:57.000Z",
      "commit": "7141c9ea2e619b71a6a85fb772b3fe5fc5629604",
      "fileid": "fdb0336a9d4a79c9f296f18522f6fadf8e844cdd56c3a69e8811c725e5ae3f3b",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/axlehner/actions/runs/27086536132"
    },
    {
      "r": "4.6.0",
      "os": "wasm",
      "version": "0.1.0.9000",
      "date": "2026-06-07T07:54:32.000Z",
      "commit": "7141c9ea2e619b71a6a85fb772b3fe5fc5629604",
      "fileid": "a2a7eb54fd8093db51fdf5f858c0757331ff1dcac61dc4bdc57f1aca7cffa01d",
      "status": "success",
      "buildurl": "https://github.com/r-universe/axlehner/actions/runs/27086536132"
    },
    {
      "r": "4.7.0",
      "os": "win",
      "version": "0.1.0.9000",
      "date": "2026-06-07T07:53:08.000Z",
      "commit": "7141c9ea2e619b71a6a85fb772b3fe5fc5629604",
      "fileid": "94a5949b087065d113511f579b6be1e2b4b75a1923adba8fab43c9accbcb527b",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/axlehner/actions/runs/27086536132"
    },
    {
      "r": "4.5.3",
      "os": "win",
      "version": "0.1.0.9000",
      "date": "2026-06-07T07:53:26.000Z",
      "commit": "7141c9ea2e619b71a6a85fb772b3fe5fc5629604",
      "fileid": "9ffd2880fc79ba021bf08c934e9843c7863bb3c5d57614129768314be549bb7e",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/axlehner/actions/runs/27086536132"
    },
    {
      "r": "4.6.0",
      "os": "win",
      "version": "0.1.0.9000",
      "date": "2026-06-07T07:53:13.000Z",
      "commit": "7141c9ea2e619b71a6a85fb772b3fe5fc5629604",
      "fileid": "b8fec094e49b57f21d88f010ef945750e20004717d85e561b6ca3daf9180896c",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/axlehner/actions/runs/27086536132"
    }
  ]
}