{
  "_id": "6a153f9eacfb0bcc41d5551d",
  "Package": "HSAR",
  "Title": "Hierarchical Spatial Autoregressive Model",
  "Version": "0.7.3",
  "Authors@R": "c(\nperson(given = \"Guanpeng\", family = \"Dong\",\nemail = \"gpdong@vip.henu.edu.cn\",\nrole = c(\"aut\", \"cph\"),\ncomment = c(ORCID = \"0000-0003-3420-9622\")),\nperson(given = \"Wenbo\", family = \"Lyu\",\nemail = \"lyu.geosocial@gmail.com\",\nrole = c(\"aut\", \"cre\"),\ncomment = c(ORCID = \"0009-0002-6003-3800\")),\nperson(given = \"Richard\", family = \"Harris\",\nrole = \"aut\"),\nperson(given = \"Angelos\", family = \"Mimis\",\nrole = \"aut\")\n)",
  "Description": "A Hierarchical Spatial Autoregressive Model (HSAR), based\non a Bayesian Markov Chain Monte Carlo (MCMC) algorithm (Dong\nand Harris (2014) <doi:10.1111/gean.12049>). The creation of\nthis package was supported by the Economic and Social Research\nCouncil (ESRC) through the Applied Quantitative Methods\nNetwork: Phase II, grant number ES/K006460/1.",
  "License": "GPL (>= 2)",
  "Encoding": "UTF-8",
  "Roxygen": "list(markdown = TRUE)",
  "RoxygenNote": "7.3.3",
  "URL": "https://spatlyu.github.io/HSAR/, https://github.com/spatlyu/HSAR",
  "BugReports": "https://github.com/spatlyu/HSAR/issues",
  "VignetteBuilder": "knitr",
  "LazyData": "true",
  "Config/pak/sysreqs": "libabsl-dev cmake libgdal-dev gdal-bin libgeos-dev\nlibssl-dev libproj-dev libsqlite3-dev libudunits2-dev",
  "Repository": "https://spatlyu.r-universe.dev",
  "Date/Publication": "2026-03-27 13:58:56 UTC",
  "RemoteUrl": "https://github.com/SpatLyu/HSAR",
  "RemoteRef": "HEAD",
  "RemoteSha": "e42378a8300213d314fbf421e726b2e4961b690d",
  "NeedsCompilation": "yes",
  "Packaged": {
    "Date": "2026-05-26 06:29:53 UTC",
    "User": "root"
  },
  "Author": "Guanpeng Dong [aut, cph] (ORCID:\n<https://orcid.org/0000-0003-3420-9622>),\nWenbo Lyu [aut, cre] (ORCID: <https://orcid.org/0009-0002-6003-3800>),\nRichard Harris [aut],\nAngelos Mimis [aut]",
  "Maintainer": "Wenbo Lyu <lyu.geosocial@gmail.com>",
  "MD5sum": "a1ee15d35c5eefcb68890b3b3818cc61",
  "_user": "spatlyu",
  "_type": "src",
  "_file": "HSAR_0.7.3.tar.gz",
  "_fileid": "bfdc5e292926185b946fa4138fdbf3f07f0dba4697b886da6cb392e95fa35416",
  "_filesize": 506955,
  "_sha256": "bfdc5e292926185b946fa4138fdbf3f07f0dba4697b886da6cb392e95fa35416",
  "_created": "2026-05-26T06:29:53.000Z",
  "_published": "2026-05-26T06:37:17.992Z",
  "_distro": "noble",
  "_jobs": [
    {
      "job": 77819790618,
      "time": 224,
      "config": "linux-devel-arm64",
      "r": "4.7.0",
      "check": "OK",
      "artifact": "7210385291"
    },
    {
      "job": 77819790573,
      "time": 223,
      "config": "linux-devel-x86_64",
      "r": "4.7.0",
      "check": "OK",
      "artifact": "7210384993"
    },
    {
      "job": 77819790599,
      "time": 213,
      "config": "linux-release-arm64",
      "r": "4.6.0",
      "check": "OK",
      "artifact": "7210382583"
    },
    {
      "job": 77819790549,
      "time": 222,
      "config": "linux-release-x86_64",
      "r": "4.6.0",
      "check": "OK",
      "artifact": "7210384897"
    },
    {
      "job": 77819790543,
      "time": 208,
      "config": "macos-oldrel-arm64",
      "r": "4.5.3",
      "check": "OK",
      "artifact": "7210375852"
    },
    {
      "job": 77819790538,
      "time": 325,
      "config": "macos-oldrel-x86_64",
      "r": "4.5.3",
      "check": "OK",
      "artifact": "7210404770"
    },
    {
      "job": 77819790546,
      "time": 165,
      "config": "macos-release-arm64",
      "r": "4.6.0",
      "check": "OK",
      "artifact": "7210365508"
    },
    {
      "job": 77819790533,
      "time": 354,
      "config": "macos-release-x86_64",
      "r": "4.6.0",
      "check": "OK",
      "artifact": "7210411415"
    },
    {
      "job": 77819151411,
      "time": 324,
      "config": "source",
      "r": "4.6.0",
      "check": "OK",
      "artifact": "7210330932"
    },
    {
      "job": 77819790467,
      "time": 210,
      "config": "wasm-release",
      "r": "4.6.0",
      "check": "OK",
      "artifact": "7210381572"
    },
    {
      "job": 77819790552,
      "time": 194,
      "config": "windows-devel",
      "r": "4.7.0",
      "check": "OK",
      "artifact": "7210378431"
    },
    {
      "job": 77819790561,
      "time": 188,
      "config": "windows-oldrel",
      "r": "4.5.3",
      "check": "OK",
      "artifact": "7210376498"
    },
    {
      "job": 77819790567,
      "time": 205,
      "config": "windows-release",
      "r": "4.6.0",
      "check": "OK",
      "artifact": "7210381059"
    }
  ],
  "_buildurl": "https://github.com/r-universe/spatlyu/actions/runs/26436072528",
  "_status": "success",
  "_host": "GitHub-Actions",
  "_upstream": "https://github.com/SpatLyu/HSAR",
  "_commit": {
    "id": "e42378a8300213d314fbf421e726b2e4961b690d",
    "author": "Wenbo LYU <lyu.geosocial@gmail.com>",
    "committer": "GitHub <noreply@github.com>",
    "message": "Merge pull request #8 from pol-db4drd2/main\n\nDurbin = TRUE and more posteriors (replacement for #7)",
    "time": 1774619936
  },
  "_maintainer": {
    "name": "Wenbo Lyu",
    "email": "lyu.geosocial@gmail.com",
    "login": "spatlyu",
    "uuid": 118346681
  },
  "_registered": true,
  "_dependencies": [
    {
      "package": "R",
      "version": ">= 3.5",
      "role": "Depends"
    },
    {
      "package": "Rcpp",
      "role": "LinkingTo"
    },
    {
      "package": "RcppArmadillo",
      "role": "LinkingTo"
    },
    {
      "package": "spdep",
      "role": "Imports"
    },
    {
      "package": "spatialreg",
      "role": "Imports"
    },
    {
      "package": "stats",
      "role": "Imports"
    },
    {
      "package": "knitr",
      "role": "Suggests"
    },
    {
      "package": "Matrix",
      "role": "Suggests"
    },
    {
      "package": "RColorBrewer",
      "role": "Suggests"
    },
    {
      "package": "Rcpp",
      "role": "Suggests"
    },
    {
      "package": "RcppArmadillo",
      "role": "Suggests"
    },
    {
      "package": "rmarkdown",
      "role": "Suggests"
    },
    {
      "package": "sdsfun",
      "role": "Suggests"
    },
    {
      "package": "sf",
      "role": "Suggests"
    },
    {
      "package": "stringr",
      "role": "Suggests"
    },
    {
      "package": "tidyverse",
      "role": "Suggests"
    }
  ],
  "_owner": "spatlyu",
  "_selfowned": true,
  "_usedby": 0,
  "_updates": [
    {
      "week": "2025-42",
      "n": 7
    },
    {
      "week": "2026-13",
      "n": 2
    }
  ],
  "_tags": [],
  "_topics": [
    "spatial-econometrics",
    "spatial-regression",
    "spatial-statistics",
    "openblas",
    "cpp"
  ],
  "_stars": 15,
  "_contributors": [
    {
      "user": "spatlyu",
      "count": 57,
      "uuid": 118346681
    },
    {
      "user": "pol-db4drd2",
      "count": 10,
      "uuid": 56445769
    }
  ],
  "_userbio": {
    "uuid": 118346681,
    "type": "user",
    "name": "Wenbo Lyu",
    "description": "Spatial Statistics; Causality; GeoInformatics; \r\n R; C++; "
  },
  "_downloads": {
    "count": 176,
    "source": "https://cranlogs.r-pkg.org/downloads/total/last-month/HSAR"
  },
  "_devurl": "https://github.com/spatlyu/hsar",
  "_pkgdown": "https://spatlyu.github.io/HSAR/",
  "_searchresults": 34,
  "_rbuild": "4.6.0",
  "_assets": [
    "extra/citation.cff",
    "extra/citation.html",
    "extra/citation.json",
    "extra/citation.txt",
    "extra/contents.json",
    "extra/HSAR.html",
    "extra/NEWS.html",
    "extra/NEWS.txt",
    "extra/readme.html",
    "extra/readme.md",
    "manual.pdf"
  ],
  "_homeurl": "https://github.com/spatlyu/hsar",
  "_realowner": "spatlyu",
  "_cranurl": true,
  "_releases": [
    {
      "version": "0.3.6",
      "date": "2015-12-22"
    },
    {
      "version": "0.4.0",
      "date": "2016-05-24"
    },
    {
      "version": "0.4.2",
      "date": "2017-10-18"
    },
    {
      "version": "0.5",
      "date": "2020-06-26"
    },
    {
      "version": "0.5.1",
      "date": "2020-06-28"
    },
    {
      "version": "0.6.0",
      "date": "2024-12-23"
    }
  ],
  "_exports": [
    "hsar",
    "mcmc_impacts",
    "sar"
  ],
  "_datasets": [
    {
      "name": "Beijingdistricts",
      "title": "Boundaries of districts in Beijing",
      "object": "Beijingdistricts",
      "class": [
        "sf",
        "data.frame"
      ],
      "fields": [
        "id",
        "geometry"
      ],
      "rows": 111,
      "table": false,
      "tojson": true
    },
    {
      "name": "depmunic",
      "title": "Municipality departments of Athens",
      "object": "depmunic",
      "class": [
        "sf",
        "data.frame"
      ],
      "fields": [
        "num_dep",
        "airbnb",
        "museums",
        "population",
        "pop_rest",
        "greensp",
        "area",
        "geometry"
      ],
      "rows": 7,
      "table": false,
      "tojson": true
    },
    {
      "name": "land",
      "title": "The spatial locations of the Beijing land price data",
      "object": "land",
      "class": [
        "sf",
        "data.frame"
      ],
      "fields": [
        "obs",
        "district.id",
        "geometry"
      ],
      "rows": 1117,
      "table": true,
      "tojson": true
    },
    {
      "name": "landprice",
      "title": "Leased residential land parcels, from 2003 to 2009 in Beijing, China",
      "object": "landprice",
      "class": [
        "data.frame"
      ],
      "fields": [
        "obs",
        "lnprice",
        "lnarea",
        "lndcbd",
        "dsubway",
        "dpark",
        "dele",
        "popden",
        "crimerate",
        "district.id",
        "year"
      ],
      "rows": 1117,
      "table": true,
      "tojson": true
    },
    {
      "name": "properties",
      "title": "Dataset of properties in the municipality of Athens",
      "object": "properties",
      "class": [
        "sf",
        "data.frame"
      ],
      "fields": [
        "id",
        "size",
        "price",
        "prpsqm",
        "age",
        "dist_metro",
        "geometry"
      ],
      "rows": 1000,
      "table": true,
      "tojson": true
    }
  ],
  "_help": [
    {
      "page": "Beijingdistricts",
      "title": "Boundaries of districts in Beijing",
      "topics": [
        "Beijingdistricts"
      ]
    },
    {
      "page": "depmunic",
      "title": "Municipality departments of Athens",
      "topics": [
        "depmunic"
      ]
    },
    {
      "page": "hsar",
      "title": "Hierarchical SAR model estimation",
      "topics": [
        "hsar"
      ]
    },
    {
      "page": "land",
      "title": "The spatial locations of the Beijing land price data",
      "topics": [
        "land"
      ]
    },
    {
      "page": "landprice",
      "title": "Leased residential land parcels, from 2003 to 2009 in Beijing, China",
      "topics": [
        "landprice"
      ]
    },
    {
      "page": "mcmc_impacts",
      "title": "Estimate impact per MCMC draw of coefficients",
      "topics": [
        "mcmc_impacts"
      ]
    },
    {
      "page": "properties",
      "title": "Dataset of properties in the municipality of Athens",
      "topics": [
        "properties"
      ]
    },
    {
      "page": "sar",
      "title": "SAR model estimation",
      "topics": [
        "sar"
      ]
    }
  ],
  "_readme": "https://github.com/SpatLyu/HSAR/raw/HEAD/README.md",
  "_rundeps": [
    "backports",
    "boot",
    "checkmate",
    "class",
    "classInt",
    "coda",
    "codetools",
    "data.table",
    "DBI",
    "deldir",
    "e1071",
    "Formula",
    "generics",
    "insight",
    "KernSmooth",
    "lattice",
    "LearnBayes",
    "marginaleffects",
    "MASS",
    "Matrix",
    "multcomp",
    "mvtnorm",
    "nlme",
    "proxy",
    "Rcpp",
    "RcppArmadillo",
    "rlang",
    "s2",
    "sandwich",
    "sf",
    "sp",
    "spatialreg",
    "spData",
    "spdep",
    "survival",
    "TH.data",
    "units",
    "wk",
    "zoo"
  ],
  "_sysdeps": [
    {
      "shlib": "liblapack",
      "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": "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": "HSAR.Rmd",
      "filename": "HSAR.html",
      "title": "Hierarchical Spatial Simultaneous Autoregressive Model (HSAR)",
      "engine": "knitr::rmarkdown",
      "headings": [
        "An application of HSAR for asking prices in the municipality of Athens",
        "Libraries",
        "Reading the datasets",
        "Create matrices used in the hsar function",
        "Run the models"
      ],
      "created": "2024-12-04 16:09:11",
      "modified": "2024-12-20 02:15:30",
      "commits": 4
    }
  ],
  "_score": 5.707570176097937,
  "_indexed": true,
  "_nocasepkg": "hsar",
  "_universes": [
    "spatlyu"
  ],
  "_binaries": [
    {
      "r": "4.7.0",
      "os": "linux",
      "version": "0.7.3",
      "date": "2026-05-26T06:33:30.000Z",
      "distro": "noble",
      "arch": "aarch64",
      "commit": "e42378a8300213d314fbf421e726b2e4961b690d",
      "fileid": "43efd9d96da832096defb5e0addd2fc097063015804af0f96d9cf672cf82ffaf",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/spatlyu/actions/runs/26436072528"
    },
    {
      "r": "4.7.0",
      "os": "linux",
      "version": "0.7.3",
      "date": "2026-05-26T06:33:29.000Z",
      "distro": "noble",
      "arch": "x86_64",
      "commit": "e42378a8300213d314fbf421e726b2e4961b690d",
      "fileid": "26fa7eb996e81ddd78b37b6509cc293c9c8fbb73108975bef963dc5985b10a4c",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/spatlyu/actions/runs/26436072528"
    },
    {
      "r": "4.6.0",
      "os": "linux",
      "version": "0.7.3",
      "date": "2026-05-26T06:33:22.000Z",
      "distro": "noble",
      "arch": "aarch64",
      "commit": "e42378a8300213d314fbf421e726b2e4961b690d",
      "fileid": "b1a684d5e1650192e33890f2ac8841dca286f68a6737d1778301f461156a5dad",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/spatlyu/actions/runs/26436072528"
    },
    {
      "r": "4.6.0",
      "os": "linux",
      "version": "0.7.3",
      "date": "2026-05-26T06:33:29.000Z",
      "distro": "noble",
      "arch": "x86_64",
      "commit": "e42378a8300213d314fbf421e726b2e4961b690d",
      "fileid": "20ed980df4ac74c67b90236f766c9b711c7f5a622b9f03993a2e3e106d53a2d8",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/spatlyu/actions/runs/26436072528"
    },
    {
      "r": "4.5.3",
      "os": "mac",
      "version": "0.7.3",
      "date": "2026-05-26T06:33:19.000Z",
      "arch": "aarch64",
      "commit": "e42378a8300213d314fbf421e726b2e4961b690d",
      "fileid": "9ee10a704e0c07f60566bd934737b47eb344eb31be078d57ef223e3094105983",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/spatlyu/actions/runs/26436072528"
    },
    {
      "r": "4.5.3",
      "os": "mac",
      "version": "0.7.3",
      "date": "2026-05-26T06:34:27.000Z",
      "arch": "x86_64",
      "commit": "e42378a8300213d314fbf421e726b2e4961b690d",
      "fileid": "4fd79a0395aedcb8cb2770cabed6b7f4900070222c1d3b6c154e8607fe842b95",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/spatlyu/actions/runs/26436072528"
    },
    {
      "r": "4.6.0",
      "os": "mac",
      "version": "0.7.3",
      "date": "2026-05-26T06:32:40.000Z",
      "arch": "aarch64",
      "commit": "e42378a8300213d314fbf421e726b2e4961b690d",
      "fileid": "76b159272ac935cae91bc283e60a29ba85d9c4d2eec577dc0fc0d043c5e86bb3",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/spatlyu/actions/runs/26436072528"
    },
    {
      "r": "4.6.0",
      "os": "mac",
      "version": "0.7.3",
      "date": "2026-05-26T06:34:44.000Z",
      "arch": "x86_64",
      "commit": "e42378a8300213d314fbf421e726b2e4961b690d",
      "fileid": "378e5f33e7bb67800d2955e6f6393858ec5e082ddec4af1a5e70a44d60f8d085",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/spatlyu/actions/runs/26436072528"
    },
    {
      "r": "4.6.0",
      "os": "wasm",
      "version": "0.7.3",
      "date": "2026-05-26T06:34:07.000Z",
      "arch": "emscripten",
      "commit": "e42378a8300213d314fbf421e726b2e4961b690d",
      "fileid": "b162e5dbdc210a0349f7cb72f068e3faf2dc8bd2043eff20bdc3ccfe02548fc3",
      "status": "success",
      "buildurl": "https://github.com/r-universe/spatlyu/actions/runs/26436072528"
    },
    {
      "r": "4.7.0",
      "os": "win",
      "version": "0.7.3",
      "date": "2026-05-26T06:32:08.000Z",
      "arch": "x86_64",
      "commit": "e42378a8300213d314fbf421e726b2e4961b690d",
      "fileid": "11006276731e00eb5738eebfbfed1dcf9b165c2fee8daf5e5be25774b15c267f",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/spatlyu/actions/runs/26436072528"
    },
    {
      "r": "4.5.3",
      "os": "win",
      "version": "0.7.3",
      "date": "2026-05-26T06:32:10.000Z",
      "arch": "x86_64",
      "commit": "e42378a8300213d314fbf421e726b2e4961b690d",
      "fileid": "5d7e92b69546ce0f5394e4018b1539a32b562f5a6363f0ff6042876a8f7429d8",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/spatlyu/actions/runs/26436072528"
    },
    {
      "r": "4.6.0",
      "os": "win",
      "version": "0.7.3",
      "date": "2026-05-26T06:32:16.000Z",
      "arch": "x86_64",
      "commit": "e42378a8300213d314fbf421e726b2e4961b690d",
      "fileid": "2fb06b1559760cd7ba98fbdcc43817de84cb6352c3ab04f53bb362d491b84b3e",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/spatlyu/actions/runs/26436072528"
    }
  ]
}