{
  "_id": "6ae254ab95ca2370cc8ccbdf",
  "Package": "rd2dnet",
  "Type": "Package",
  "Title": "Boundary Discontinuity Designs on Networks",
  "Version": "0.1.0",
  "Authors@R": "c(\nperson(\"Zach\", \"Winship\", role = c(\"aut\", \"cre\", \"cph\"),\nemail = \"zachtwinship@gmail.com\"),\nperson(\"Matias D.\", \"Cattaneo\", role = c(\"ctb\", \"cph\"),\ncomment = \"author of rd2d and rddensity, from which the bandwidth selector and density test are ported\"),\nperson(\"Rocío\", \"Titiunik\", role = c(\"ctb\", \"cph\"),\ncomment = \"author of rd2d, from which the bandwidth selector is ported\"),\nperson(\"Ruiqi Rae\", \"Yu\", role = c(\"ctb\", \"cph\"),\ncomment = \"author of rd2d, from which the bandwidth selector is ported\"),\nperson(\"Michael\", \"Jansson\", role = c(\"ctb\", \"cph\"),\ncomment = \"author of rddensity, from which the density test is ported\"),\nperson(\"Xinwei\", \"Ma\", role = c(\"ctb\", \"cph\"),\ncomment = \"author of rddensity, from which the density test is ported\")\n)",
  "Description": "Estimation and inference for boundary discontinuity\ndesigns on street networks. Extends the location-based\nframework of 'rd2d' (Cattaneo, Titiunik and Yu,\n<doi:10.48550/arXiv.2505.07989>) from Euclidean coordinates to\nnetwork-native coordinates (signed network distance to the\nboundary and offset along it) and user-defined network metrics\n(edge costs, travel time, road-class transition penalties,\nprecomputed matrices). Provides side-specific local polynomial\nestimates of boundary average treatment effect curves with\nrobust bias-corrected inference (Calonico, Cattaneo and\nTitiunik, 2014, <doi:10.3982/ECTA11757>), uniform confidence\nbands, weighted and largest aggregate effects, fuzzy designs,\ncovariates, derivative targets, heteroskedasticity-robust,\ncluster and network Conley (1999,\n<doi:10.1016/S0304-4076(98)00084-0>) standard errors, a port of\nthe 'rd2d' direct plug-in bandwidth selector, and a\nnetwork-normalised version of the local polynomial density test\nof Cattaneo, Jansson and Ma (2020,\n<doi:10.1080/01621459.2019.1635480>).",
  "License": "GPL-3",
  "URL": "https://github.com/zwinship/rd2dnet",
  "BugReports": "https://github.com/zwinship/rd2dnet/issues",
  "VignetteBuilder": "knitr",
  "Config/testthat/edition": "3",
  "Encoding": "UTF-8",
  "LazyData": "true",
  "RoxygenNote": "7.3.1",
  "NeedsCompilation": "yes",
  "Packaged": {
    "Date": "2026-10-28 19:57:09 UTC",
    "User": "root"
  },
  "Author": "Zach Winship [aut, cre, cph], Matias D. Cattaneo [ctb, cph]\n(author of rd2d and rddensity, from which the bandwidth\nselector and density test are ported), Rocío Titiunik [ctb,\ncph] (author of rd2d, from which the bandwidth selector is\nported), Ruiqi Rae Yu [ctb, cph] (author of rd2d, from which\nthe bandwidth selector is ported), Michael Jansson [ctb, cph]\n(author of rddensity, from which the density test is ported),\nXinwei Ma [ctb, cph] (author of rddensity, from which the\ndensity test is ported)",
  "Maintainer": "Zach Winship <zachtwinship@gmail.com>",
  "Repository": "https://cran.r-universe.dev",
  "Date/Publication": "2026-10-28 10:30:08 UTC",
  "RemoteUrl": "https://github.com/cran/rd2dnet",
  "RemoteRef": "HEAD",
  "RemoteSha": "da175442c7706dd9de889eb8cbbc57e0d87f453c",
  "_user": "cran",
  "_type": "src",
  "_file": "rd2dnet_0.1.0.tar.gz",
  "_fileid": "https://r2.ropensci.org/9f87c29d0f72f87b4f018ad4492ab8021618ef853019ce14f307a9f67be23bd3",
  "_filesize": 515918,
  "_sha256": "9f87c29d0f72f87b4f018ad4492ab8021618ef853019ce14f307a9f67be23bd3",
  "_expires": "2027-02-05T20:01:44.000Z",
  "_created": "2026-10-28T19:57:09.000Z",
  "_published": "2026-10-28T20:01:47.097Z",
  "_upstream": "https://github.com/cran/rd2dnet",
  "_status": "success",
  "_maintainer": {
    "name": "Zach Winship",
    "email": "zachtwinship@gmail.com"
  },
  "_jobs": [
    {
      "job": 123065357505,
      "time": 122,
      "config": "linux-devel-arm64",
      "r": "4.7.0",
      "check": "OK",
      "artifact": "12847388374"
    },
    {
      "job": 123065357408,
      "time": 143,
      "config": "linux-devel-x86_64",
      "r": "4.7.0",
      "check": "OK",
      "artifact": "12846884342"
    },
    {
      "job": 123065357758,
      "time": 125,
      "config": "linux-release-arm64",
      "r": "4.6.1",
      "check": "OK",
      "artifact": "12847721534"
    },
    {
      "job": 123065357617,
      "time": 139,
      "config": "linux-release-x86_64",
      "r": "4.6.1",
      "check": "OK",
      "artifact": "12847851423"
    },
    {
      "job": 123061058111,
      "time": 491,
      "config": "source",
      "r": "4.6.1",
      "check": "OK",
      "artifact": "12847955672"
    },
    {
      "job": 123065357635,
      "time": 138,
      "config": "wasm-release",
      "r": "4.6.0",
      "check": "OK",
      "artifact": "12848185125"
    },
    {
      "job": 123065357650,
      "time": 218,
      "config": "windows-devel-arm64",
      "r": "4.7.0",
      "check": "OK",
      "artifact": "12846902671"
    },
    {
      "job": 123065357588,
      "time": 168,
      "config": "windows-devel-x86_64",
      "r": "4.7.0",
      "check": "OK",
      "artifact": "12847985755"
    },
    {
      "job": 123065357491,
      "time": 232,
      "config": "windows-release-arm64",
      "r": "4.6.1",
      "check": "OK",
      "artifact": "12848155511"
    },
    {
      "job": 123065357473,
      "time": 121,
      "config": "windows-release-x86_64",
      "r": "4.6.1",
      "check": "OK",
      "artifact": "12846372974"
    }
  ],
  "_buildurl": "https://github.com/r-universe/cran/actions/runs/40757678764",
  "_commit": {
    "id": "da175442c7706dd9de889eb8cbbc57e0d87f453c",
    "author": "Zach Winship <zachtwinship@gmail.com>",
    "committer": "cran-robot <csardi.gabor+cran@gmail.com>",
    "message": "version 0.1.0\n",
    "time": 1793183408
  },
  "_distro": "resolute",
  "_host": "GitHub-Actions",
  "_registered": true,
  "_dependencies": [
    {
      "package": "R",
      "version": ">= 4.1.0",
      "role": "Depends"
    },
    {
      "package": "Rcpp",
      "role": "LinkingTo"
    },
    {
      "package": "graphics",
      "role": "Imports"
    },
    {
      "package": "grDevices",
      "role": "Imports"
    },
    {
      "package": "methods",
      "role": "Imports"
    },
    {
      "package": "Rcpp",
      "role": "Imports"
    },
    {
      "package": "stats",
      "role": "Imports"
    },
    {
      "package": "utils",
      "role": "Imports"
    },
    {
      "package": "dodgr",
      "role": "Suggests"
    },
    {
      "package": "igraph",
      "role": "Suggests"
    },
    {
      "package": "knitr",
      "role": "Suggests"
    },
    {
      "package": "Matrix",
      "role": "Suggests"
    },
    {
      "package": "osmdata",
      "role": "Suggests"
    },
    {
      "package": "rmarkdown",
      "role": "Suggests"
    },
    {
      "package": "sf",
      "role": "Suggests"
    },
    {
      "package": "testthat",
      "version": ">= 3.0.0",
      "role": "Suggests"
    }
  ],
  "_owner": "cran",
  "_selfowned": false,
  "_usedby": 0,
  "_updates": [
    {
      "week": "2026-44",
      "n": 1
    }
  ],
  "_tags": [
    {
      "name": "0.1.0",
      "date": "2026-10-28"
    }
  ],
  "_stars": 0,
  "_userbio": {
    "uuid": 6899542,
    "type": "organization",
    "name": "cran",
    "followers": 634,
    "description": "Unofficial read-only mirror of all CRAN R packages"
  },
  "_downloads": {
    "count": 0,
    "source": "https://cranlogs.r-pkg.org/downloads/total/last-month/rd2dnet"
  },
  "_devurl": "https://github.com/zwinship/rd2dnet",
  "_topics": [
    "cpp"
  ],
  "_rbuild": "4.6.1",
  "_assets": [
    "extra/citation.cff",
    "extra/citation.html",
    "extra/citation.json",
    "extra/citation.txt",
    "extra/contents.json",
    "extra/manual.pdf",
    "extra/NEWS.html",
    "extra/NEWS.txt",
    "extra/rd2dnet.html",
    "extra/readme.html",
    "extra/readme.md"
  ],
  "_cranurl": false,
  "_releases": [
    {
      "version": "0.1.0",
      "date": "2026-10-28"
    }
  ],
  "_exports": [
    "boundary",
    "boundary_distance",
    "boundary_grid",
    "boundary_interpolate",
    "boundary_is_masked",
    "boundary_is_treated",
    "boundary_project",
    "coords_at",
    "distances_from",
    "edge_cost",
    "edge_frame",
    "eval_table",
    "get_kernel",
    "lbate",
    "load_mock_midtown",
    "make_mock_midtown",
    "mock_true_tau",
    "nearest_source",
    "network_coordinates",
    "network_graph",
    "network_graph_from_adjacency",
    "network_graph_from_igraph",
    "network_graph_from_place",
    "node_contrast",
    "node_distance",
    "pairwise_distances",
    "precomputed",
    "project_lonlat",
    "rdbwnet",
    "rdnet",
    "rect_polygon",
    "snap_points",
    "transition_cost",
    "travel_time",
    "wbate",
    "with_boundary_crossings"
  ],
  "_datasets": [
    {
      "name": "mock_midtown_edges",
      "title": "Mock Midtown data",
      "object": "mock_midtown_edges",
      "class": [
        "data.frame"
      ],
      "fields": [
        "from",
        "to",
        "length",
        "highway",
        "speed_kph",
        "travel_time"
      ],
      "rows": 795,
      "table": true,
      "tojson": true
    },
    {
      "name": "mock_midtown_nodes",
      "title": "Mock Midtown data",
      "object": "mock_midtown_nodes",
      "class": [
        "data.frame"
      ],
      "fields": [
        "name",
        "x",
        "y",
        "far"
      ],
      "rows": 450,
      "table": true,
      "tojson": true
    },
    {
      "name": "mock_midtown_obs",
      "title": "Mock Midtown data",
      "object": "mock_midtown_obs",
      "class": [
        "data.frame"
      ],
      "fields": [
        "x",
        "y",
        "treated",
        "far",
        "block",
        "outcome"
      ],
      "rows": 3000,
      "table": true,
      "tojson": true
    }
  ],
  "_help": [
    {
      "page": "boundary",
      "title": "Boundary separating treated from control locations",
      "topics": [
        "boundary"
      ]
    },
    {
      "page": "boundary_geometry",
      "title": "Boundary geometry operations",
      "topics": [
        "boundary_distance",
        "boundary_geometry",
        "boundary_interpolate",
        "boundary_project"
      ]
    },
    {
      "page": "boundary_grid",
      "title": "Equally spaced positions along the boundary",
      "topics": [
        "boundary_grid"
      ]
    },
    {
      "page": "boundary_is_masked",
      "title": "Masked stretches of the boundary",
      "topics": [
        "boundary_is_masked"
      ]
    },
    {
      "page": "boundary_is_treated",
      "title": "Treatment side of points",
      "topics": [
        "boundary_is_treated"
      ]
    },
    {
      "page": "coords_at",
      "title": "Kernel distance and boundary offset at an evaluation point",
      "topics": [
        "coords_at"
      ]
    },
    {
      "page": "density.rd2dnet_coords",
      "title": "Density (sorting) test at a network boundary",
      "topics": [
        "density.rd2dnet_coords"
      ]
    },
    {
      "page": "edge_frame",
      "title": "Street segments of a network",
      "topics": [
        "edge_frame"
      ]
    },
    {
      "page": "eval_table",
      "title": "Evaluation points of network coordinates",
      "topics": [
        "eval_table"
      ]
    },
    {
      "page": "get_kernel",
      "title": "Distance-decay kernels",
      "topics": [
        "get_kernel"
      ]
    },
    {
      "page": "load_mock_midtown",
      "title": "Mock Midtown city",
      "topics": [
        "load_mock_midtown",
        "make_mock_midtown"
      ]
    },
    {
      "page": "metrics",
      "title": "Network metrics",
      "topics": [
        "edge_cost",
        "metrics",
        "node_contrast",
        "precomputed",
        "transition_cost",
        "travel_time"
      ]
    },
    {
      "page": "mock_midtown",
      "title": "Mock Midtown data",
      "topics": [
        "mock_midtown",
        "mock_midtown_edges",
        "mock_midtown_nodes",
        "mock_midtown_obs"
      ]
    },
    {
      "page": "mock_true_tau",
      "title": "Mock city treatment effect",
      "topics": [
        "mock_true_tau"
      ]
    },
    {
      "page": "network_coordinates",
      "title": "Network coordinates around a boundary",
      "topics": [
        "as.data.frame.rd2dnet_coords",
        "network_coordinates"
      ]
    },
    {
      "page": "network_distances",
      "title": "Network distances",
      "topics": [
        "distances_from",
        "nearest_source",
        "network_distances",
        "node_distance"
      ]
    },
    {
      "page": "network_graph",
      "title": "Spatial network with a distance metric",
      "topics": [
        "network_graph"
      ]
    },
    {
      "page": "network_graph_from_adjacency",
      "title": "Build a network from an adjacency matrix",
      "topics": [
        "network_graph_from_adjacency"
      ]
    },
    {
      "page": "network_graph_from_igraph",
      "title": "Build a network from an igraph graph",
      "topics": [
        "network_graph_from_igraph"
      ]
    },
    {
      "page": "network_graph_from_place",
      "title": "Download an OpenStreetMap street network",
      "topics": [
        "network_graph_from_place"
      ]
    },
    {
      "page": "pairwise_distances",
      "title": "Network distances between observations",
      "topics": [
        "pairwise_distances"
      ]
    },
    {
      "page": "project_lonlat",
      "title": "Project longitude/latitude to a planar coordinate system",
      "topics": [
        "project_lonlat"
      ]
    },
    {
      "page": "rdbwnet",
      "title": "Bandwidth selection for network boundary discontinuity designs",
      "topics": [
        "rdbwnet"
      ]
    },
    {
      "page": "rdnet",
      "title": "Boundary discontinuity estimation on a network",
      "topics": [
        "rdnet"
      ]
    },
    {
      "page": "rdnet-methods",
      "title": "Summaries of rdnet results",
      "topics": [
        "as.data.frame.rdnet",
        "coef.rdnet",
        "confint.rdnet",
        "plot.rdnet",
        "print.rdnet",
        "print.summary.rdnet",
        "rdnet-methods",
        "summary.rdnet",
        "vcov.rdnet"
      ]
    },
    {
      "page": "rect_polygon",
      "title": "Rectangle polygon",
      "topics": [
        "rect_polygon"
      ]
    },
    {
      "page": "snap_points",
      "title": "Attach points to a network",
      "topics": [
        "snap_points"
      ]
    },
    {
      "page": "wbate",
      "title": "Aggregate boundary treatment effects",
      "topics": [
        "lbate",
        "wbate"
      ]
    },
    {
      "page": "with_boundary_crossings",
      "title": "Split edges where they cross the boundary",
      "topics": [
        "with_boundary_crossings"
      ]
    }
  ],
  "_readme": "https://github.com/cran/rd2dnet/raw/HEAD/README.md",
  "_rundeps": [
    "Rcpp"
  ],
  "_sysdeps": [
    {
      "shlib": "libstdc++",
      "package": "libstdc++6",
      "source": "gcc",
      "version": "16-20260322-1ubuntu1",
      "name": "c++",
      "homepage": "http://gcc.gnu.org/",
      "description": "GNU Standard C++ Library v3"
    }
  ],
  "_vignettes": [
    {
      "source": "rd2dnet.Rmd",
      "filename": "rd2dnet.html",
      "title": "Boundary discontinuity designs on networks with rd2dnet",
      "engine": "knitr::rmarkdown",
      "headings": [
        "1. Data and network",
        "2. Distance is a metric you choose",
        "3. Network coordinates",
        "4. Estimation",
        "5. Aggregate effects: WBATE and LBATE",
        "6. Covariates, fuzzy designs, derivatives",
        "7. Standard errors",
        "8. Density (sorting) test",
        "9. Recipes",
        "Donut",
        "Covariate balance",
        "Placebo boundary",
        "Difference-in-discontinuities",
        "10. Large data"
      ],
      "created": "2026-10-28 10:30:08",
      "modified": "2026-10-28 10:30:08",
      "commits": 1
    }
  ],
  "_score": 2.6989700043360187,
  "_indexed": true,
  "_nocasepkg": "rd2dnet",
  "_universes": [
    "cran",
    "zwinship"
  ],
  "_binaries": [
    {
      "r": "4.7.0",
      "os": "linux",
      "version": "0.1.0",
      "date": "2026-10-28T19:59:11.000Z",
      "distro": "resolute",
      "arch": "aarch64",
      "commit": "da175442c7706dd9de889eb8cbbc57e0d87f453c",
      "fileid": "https://r2.ropensci.org/e29e1f315df5ec7428b0e95f2783b8176e9eadb20e9f20255a313346dd6f8c4b",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/cran/actions/runs/40757678764"
    },
    {
      "r": "4.7.0",
      "os": "linux",
      "version": "0.1.0",
      "date": "2026-10-28T19:59:27.000Z",
      "distro": "resolute",
      "arch": "x86_64",
      "commit": "da175442c7706dd9de889eb8cbbc57e0d87f453c",
      "fileid": "https://r2.ropensci.org/fedb560015382f26f55e90ee22d5fa5e10ff78aad70c9d9595f99c731a6c10ce",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/cran/actions/runs/40757678764"
    },
    {
      "r": "4.6.1",
      "os": "linux",
      "version": "0.1.0",
      "date": "2026-10-28T19:59:16.000Z",
      "distro": "resolute",
      "arch": "aarch64",
      "commit": "da175442c7706dd9de889eb8cbbc57e0d87f453c",
      "fileid": "https://r2.ropensci.org/f3f16c5e10a4eec2ab11cfac4b3c2bbdce7afa0f7fd100ea841322094c721ca9",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/cran/actions/runs/40757678764"
    },
    {
      "r": "4.6.1",
      "os": "linux",
      "version": "0.1.0",
      "date": "2026-10-28T19:59:19.000Z",
      "distro": "resolute",
      "arch": "x86_64",
      "commit": "da175442c7706dd9de889eb8cbbc57e0d87f453c",
      "fileid": "https://r2.ropensci.org/556ca3e5436202a4fca858ad0071037466c21624a4ce6750e02435115c22758b",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/cran/actions/runs/40757678764"
    },
    {
      "r": "4.6.0",
      "os": "wasm",
      "version": "0.1.0",
      "date": "2026-10-28T19:59:48.000Z",
      "arch": "emscripten",
      "commit": "da175442c7706dd9de889eb8cbbc57e0d87f453c",
      "fileid": "https://r2.ropensci.org/232bd59ef2240f05f6f6e1f25a89a2b093b4b28d63e53a647ec6861f195331e9",
      "status": "success",
      "buildurl": "https://github.com/r-universe/cran/actions/runs/40757678764"
    },
    {
      "r": "4.7.0",
      "os": "win",
      "version": "0.1.0",
      "date": "2026-10-28T20:00:26.000Z",
      "arch": "aarch64",
      "commit": "da175442c7706dd9de889eb8cbbc57e0d87f453c",
      "fileid": "https://r2.ropensci.org/dc3961cf487eed1d1c28dc6ea4fb553ab03f04d8b0c60e5bb7a4931d78d9baa3",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/cran/actions/runs/40757678764"
    },
    {
      "r": "4.7.0",
      "os": "win",
      "version": "0.1.0",
      "date": "2026-10-28T19:58:39.000Z",
      "arch": "x86_64",
      "commit": "da175442c7706dd9de889eb8cbbc57e0d87f453c",
      "fileid": "https://r2.ropensci.org/a04da7f51b8c3d151dc150c69b92b815409289739994afb82f75fb6b00a84496",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/cran/actions/runs/40757678764"
    },
    {
      "r": "4.6.1",
      "os": "win",
      "version": "0.1.0",
      "date": "2026-10-28T20:00:40.000Z",
      "arch": "aarch64",
      "commit": "da175442c7706dd9de889eb8cbbc57e0d87f453c",
      "fileid": "https://r2.ropensci.org/4d587736c33b1df7bf0f01ed45886e4a08ea6839267891e60ead15ea534db88c",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/cran/actions/runs/40757678764"
    },
    {
      "r": "4.6.1",
      "os": "win",
      "version": "0.1.0",
      "date": "2026-10-28T19:58:36.000Z",
      "arch": "x86_64",
      "commit": "da175442c7706dd9de889eb8cbbc57e0d87f453c",
      "fileid": "https://r2.ropensci.org/b16908ad678e76c1ba99f250d7be330f4483581b342e954c95a123fea841074b",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/cran/actions/runs/40757678764"
    }
  ]
}