{
  "_id": "6ad915f5c230b829876fd403",
  "Package": "palsr",
  "Type": "Package",
  "Title": "Projected Actor Locations for Spatial Interaction Modeling",
  "Version": "0.1.1",
  "Authors@R": "c(\nperson(\"Bruce A.\", \"Desmarais\", email = \"bruce.desmarais@gmail.com\",\nrole = c(\"aut\", \"cre\")),\nperson(\"Sangyeon\", \"Kim\", role = \"aut\"),\nperson(\"Howard\", \"Liu\", role = \"aut\"))",
  "Description": "Implements the Projected Actor Locations (PALS) method for\nspatial modeling of dyadic interactions between geographically\nmobile actors, as described in Kim, Liu and Desmarais (2023)\n<doi:10.1017/psrm.2022.6>. PALS applies exponential-smoothing\nweights to the spatiotemporal histories of a focal actor and\nits interaction partners (\"alters\") to project the location of\nfuture interactions. The package provides projection,\nmaximum-similarity parameter estimation by minimizing\ngreat-circle (Haversine) prediction error, nonparametric\nbootstrap with multiple-imputation (Rubin's Rules) pooling,\ndyadic distance covariate construction, visualization, and a\nsimulated example dataset of subnational conflict.",
  "License": "MIT + file LICENSE",
  "Encoding": "UTF-8",
  "LazyData": "true",
  "URL": "https://github.com/bdesmarais/palsr",
  "BugReports": "https://github.com/bdesmarais/palsr/issues",
  "VignetteBuilder": "knitr",
  "Roxygen": "list(markdown = TRUE)",
  "Config/testthat/edition": "3",
  "Config/roxygen2/version": "8.0.0",
  "Repository": "https://bdesmarais.r-universe.dev",
  "Date/Publication": "2026-10-21 03:12:44 UTC",
  "RemoteUrl": "https://github.com/bdesmarais/palsr",
  "RemoteRef": "HEAD",
  "RemoteSha": "f3046ab3087a9a281515fa2649d9f2656662fefd",
  "NeedsCompilation": "yes",
  "Packaged": {
    "Date": "2026-10-21 18:57:56 UTC",
    "User": "root"
  },
  "Author": "Bruce A. Desmarais [aut, cre],\nSangyeon Kim [aut],\nHoward Liu [aut]",
  "Maintainer": "Bruce A. Desmarais <bruce.desmarais@gmail.com>",
  "_user": "bdesmarais",
  "_type": "src",
  "_file": "palsr_0.1.1.tar.gz",
  "_fileid": "https://r2.ropensci.org/bfdd96020858129815d0f30efe4e0c88800f58ee3176bed9ae7ddf684d4fc96c",
  "_filesize": 564950,
  "_sha256": "bfdd96020858129815d0f30efe4e0c88800f58ee3176bed9ae7ddf684d4fc96c",
  "_expires": "2027-01-29T19:43:47.000Z",
  "_created": "2026-10-21T18:57:56.000Z",
  "_published": "2026-10-21T19:43:49.236Z",
  "_upstream": "https://github.com/bdesmarais/palsr",
  "_status": "success",
  "_maintainer": {
    "name": "Bruce A. Desmarais",
    "email": "bruce.desmarais@gmail.com",
    "login": "bdesmarais",
    "description": "",
    "uuid": 1447721
  },
  "_jobs": [
    {
      "job": 119421562059,
      "time": 144,
      "config": "linux-devel-arm64",
      "r": "4.7.0",
      "check": "OK",
      "artifact": "12372491693"
    },
    {
      "job": 119421562115,
      "time": 195,
      "config": "linux-devel-x86_64",
      "r": "4.7.0",
      "check": "OK",
      "artifact": "12371793881"
    },
    {
      "job": 119421562389,
      "time": 106,
      "config": "linux-release-arm64",
      "r": "4.6.1",
      "check": "OK",
      "artifact": "12370824978"
    },
    {
      "job": 119421562464,
      "time": 129,
      "config": "linux-release-x86_64",
      "r": "4.6.1",
      "check": "OK",
      "artifact": "12371534443"
    },
    {
      "job": 119421562068,
      "time": 196,
      "config": "macos-oldrel-arm64",
      "r": "4.5.3",
      "check": "OK",
      "artifact": "12372383084"
    },
    {
      "job": 119421562260,
      "time": 389,
      "config": "macos-oldrel-x86_64",
      "r": "4.5.3",
      "check": "OK",
      "artifact": "12371819914"
    },
    {
      "job": 119421562315,
      "time": 398,
      "config": "macos-release-x86_64",
      "r": "4.6.1",
      "check": "OK",
      "artifact": "12373020353"
    },
    {
      "job": 119417329578,
      "time": 488,
      "config": "source",
      "r": "4.6.1",
      "check": "OK",
      "artifact": "12371983205"
    },
    {
      "job": 119421562119,
      "time": 122,
      "config": "wasm-release",
      "r": "4.6.0",
      "check": "OK",
      "artifact": "12372472826"
    },
    {
      "job": 119421562071,
      "time": 354,
      "config": "windows-devel-arm64",
      "r": "4.7.0",
      "check": "OK",
      "artifact": "12372039131"
    },
    {
      "job": 119421562245,
      "time": 165,
      "config": "windows-devel-x86_64",
      "r": "4.7.0",
      "check": "OK",
      "artifact": "12371507847"
    },
    {
      "job": 119421562254,
      "time": 160,
      "config": "windows-oldrel-x86_64",
      "r": "4.5.3",
      "check": "OK",
      "artifact": "12371039810"
    },
    {
      "job": 119421562293,
      "time": 352,
      "config": "windows-release-arm64",
      "r": "4.6.1",
      "check": "OK",
      "artifact": "12371473458"
    },
    {
      "job": 119421562481,
      "time": 144,
      "config": "windows-release-x86_64",
      "r": "4.6.1",
      "check": "OK",
      "artifact": "12372093415"
    }
  ],
  "_buildurl": "https://github.com/r-universe/bdesmarais/actions/runs/39656240094",
  "_commit": {
    "id": "f3046ab3087a9a281515fa2649d9f2656662fefd",
    "author": "Bruce Desmarais <bruce.desmarais@gmail.com>",
    "committer": "Bruce Desmarais <bruce.desmarais@gmail.com>",
    "message": "palsr 0.1.1: rolling_origin_pals(), block bootstrap, README fixes (SoftwareX revision); import stats::median\n\nCo-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>\n",
    "time": 1792552364
  },
  "_distro": "resolute",
  "_host": "GitHub-Actions",
  "_registered": true,
  "_dependencies": [
    {
      "package": "R",
      "version": ">= 4.1.0",
      "role": "Depends"
    },
    {
      "package": "Rcpp",
      "role": "LinkingTo"
    },
    {
      "package": "Rcpp",
      "role": "Imports"
    },
    {
      "package": "stats",
      "role": "Imports"
    },
    {
      "package": "testthat",
      "version": ">= 3.0.0",
      "role": "Suggests"
    },
    {
      "package": "knitr",
      "role": "Suggests"
    },
    {
      "package": "rmarkdown",
      "role": "Suggests"
    },
    {
      "package": "mice",
      "role": "Suggests"
    },
    {
      "package": "ggplot2",
      "role": "Suggests"
    }
  ],
  "_owner": "bdesmarais",
  "_selfowned": true,
  "_usedby": 0,
  "_updates": [
    {
      "week": "2026-23",
      "n": 2
    },
    {
      "week": "2026-24",
      "n": 12
    },
    {
      "week": "2026-26",
      "n": 8
    },
    {
      "week": "2026-27",
      "n": 3
    },
    {
      "week": "2026-43",
      "n": 1
    }
  ],
  "_tags": [
    {
      "name": "v0.1.0",
      "date": "2026-06-23"
    },
    {
      "name": "v0.1.1",
      "date": "2026-10-21"
    }
  ],
  "_stars": 0,
  "_contributors": [
    {
      "user": "bdesmarais",
      "count": 26,
      "uuid": 1447721
    }
  ],
  "_userbio": {
    "uuid": 1447721,
    "type": "user",
    "name": "Bruce Desmarais",
    "followers": 18
  },
  "_downloads": {
    "count": 224,
    "source": "https://cranlogs.r-pkg.org/downloads/total/last-month/palsr"
  },
  "_devurl": "https://github.com/bdesmarais/palsr",
  "_searchresults": 3,
  "_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/palsr.html",
    "extra/readme.html",
    "extra/readme.md",
    "LICENSE"
  ],
  "_homeurl": "https://github.com/bdesmarais/palsr",
  "_realowner": "bdesmarais",
  "_cranurl": true,
  "_releases": [
    {
      "version": "0.1.0",
      "date": "2026-07-01"
    }
  ],
  "_exports": [
    "bootstrap_pals",
    "estimate_pals",
    "haversine",
    "pal_distance",
    "pal_events",
    "pals_params",
    "pool_rubin",
    "predict_event_locations",
    "project_pal",
    "project_pals",
    "rolling_origin_pals",
    "simulate_conflict_events"
  ],
  "_datasets": [
    {
      "name": "nigeria_acled",
      "title": "Subnational conflict events in Nigeria",
      "object": "nigeria_acled",
      "class": [
        "pal_events",
        "data.frame"
      ],
      "fields": [
        "actor1",
        "actor2",
        "time",
        "lon",
        "lat"
      ],
      "rows": 1549,
      "table": true,
      "tojson": true
    },
    {
      "name": "nigeria_sim",
      "title": "Simulated subnational conflict events (Nigeria-like)",
      "object": "nigeria_sim",
      "class": [
        "pal_events",
        "data.frame"
      ],
      "fields": [
        "actor1",
        "actor2",
        "time",
        "lon",
        "lat"
      ],
      "rows": 1500,
      "table": true,
      "tojson": true
    }
  ],
  "_help": [
    {
      "page": "bootstrap_pals",
      "title": "Nonparametric bootstrap for PALS estimates and projections",
      "topics": [
        "bootstrap_pals"
      ]
    },
    {
      "page": "estimate_pals",
      "title": "Estimate PALS parameters",
      "topics": [
        "estimate_pals"
      ]
    },
    {
      "page": "haversine",
      "title": "Great-circle (Haversine) distance",
      "topics": [
        "haversine"
      ]
    },
    {
      "page": "nigeria_acled",
      "title": "Subnational conflict events in Nigeria",
      "topics": [
        "nigeria_acled"
      ]
    },
    {
      "page": "nigeria_sim",
      "title": "Simulated subnational conflict events (Nigeria-like)",
      "topics": [
        "nigeria_sim"
      ]
    },
    {
      "page": "pal_distance",
      "title": "Dyadic distance between Projected Actor Locations",
      "topics": [
        "pal_distance"
      ]
    },
    {
      "page": "pal_events",
      "title": "Construct a validated dyadic-event table",
      "topics": [
        "pal_events"
      ]
    },
    {
      "page": "pals_params",
      "title": "Create a PALS parameter set",
      "topics": [
        "pals_params"
      ]
    },
    {
      "page": "pool_rubin",
      "title": "Pool estimates across imputations with Rubin's Rules",
      "topics": [
        "pool_rubin"
      ]
    },
    {
      "page": "predict_event_locations",
      "title": "Predict dyadic event locations",
      "topics": [
        "predict_event_locations"
      ]
    },
    {
      "page": "predict.pals_fit",
      "title": "Project locations from a fitted PALS model",
      "topics": [
        "predict.pals_fit"
      ]
    },
    {
      "page": "project_pal",
      "title": "Project the location of a single actor",
      "topics": [
        "project_pal"
      ]
    },
    {
      "page": "project_pals",
      "title": "Project locations for multiple actors",
      "topics": [
        "project_pals"
      ]
    },
    {
      "page": "rolling_origin_pals",
      "title": "Rolling-origin evaluation of a PALS model",
      "topics": [
        "rolling_origin_pals"
      ]
    },
    {
      "page": "simulate_conflict_events",
      "title": "Simulate dyadic conflict events between moving actors",
      "topics": [
        "simulate_conflict_events"
      ]
    }
  ],
  "_readme": "https://github.com/bdesmarais/palsr/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": "palsr.Rmd",
      "filename": "palsr.html",
      "title": "Projecting actor locations and modeling dyadic interactions with PALS",
      "engine": "knitr::rmarkdown",
      "headings": [
        "Overview",
        "The method in brief",
        "A worked example",
        "Estimating the parameters",
        "Projecting actor locations",
        "Predicting interaction locations and dyadic distances",
        "Uncertainty: bootstrap and Rubin's Rules",
        "References"
      ],
      "created": "2026-06-13 11:12:06",
      "modified": "2026-06-24 10:41:52",
      "commits": 3
    }
  ],
  "_score": 4.3979400086720375,
  "_indexed": true,
  "_nocasepkg": "palsr",
  "_universes": [
    "bdesmarais"
  ],
  "_previous": "0.1.0",
  "_binaries": [
    {
      "r": "4.6.1",
      "os": "mac",
      "version": "0.1.0",
      "date": "2026-10-01T08:26:02.000Z",
      "arch": "aarch64",
      "commit": "beeec07a29fe521be881b4df8379bb5a8415a876",
      "fileid": "https://r2.ropensci.org/f6d5dee85fcbb66b2560fd7e9f4767c30e6171836f5781b48dc04aa03b76d691",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/bdesmarais/actions/runs/36835386179"
    },
    {
      "r": "4.7.0",
      "os": "linux",
      "version": "0.1.1",
      "date": "2026-10-21T19:00:20.000Z",
      "distro": "resolute",
      "arch": "aarch64",
      "commit": "f3046ab3087a9a281515fa2649d9f2656662fefd",
      "fileid": "https://r2.ropensci.org/aafddcf704d1b034b3aa9c36f1a473b57559c7b7e07e094db391739e36813782",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/bdesmarais/actions/runs/39656240094"
    },
    {
      "r": "4.7.0",
      "os": "linux",
      "version": "0.1.1",
      "date": "2026-10-21T19:01:01.000Z",
      "distro": "resolute",
      "arch": "x86_64",
      "commit": "f3046ab3087a9a281515fa2649d9f2656662fefd",
      "fileid": "https://r2.ropensci.org/68588d394a0d611ad8f58fea842649510757cef38dfc65109192bab11c8665a1",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/bdesmarais/actions/runs/39656240094"
    },
    {
      "r": "4.6.1",
      "os": "linux",
      "version": "0.1.1",
      "date": "2026-10-21T18:59:48.000Z",
      "distro": "resolute",
      "arch": "aarch64",
      "commit": "f3046ab3087a9a281515fa2649d9f2656662fefd",
      "fileid": "https://r2.ropensci.org/3caa94d754e3965d62c50f3fd3a60957f9b25b2daf70ceb34b7e0e74e462dfa5",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/bdesmarais/actions/runs/39656240094"
    },
    {
      "r": "4.6.1",
      "os": "linux",
      "version": "0.1.1",
      "date": "2026-10-21T19:00:11.000Z",
      "distro": "resolute",
      "arch": "x86_64",
      "commit": "f3046ab3087a9a281515fa2649d9f2656662fefd",
      "fileid": "https://r2.ropensci.org/b178de9c1fc776b8d1c1d62ee73ededd6698197a8526bf90290bc33ee5720038",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/bdesmarais/actions/runs/39656240094"
    },
    {
      "r": "4.5.3",
      "os": "mac",
      "version": "0.1.1",
      "date": "2026-10-21T19:00:38.000Z",
      "arch": "aarch64",
      "commit": "f3046ab3087a9a281515fa2649d9f2656662fefd",
      "fileid": "https://r2.ropensci.org/7617f9db4cc0609c396fdaf05ba7a830c759ea1e371d0535b7f37311843c7c8b",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/bdesmarais/actions/runs/39656240094"
    },
    {
      "r": "4.5.3",
      "os": "mac",
      "version": "0.1.1",
      "date": "2026-10-21T19:02:47.000Z",
      "arch": "x86_64",
      "commit": "f3046ab3087a9a281515fa2649d9f2656662fefd",
      "fileid": "https://r2.ropensci.org/f41ab5d120358010fd4976417f88b80193c90b0534febdbfc5dd147a94823524",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/bdesmarais/actions/runs/39656240094"
    },
    {
      "r": "4.6.1",
      "os": "mac",
      "version": "0.1.1",
      "date": "2026-10-21T19:02:38.000Z",
      "arch": "x86_64",
      "commit": "f3046ab3087a9a281515fa2649d9f2656662fefd",
      "fileid": "https://r2.ropensci.org/ef41890fef90b0286383ee36a9c41930f8ab26dcd927879b4a4a38296f7d97b8",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/bdesmarais/actions/runs/39656240094"
    },
    {
      "r": "4.6.0",
      "os": "wasm",
      "version": "0.1.1",
      "date": "2026-10-21T19:00:18.000Z",
      "arch": "emscripten",
      "commit": "f3046ab3087a9a281515fa2649d9f2656662fefd",
      "fileid": "https://r2.ropensci.org/6b0c1f3ac606cb87a43fffd632cf79a9ec97d064423b91736854feccfd1a08ea",
      "status": "success",
      "buildurl": "https://github.com/r-universe/bdesmarais/actions/runs/39656240094"
    },
    {
      "r": "4.7.0",
      "os": "win",
      "version": "0.1.1",
      "date": "2026-10-21T19:02:55.000Z",
      "arch": "aarch64",
      "commit": "f3046ab3087a9a281515fa2649d9f2656662fefd",
      "fileid": "https://r2.ropensci.org/7550520f176e04f9d75bcdbf24366083798235d186b310fc15ed3c6f963c954e",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/bdesmarais/actions/runs/39656240094"
    },
    {
      "r": "4.7.0",
      "os": "win",
      "version": "0.1.1",
      "date": "2026-10-21T18:59:21.000Z",
      "arch": "x86_64",
      "commit": "f3046ab3087a9a281515fa2649d9f2656662fefd",
      "fileid": "https://r2.ropensci.org/9c0eb2951eb4efa5f29e4b855c1aa92ca052aaa4e8384eece74467c79b15a7bb",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/bdesmarais/actions/runs/39656240094"
    },
    {
      "r": "4.5.3",
      "os": "win",
      "version": "0.1.1",
      "date": "2026-10-21T18:59:29.000Z",
      "arch": "x86_64",
      "commit": "f3046ab3087a9a281515fa2649d9f2656662fefd",
      "fileid": "https://r2.ropensci.org/63abd8af6f4e1c1c6267b4ca30e72643f4cef69ef9c0274bd965f72eb30267a0",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/bdesmarais/actions/runs/39656240094"
    },
    {
      "r": "4.6.1",
      "os": "win",
      "version": "0.1.1",
      "date": "2026-10-21T19:03:01.000Z",
      "arch": "aarch64",
      "commit": "f3046ab3087a9a281515fa2649d9f2656662fefd",
      "fileid": "https://r2.ropensci.org/b5f70c895903cf2a98a7085de93f779ff42710f6e64b6e084edf92ab1c534c01",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/bdesmarais/actions/runs/39656240094"
    },
    {
      "r": "4.6.1",
      "os": "win",
      "version": "0.1.1",
      "date": "2026-10-21T18:59:24.000Z",
      "arch": "x86_64",
      "commit": "f3046ab3087a9a281515fa2649d9f2656662fefd",
      "fileid": "https://r2.ropensci.org/791118f0beb7f3a6999f4de7e0e780a8bd2c2831824d4c4681adb17af75bbfbe",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/bdesmarais/actions/runs/39656240094"
    }
  ]
}