{
  "_id": "6a12a7a6acfb0bcc41d14e55",
  "Package": "SpatialInference",
  "Title": "Tools for Statistical Inference with Geo-Coded Data",
  "Version": "0.1.0",
  "Authors@R": "person(given = \"Alexander\",\nfamily = \"Lehner\",\nrole = c(\"aut\", \"cre\"),\nemail = \"alehner@worldbank.org\",\ncomment = c(ORCID = \"0000-0001-5885-5966\"))",
  "Description": "Fast computation of Conley (1999)\n<doi:10.1016/S0304-4076(98)00084-0> spatial heteroskedasticity\nand autocorrelation consistent (HAC) standard errors for linear\nregression models with geo-coded data, with a fast C++\nimplementation by Christensen, Hartman, and Samii (2021)\n<doi:10.1017/S0020818321000187>. Performance-critical distance\ncalculations, kernel weighting, and variance component\naccumulation are implemented in C++ via 'Rcpp' and\n'RcppArmadillo'. Includes tools for estimating the spatial\ncorrelation range from covariograms and correlograms following\nthe bandwidth selection method proposed in Lehner (2026)\n<doi:10.48550/arXiv.2603.03997>, and diagnostic visualizations\nfor bandwidth selection.",
  "License": "GPL (>= 3)",
  "URL": "https://github.com/axlehner/SpatialInference",
  "BugReports": "https://github.com/axlehner/SpatialInference/issues",
  "Encoding": "UTF-8",
  "LazyData": "true",
  "RoxygenNote": "7.3.2",
  "Config/testthat/edition": "3",
  "VignetteBuilder": "knitr",
  "NeedsCompilation": "yes",
  "Packaged": {
    "Date": "2026-05-24 07:20:26 UTC",
    "User": "root"
  },
  "Author": "Alexander Lehner [aut, cre] (ORCID:\n<https://orcid.org/0000-0001-5885-5966>)",
  "Maintainer": "Alexander Lehner <alehner@worldbank.org>",
  "Repository": "https://cran.r-universe.dev",
  "Date/Publication": "2026-03-25 21:56:54 UTC",
  "RemoteUrl": "https://github.com/cran/SpatialInference",
  "RemoteRef": "HEAD",
  "RemoteSha": "0c9e7f5f8f6b87f2c73faac62dd04659089a3262",
  "MD5sum": "d14d0427e6564851a6de2ab50348cddd",
  "_user": "cran",
  "_type": "src",
  "_file": "SpatialInference_0.1.0.tar.gz",
  "_fileid": "2a2e76555f2af380640b165bcf4a11fb3aeb42bab697e2d6b2021008d39a02f1",
  "_filesize": 2440279,
  "_sha256": "2a2e76555f2af380640b165bcf4a11fb3aeb42bab697e2d6b2021008d39a02f1",
  "_created": "2026-05-24T07:20:26.000Z",
  "_published": "2026-05-24T07:24:22.829Z",
  "_distro": "noble",
  "_jobs": [
    {
      "job": 77580068211,
      "time": 149,
      "config": "linux-devel-arm64",
      "r": "4.7.0",
      "check": "OK",
      "artifact": "7183230889"
    },
    {
      "job": 77580068208,
      "time": 182,
      "config": "linux-devel-x86_64",
      "r": "4.7.0",
      "check": "OK",
      "artifact": "7183234437"
    },
    {
      "job": 77580068210,
      "time": 179,
      "config": "linux-release-arm64",
      "r": "4.6.0",
      "check": "OK",
      "artifact": "7183234010"
    },
    {
      "job": 77580068204,
      "time": 187,
      "config": "linux-release-x86_64",
      "r": "4.6.0",
      "check": "OK",
      "artifact": "7183234838"
    },
    {
      "job": 77579814616,
      "time": 270,
      "config": "source",
      "r": "4.6.0",
      "check": "OK",
      "artifact": "7183213610"
    },
    {
      "job": 77580068179,
      "time": 154,
      "config": "wasm-release",
      "r": "4.6.0",
      "check": "OK",
      "artifact": "7183231251"
    }
  ],
  "_buildurl": "https://github.com/r-universe/cran/actions/runs/26354918215",
  "_status": "success",
  "_host": "GitHub-Actions",
  "_upstream": "https://github.com/cran/SpatialInference",
  "_commit": {
    "id": "0c9e7f5f8f6b87f2c73faac62dd04659089a3262",
    "author": "Alexander Lehner <alehner@worldbank.org>",
    "committer": "cran-robot <csardi.gabor+cran@gmail.com>",
    "message": "version 0.1.0\n",
    "time": 1774475814
  },
  "_maintainer": {
    "name": "Alexander Lehner",
    "email": "alehner@worldbank.org",
    "login": "axlehner",
    "twitter": "@axlehner",
    "description": "",
    "uuid": 16270160,
    "orcid": "0000-0001-5885-5966"
  },
  "_registered": true,
  "_dependencies": [
    {
      "package": "R",
      "version": ">= 4.1.0",
      "role": "Depends"
    },
    {
      "package": "Rcpp",
      "role": "LinkingTo"
    },
    {
      "package": "RcppArmadillo",
      "role": "LinkingTo"
    },
    {
      "package": "Rcpp",
      "role": "Imports"
    },
    {
      "package": "sf",
      "role": "Imports"
    },
    {
      "package": "data.table",
      "role": "Imports"
    },
    {
      "package": "magrittr",
      "role": "Imports"
    },
    {
      "package": "stats",
      "role": "Imports"
    },
    {
      "package": "tibble",
      "role": "Imports"
    },
    {
      "package": "lfe",
      "role": "Suggests"
    },
    {
      "package": "fixest",
      "role": "Suggests"
    },
    {
      "package": "dplyr",
      "role": "Suggests"
    },
    {
      "package": "stringr",
      "role": "Suggests"
    },
    {
      "package": "spdep",
      "role": "Suggests"
    },
    {
      "package": "ncf",
      "role": "Suggests"
    },
    {
      "package": "gstat",
      "role": "Suggests"
    },
    {
      "package": "sandwich",
      "role": "Suggests"
    },
    {
      "package": "ggplot2",
      "role": "Suggests"
    },
    {
      "package": "modelsummary",
      "role": "Suggests"
    },
    {
      "package": "knitr",
      "role": "Suggests"
    },
    {
      "package": "rmarkdown",
      "role": "Suggests"
    },
    {
      "package": "geosphere",
      "role": "Suggests"
    },
    {
      "package": "testthat",
      "version": ">= 3.0.0",
      "role": "Suggests"
    }
  ],
  "_owner": "cran",
  "_selfowned": false,
  "_usedby": 0,
  "_updates": [
    {
      "week": "2026-13",
      "n": 1
    }
  ],
  "_tags": [
    {
      "name": "0.1.0",
      "date": "2026-03-25"
    }
  ],
  "_stars": 0,
  "_contributors": [
    {
      "user": "axlehner",
      "count": 1,
      "uuid": 16270160
    }
  ],
  "_userbio": {
    "uuid": 6899542,
    "type": "organization",
    "name": "cran",
    "description": "Unofficial read-only mirror of all CRAN R packages"
  },
  "_downloads": {
    "count": 190,
    "source": "https://cranlogs.r-pkg.org/downloads/total/last-month/SpatialInference"
  },
  "_devurl": "https://github.com/axlehner/spatialinference",
  "_searchresults": 0,
  "_topics": [
    "openblas",
    "cpp"
  ],
  "_rbuild": "4.6.0",
  "_assets": [
    "extra/citation.cff",
    "extra/citation.html",
    "extra/citation.json",
    "extra/citation.txt",
    "extra/contents.json",
    "extra/NEWS.html",
    "extra/NEWS.txt",
    "extra/readme.html",
    "extra/readme.md",
    "extra/SpatialInference.html",
    "manual.pdf"
  ],
  "_homeurl": "https://github.com/axlehner/spatialinference",
  "_realowner": "axlehner",
  "_cranurl": false,
  "_releases": [
    {
      "version": "0.1.0",
      "date": "2026-03-25"
    }
  ],
  "_exports": [
    ":=",
    "%>%",
    "Bal_XeeXhC",
    "compute_conley_lfe",
    "conley_SE",
    "coords_as_columns",
    "covgm_range",
    "DistMat",
    "extract_corr_range",
    "gravity_centroid",
    "grid_FE",
    "inverseu_plot_conleyrange",
    "lm_sac",
    "TimeDist",
    "XeeXhC",
    "XeeXhC_Lg"
  ],
  "_datasets": [
    {
      "name": "US_counties_centroids",
      "title": "Centroids of Contiguous US Counties (2017)",
      "object": "US_counties_centroids",
      "class": [
        "sf",
        "data.frame"
      ],
      "fields": [
        "STATEFP",
        "COUNTYFP",
        "COUNTYNS",
        "GEOID",
        "NAME",
        "NAMELSAD",
        "LSAD",
        "CLASSFP",
        "MTFCC",
        "CSAFP",
        "CBSAFP",
        "METDIVFP",
        "FUNCSTAT",
        "ALAND",
        "AWATER",
        "INTPTLAT",
        "INTPTLON",
        "GISJOIN",
        "Shape_Leng",
        "Shape_Area",
        "noise1",
        "noise2",
        "dist",
        "share_asian",
        "share_black",
        "share_tworace",
        "share_hispanic",
        "AH1PE001",
        "AH1PM001",
        "lon",
        "lat",
        "geom",
        "year",
        "unit"
      ],
      "rows": 3108,
      "table": true,
      "tojson": true
    }
  ],
  "_help": [
    {
      "page": "Bal_XeeXhC",
      "title": "Spatial Variance Component for Balanced Panel",
      "topics": [
        "Bal_XeeXhC"
      ]
    },
    {
      "page": "compute_conley_lfe",
      "title": "Compute Conley Standard Error for a Single Coefficient",
      "topics": [
        "compute_conley_lfe"
      ]
    },
    {
      "page": "conley_SE",
      "title": "Conley Spatial HAC Variance-Covariance Estimation",
      "topics": [
        "conley_SE"
      ]
    },
    {
      "page": "coords_as_columns",
      "title": "Extract Coordinates as Columns from an sf Object",
      "topics": [
        "coords_as_columns"
      ]
    },
    {
      "page": "covgm_range",
      "title": "Covariogram Range Estimation and Visualization",
      "topics": [
        "covgm_range"
      ]
    },
    {
      "page": "DistMat",
      "title": "Create Distance Matrix",
      "topics": [
        "DistMat"
      ]
    },
    {
      "page": "extract_corr_range",
      "title": "Extract Correlation Range from a Correlogram or Covariogram",
      "topics": [
        "extract_corr_range"
      ]
    },
    {
      "page": "gravity_centroid",
      "title": "Weighted Mean Centre (Centre of Gravity)",
      "topics": [
        "gravity_centroid"
      ]
    },
    {
      "page": "grid_FE",
      "title": "Create Spatial Grid Fixed Effects",
      "topics": [
        "grid_FE"
      ]
    },
    {
      "page": "inverseu_plot_conleyrange",
      "title": "Inverse-U Plot of Conley Standard Errors vs. Cutoff Distance",
      "topics": [
        "inverseu_plot_conleyrange"
      ]
    },
    {
      "page": "lm_sac",
      "title": "Linear Model with Spatial Autocorrelation Diagnostics",
      "topics": [
        "lm_sac"
      ]
    },
    {
      "page": "TimeDist",
      "title": "Temporal Variance Component (Time Dimension)",
      "topics": [
        "TimeDist"
      ]
    },
    {
      "page": "US_counties_centroids",
      "title": "Centroids of Contiguous US Counties (2017)",
      "topics": [
        "US_counties_centroids"
      ]
    },
    {
      "page": "XeeXhC",
      "title": "Spatial Variance Component (X'ee'X)",
      "topics": [
        "XeeXhC"
      ]
    },
    {
      "page": "XeeXhC_Lg",
      "title": "Spatial Variance Component for Large Datasets",
      "topics": [
        "XeeXhC_Lg"
      ]
    }
  ],
  "_readme": "https://github.com/cran/SpatialInference/raw/HEAD/README.md",
  "_rundeps": [
    "class",
    "classInt",
    "cli",
    "data.table",
    "DBI",
    "e1071",
    "glue",
    "KernSmooth",
    "lifecycle",
    "magrittr",
    "MASS",
    "pillar",
    "pkgconfig",
    "proxy",
    "Rcpp",
    "RcppArmadillo",
    "rlang",
    "s2",
    "sf",
    "tibble",
    "units",
    "utf8",
    "vctrs",
    "wk"
  ],
  "_sysdeps": [
    {
      "shlib": "libblas",
      "package": "libopenblas0-pthread",
      "source": "openblas",
      "version": "0.3.26+ds-1ubuntu0.1",
      "name": "openblas",
      "homepage": "https://www.openblas.net/",
      "description": "Optimized BLAS (linear algebra) library (shared lib, pthread)"
    },
    {
      "shlib": "libstdc++",
      "package": "libstdc++6",
      "source": "gcc",
      "version": "14.2.0-4ubuntu2~24.04.1",
      "name": "c++",
      "homepage": "http://gcc.gnu.org/",
      "description": "GNU Standard C++ Library v3"
    }
  ],
  "_vignettes": [
    {
      "source": "spatial_HAC.Rmd",
      "filename": "spatial_HAC.html",
      "title": "Bandwidth Selection and Conley Spatial HAC Standard Errors",
      "author": "Alexander Lehner",
      "engine": "knitr::knitr",
      "headings": [
        "Overview",
        "Setup",
        "Simulated spatially correlated data",
        "The spurious regression problem",
        "Estimating the correlation range",
        "The inverse-U relationship",
        "Computing Conley standard errors",
        "Convenience wrappers",
        "Kernel choices",
        "References"
      ],
      "created": "2026-03-25 21:56:54",
      "modified": "2026-03-25 21:56:54",
      "commits": 1
    }
  ],
  "_score": 2.6989700043360187,
  "_indexed": false,
  "_nocasepkg": "spatialinference",
  "_universes": [
    "cran"
  ],
  "_indexurl": "https://axlehner.r-universe.dev/SpatialInference",
  "_binaries": [
    {
      "r": "4.7.0",
      "os": "linux",
      "version": "0.1.0",
      "date": "2026-05-24T07:22:56.000Z",
      "distro": "noble",
      "arch": "aarch64",
      "commit": "0c9e7f5f8f6b87f2c73faac62dd04659089a3262",
      "fileid": "bfe979a0ecee78ab40d9f3fffd9757106c49695b2db5fd23b24ab73a7e3cfd8e",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/cran/actions/runs/26354918215"
    },
    {
      "r": "4.7.0",
      "os": "linux",
      "version": "0.1.0",
      "date": "2026-05-24T07:23:26.000Z",
      "distro": "noble",
      "arch": "x86_64",
      "commit": "0c9e7f5f8f6b87f2c73faac62dd04659089a3262",
      "fileid": "af4bcd50fd43b6f70471c622f529cccf9587243d58bad0e347e75b1024a2fb79",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/cran/actions/runs/26354918215"
    },
    {
      "r": "4.6.0",
      "os": "linux",
      "version": "0.1.0",
      "date": "2026-05-24T07:23:22.000Z",
      "distro": "noble",
      "arch": "aarch64",
      "commit": "0c9e7f5f8f6b87f2c73faac62dd04659089a3262",
      "fileid": "bc7cf91ecbc7514a4448161602e2a75a54156645ed48041c524715315759f177",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/cran/actions/runs/26354918215"
    },
    {
      "r": "4.6.0",
      "os": "linux",
      "version": "0.1.0",
      "date": "2026-05-24T07:23:30.000Z",
      "distro": "noble",
      "arch": "x86_64",
      "commit": "0c9e7f5f8f6b87f2c73faac62dd04659089a3262",
      "fileid": "bed69edec3e031b96a1cbd07284a9dd9c20e52b13ecfc0a75a8361dcf35e4aaf",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/cran/actions/runs/26354918215"
    },
    {
      "r": "4.6.0",
      "os": "wasm",
      "version": "0.1.0",
      "date": "2026-05-24T07:23:26.000Z",
      "arch": "emscripten",
      "commit": "0c9e7f5f8f6b87f2c73faac62dd04659089a3262",
      "fileid": "cad58368b4db323950e62f95b4bf54408c947a780d94a82bf19b239c0f2e44f7",
      "status": "success",
      "buildurl": "https://github.com/r-universe/cran/actions/runs/26354918215"
    }
  ]
}