{
  "_id": "6ad09f2e576abc75bd5cdc4f",
  "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-10-15 09:25:11 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>",
  "_user": "spatlyu",
  "_type": "src",
  "_file": "HSAR_0.7.3.tar.gz",
  "_fileid": "https://r2.ropensci.org/fcf001adec0a9dcbf757200d0713471931458d9d083675eae377d66fcaefbc29",
  "_filesize": 504645,
  "_sha256": "fcf001adec0a9dcbf757200d0713471931458d9d083675eae377d66fcaefbc29",
  "_expires": "2027-01-23T09:38:44.000Z",
  "_created": "2026-10-15T09:25:11.000Z",
  "_published": "2026-10-15T09:38:54.540Z",
  "_buildurl": "https://github.com/r-universe/spatlyu/actions/runs/38712206129",
  "_status": "success",
  "_host": "GitHub-Actions",
  "_jobs": [
    {
      "job": 116348560630,
      "time": 204,
      "config": "linux-devel-arm64",
      "r": "4.7.0",
      "check": "OK",
      "artifact": "11961602959"
    },
    {
      "job": 116348560419,
      "time": 225,
      "config": "linux-devel-x86_64",
      "r": "4.7.0",
      "check": "OK",
      "artifact": "11961104231"
    },
    {
      "job": 116348560504,
      "time": 201,
      "config": "linux-release-arm64",
      "r": "4.6.1",
      "check": "OK",
      "artifact": "11961118859"
    },
    {
      "job": 116348560279,
      "time": 212,
      "config": "linux-release-x86_64",
      "r": "4.6.1",
      "check": "OK",
      "artifact": "11960584730"
    },
    {
      "job": 116348560252,
      "time": 282,
      "config": "macos-oldrel-arm64",
      "r": "4.5.3",
      "check": "OK",
      "artifact": "11962255120"
    },
    {
      "job": 116348560479,
      "time": 561,
      "config": "macos-oldrel-x86_64",
      "r": "4.5.3",
      "check": "OK",
      "artifact": "11962220655"
    },
    {
      "job": 116348560551,
      "time": 214,
      "config": "macos-release-arm64",
      "r": "4.6.1",
      "check": "OK",
      "artifact": "11961494689"
    },
    {
      "job": 116348560327,
      "time": 327,
      "config": "macos-release-x86_64",
      "r": "4.6.1",
      "check": "OK",
      "artifact": "11960589811"
    },
    {
      "job": 116346238932,
      "time": 334,
      "config": "source",
      "r": "4.6.1",
      "check": "OK",
      "artifact": "11961750240"
    },
    {
      "job": 116348560305,
      "time": 151,
      "config": "wasm-release",
      "r": "4.6.0",
      "check": "OK",
      "artifact": "11961622532"
    },
    {
      "job": 116348560448,
      "time": 395,
      "config": "windows-devel-arm64",
      "r": "4.7.0",
      "check": "OK",
      "artifact": "11961374031"
    },
    {
      "job": 116348560457,
      "time": 220,
      "config": "windows-devel-x86_64",
      "r": "4.7.0",
      "check": "OK",
      "artifact": "11960804424"
    },
    {
      "job": 116348560373,
      "time": 198,
      "config": "windows-oldrel-x86_64",
      "r": "4.5.3",
      "check": "OK",
      "artifact": "11961378255"
    },
    {
      "job": 116348560408,
      "time": 446,
      "config": "windows-release-arm64",
      "r": "4.6.1",
      "check": "OK",
      "artifact": "11961134620"
    },
    {
      "job": 116348560538,
      "time": 200,
      "config": "windows-release-x86_64",
      "r": "4.6.1",
      "check": "OK",
      "artifact": "11961358469"
    }
  ],
  "_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",
    "mastodon": "@SpatLyu@mastodon.social",
    "bluesky": "@spatlyu.bsky.social",
    "orcid": "0009-0002-6003-3800",
    "description": "Spatial Statistics; Causality; GeoInformatics; \n R; C++; ",
    "uuid": 118346681
  },
  "_distro": "resolute",
  "_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": 19,
  "_contributors": [
    {
      "user": "spatlyu",
      "count": 57,
      "uuid": 118346681
    },
    {
      "user": "pol-db4drd2",
      "count": 10,
      "uuid": 56445769
    }
  ],
  "_userbio": {
    "uuid": 118346681,
    "type": "user",
    "name": "Wenbo Lyu",
    "followers": 113,
    "description": "Spatial Statistics; Causality; GeoInformatics; \r\n R; C++; "
  },
  "_downloads": {
    "count": 287,
    "source": "https://cranlogs.r-pkg.org/downloads/total/last-month/HSAR"
  },
  "_devurl": "https://github.com/spatlyu/hsar",
  "_pkgdown": "https://spatlyu.github.io/HSAR/",
  "_searchresults": 39,
  "_rbuild": "4.6.1",
  "_assets": [
    "extra/citation.cff",
    "extra/citation.html",
    "extra/citation.json",
    "extra/citation.txt",
    "extra/contents.json",
    "extra/HSAR.html",
    "extra/manual.pdf",
    "extra/NEWS.html",
    "extra/NEWS.txt",
    "extra/readme.html",
    "extra/readme.md"
  ],
  "_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.32+ds-5",
      "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.32+ds-5",
      "name": "openblas",
      "homepage": "https://www.openblas.net/",
      "description": "Optimized BLAS (linear algebra) library (shared lib, pthread)"
    },
    {
      "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": "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.8698182079793275,
  "_indexed": true,
  "_nocasepkg": "hsar",
  "_universes": [
    "spatlyu"
  ],
  "_binaries": [
    {
      "r": "4.7.0",
      "os": "linux",
      "version": "0.7.3",
      "date": "2026-10-15T09:28:34.000Z",
      "distro": "resolute",
      "arch": "aarch64",
      "commit": "e42378a8300213d314fbf421e726b2e4961b690d",
      "fileid": "https://r2.ropensci.org/f71d4bcdf3d92444bab998fa7500468e3ec534b85ef669ddfde4bf5c8501d5e4",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/spatlyu/actions/runs/38712206129"
    },
    {
      "r": "4.7.0",
      "os": "linux",
      "version": "0.7.3",
      "date": "2026-10-15T09:28:47.000Z",
      "distro": "resolute",
      "arch": "x86_64",
      "commit": "e42378a8300213d314fbf421e726b2e4961b690d",
      "fileid": "https://r2.ropensci.org/f0ad6952ff5ee10e4f066ae467c85c7abc8a01a7951e2dad74097c6ce00301c7",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/spatlyu/actions/runs/38712206129"
    },
    {
      "r": "4.6.1",
      "os": "linux",
      "version": "0.7.3",
      "date": "2026-10-15T09:28:34.000Z",
      "distro": "resolute",
      "arch": "aarch64",
      "commit": "e42378a8300213d314fbf421e726b2e4961b690d",
      "fileid": "https://r2.ropensci.org/d833e5e4a73d5e41f135366930620f767bc88a6f26da74cbac429b8a1aa1532f",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/spatlyu/actions/runs/38712206129"
    },
    {
      "r": "4.6.1",
      "os": "linux",
      "version": "0.7.3",
      "date": "2026-10-15T09:28:33.000Z",
      "distro": "resolute",
      "arch": "x86_64",
      "commit": "e42378a8300213d314fbf421e726b2e4961b690d",
      "fileid": "https://r2.ropensci.org/3bce33d8c26a8ccbee30b6573b922828490e507321c751d23afda9eb6410e7cd",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/spatlyu/actions/runs/38712206129"
    },
    {
      "r": "4.5.3",
      "os": "mac",
      "version": "0.7.3",
      "date": "2026-10-15T09:32:49.000Z",
      "arch": "aarch64",
      "commit": "e42378a8300213d314fbf421e726b2e4961b690d",
      "fileid": "https://r2.ropensci.org/8bacc36b061a071d98b52ff1393638237457ee952501b721cba5b9ba6811a039",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/spatlyu/actions/runs/38712206129"
    },
    {
      "r": "4.5.3",
      "os": "mac",
      "version": "0.7.3",
      "date": "2026-10-15T09:32:35.000Z",
      "arch": "x86_64",
      "commit": "e42378a8300213d314fbf421e726b2e4961b690d",
      "fileid": "https://r2.ropensci.org/8624640c87f49506c7b4bff80609cd0d7f4711eda21e1c092e331f1a249bf735",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/spatlyu/actions/runs/38712206129"
    },
    {
      "r": "4.6.1",
      "os": "mac",
      "version": "0.7.3",
      "date": "2026-10-15T09:36:41.000Z",
      "arch": "aarch64",
      "commit": "e42378a8300213d314fbf421e726b2e4961b690d",
      "fileid": "https://r2.ropensci.org/374004eef89825ff6df2ae0fe91c65ac0e1f4f279c615d2e7f34c5ebc6a419ce",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/spatlyu/actions/runs/38712206129"
    },
    {
      "r": "4.6.1",
      "os": "mac",
      "version": "0.7.3",
      "date": "2026-10-15T09:29:37.000Z",
      "arch": "x86_64",
      "commit": "e42378a8300213d314fbf421e726b2e4961b690d",
      "fileid": "https://r2.ropensci.org/47898e5c8a5bf2ba6f3af4e60c278b98708d90b5a63be8deef337f04fdce94a3",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/spatlyu/actions/runs/38712206129"
    },
    {
      "r": "4.6.0",
      "os": "wasm",
      "version": "0.7.3",
      "date": "2026-10-15T09:28:23.000Z",
      "arch": "emscripten",
      "commit": "e42378a8300213d314fbf421e726b2e4961b690d",
      "fileid": "https://r2.ropensci.org/5461261ebbe091be49227d00d2abbf8ea5f4ed88472c1cdfd1947112ec120936",
      "status": "success",
      "buildurl": "https://github.com/r-universe/spatlyu/actions/runs/38712206129"
    },
    {
      "r": "4.7.0",
      "os": "win",
      "version": "0.7.3",
      "date": "2026-10-15T09:30:43.000Z",
      "arch": "aarch64",
      "commit": "e42378a8300213d314fbf421e726b2e4961b690d",
      "fileid": "https://r2.ropensci.org/54aa99cf441eb06c56c3412bbd816212b9df6dddb069cf47fea1a21c172174a6",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/spatlyu/actions/runs/38712206129"
    },
    {
      "r": "4.7.0",
      "os": "win",
      "version": "0.7.3",
      "date": "2026-10-15T09:27:28.000Z",
      "arch": "x86_64",
      "commit": "e42378a8300213d314fbf421e726b2e4961b690d",
      "fileid": "https://r2.ropensci.org/ca94206ae47ec40849b70c656716cfe999756d3c5240b7bacc0cbacf5653c2da",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/spatlyu/actions/runs/38712206129"
    },
    {
      "r": "4.5.3",
      "os": "win",
      "version": "0.7.3",
      "date": "2026-10-15T09:27:30.000Z",
      "arch": "x86_64",
      "commit": "e42378a8300213d314fbf421e726b2e4961b690d",
      "fileid": "https://r2.ropensci.org/867d3a0b3d83522865642acdee0ef73c66add1c01887beed14d4b023e99fa9ed",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/spatlyu/actions/runs/38712206129"
    },
    {
      "r": "4.6.1",
      "os": "win",
      "version": "0.7.3",
      "date": "2026-10-15T09:31:41.000Z",
      "arch": "aarch64",
      "commit": "e42378a8300213d314fbf421e726b2e4961b690d",
      "fileid": "https://r2.ropensci.org/de5ce7d4222349973fa34f3174413d9e79b63089f1d9023103dcca3defa56c75",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/spatlyu/actions/runs/38712206129"
    },
    {
      "r": "4.6.1",
      "os": "win",
      "version": "0.7.3",
      "date": "2026-10-15T09:27:28.000Z",
      "arch": "x86_64",
      "commit": "e42378a8300213d314fbf421e726b2e4961b690d",
      "fileid": "https://r2.ropensci.org/e4111ae9eb0eaf90ac48ff448bfb91ccd3ee4654a82e4da3eb8cbe6607f91140",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/spatlyu/actions/runs/38712206129"
    }
  ]
}