{
  "_id": "6a4797bb2f27a93436c0f728",
  "Package": "palsr",
  "Type": "Package",
  "Title": "Projected Actor Locations for Spatial Interaction Modeling",
  "Version": "0.1.0",
  "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-07-02 09:05:07 UTC",
  "RemoteUrl": "https://github.com/bdesmarais/palsr",
  "RemoteRef": "HEAD",
  "RemoteSha": "beeec07a29fe521be881b4df8379bb5a8415a876",
  "NeedsCompilation": "yes",
  "Packaged": {
    "Date": "2026-07-03 07:49:09 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.0.tar.gz",
  "_fileid": "https://r2.ropensci.org/df5587be76129c05c9192194e696b71e4532647deacb0fce22051abc6939cb55",
  "_filesize": 555104,
  "_sha256": "df5587be76129c05c9192194e696b71e4532647deacb0fce22051abc6939cb55",
  "_expires": "2026-10-11T11:06:35.000Z",
  "_created": "2026-07-03T07:49:09.000Z",
  "_published": "2026-07-03T11:06:35.548Z",
  "_jobs": [
    {
      "job": 84986862184,
      "time": 154,
      "config": "linux-devel-arm64",
      "r": "4.7.0",
      "check": "OK",
      "artifact": "8060883216"
    },
    {
      "job": 84986861980,
      "time": 166,
      "config": "linux-devel-x86_64",
      "r": "4.7.0",
      "check": "OK",
      "artifact": "8060885605"
    },
    {
      "job": 84986862614,
      "time": 162,
      "config": "linux-release-arm64",
      "r": "4.6.1",
      "check": "OK",
      "artifact": "8060886048"
    },
    {
      "job": 84986862005,
      "time": 152,
      "config": "linux-release-x86_64",
      "r": "4.6.1",
      "check": "OK",
      "artifact": "8060881598"
    },
    {
      "job": 84986862240,
      "time": 165,
      "config": "macos-oldrel-arm64",
      "r": "4.5.3",
      "check": "OK",
      "artifact": "8060877630"
    },
    {
      "job": 84986862200,
      "time": 282,
      "config": "macos-oldrel-x86_64",
      "r": "4.5.3",
      "check": "OK",
      "artifact": "8060916576"
    },
    {
      "job": 84986861984,
      "time": 183,
      "config": "macos-release-arm64",
      "r": "4.6.1",
      "check": "OK",
      "artifact": "8060879280"
    },
    {
      "job": 84986861986,
      "time": 375,
      "config": "macos-release-x86_64",
      "r": "4.6.1",
      "check": "OK",
      "artifact": "8060936436"
    },
    {
      "job": 84986861537,
      "time": 227,
      "config": "source",
      "r": "4.6.1",
      "check": "OK",
      "artifact": "8060829789"
    },
    {
      "job": 84986862008,
      "time": 151,
      "config": "wasm-release",
      "r": "4.6.0",
      "check": "OK",
      "artifact": "8060881337"
    },
    {
      "job": 84986862146,
      "time": 139,
      "config": "windows-devel",
      "r": "4.7.0",
      "check": "OK",
      "artifact": "8060877369"
    },
    {
      "job": 84986862443,
      "time": 131,
      "config": "windows-oldrel",
      "r": "4.5.3",
      "check": "OK",
      "artifact": "8060874496"
    },
    {
      "job": 84986862253,
      "time": 138,
      "config": "windows-release",
      "r": "4.6.1",
      "check": "OK",
      "artifact": "8060876315"
    }
  ],
  "_host": "GitHub-Actions",
  "_buildurl": "https://github.com/r-universe/bdesmarais/actions/runs/28646284847",
  "_status": "success",
  "_upstream": "https://github.com/bdesmarais/palsr",
  "_commit": {
    "id": "beeec07a29fe521be881b4df8379bb5a8415a876",
    "author": "Bruce Desmarais <bruce.desmarais@gmail.com>",
    "committer": "Bruce Desmarais <bruce.desmarais@gmail.com>",
    "message": "Remove stray paper-rjournal bundle files that were re-added during split\n",
    "time": 1782983107
  },
  "_maintainer": {
    "name": "Bruce A. Desmarais",
    "email": "bruce.desmarais@gmail.com",
    "login": "bdesmarais",
    "description": "",
    "uuid": 1447721
  },
  "_distro": "resolute",
  "_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
    }
  ],
  "_tags": [
    {
      "name": "v0.1.0",
      "date": "2026-06-23"
    }
  ],
  "_stars": 0,
  "_contributors": [
    {
      "user": "bdesmarais",
      "count": 25,
      "uuid": 1447721
    }
  ],
  "_userbio": {
    "uuid": 1447721,
    "type": "user",
    "name": "Bruce Desmarais",
    "followers": 17
  },
  "_downloads": {
    "count": 0,
    "source": "https://cranlogs.r-pkg.org/downloads/total/last-month/palsr"
  },
  "_devurl": "https://github.com/bdesmarais/palsr",
  "_searchresults": 0,
  "_topics": [
    "cpp"
  ],
  "_rbuild": "4.6.1",
  "_assets": [
    "extra/citation.cff",
    "extra/citation.html",
    "extra/citation.json",
    "extra/citation.txt",
    "extra/contents.json",
    "extra/NEWS.html",
    "extra/NEWS.txt",
    "extra/palsr.html",
    "extra/readme.html",
    "extra/readme.md",
    "LICENSE",
    "manual.pdf"
  ],
  "_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",
    "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": "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.301029995663981,
  "_indexed": true,
  "_nocasepkg": "palsr",
  "_universes": [
    "bdesmarais"
  ],
  "_binaries": [
    {
      "r": "4.7.0",
      "os": "linux",
      "version": "0.1.0",
      "date": "2026-07-03T07:51:47.000Z",
      "distro": "resolute",
      "arch": "aarch64",
      "commit": "beeec07a29fe521be881b4df8379bb5a8415a876",
      "fileid": "https://r2.ropensci.org/1c46685a212ab154dde7ed1ec37f9543a62c76c5bc8e9d53512437f5d16bc748",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/bdesmarais/actions/runs/28646284847"
    },
    {
      "r": "4.7.0",
      "os": "linux",
      "version": "0.1.0",
      "date": "2026-07-03T07:51:46.000Z",
      "distro": "resolute",
      "arch": "x86_64",
      "commit": "beeec07a29fe521be881b4df8379bb5a8415a876",
      "fileid": "https://r2.ropensci.org/27599f11d30a731ad752f95f07884d900aacdc21964a70760df25ce3ed386bb1",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/bdesmarais/actions/runs/28646284847"
    },
    {
      "r": "4.6.1",
      "os": "linux",
      "version": "0.1.0",
      "date": "2026-07-03T07:51:57.000Z",
      "distro": "resolute",
      "arch": "aarch64",
      "commit": "beeec07a29fe521be881b4df8379bb5a8415a876",
      "fileid": "https://r2.ropensci.org/665d4b4bcab8b532c3b1fc237f98aae94a27fc6e5e0e92c075f7499496b0537c",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/bdesmarais/actions/runs/28646284847"
    },
    {
      "r": "4.6.1",
      "os": "linux",
      "version": "0.1.0",
      "date": "2026-07-03T07:51:37.000Z",
      "distro": "resolute",
      "arch": "x86_64",
      "commit": "beeec07a29fe521be881b4df8379bb5a8415a876",
      "fileid": "https://r2.ropensci.org/6708d66cb0c95f9a913825e041011ca2b7fd5bbc59920171e1d34c56a03264b3",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/bdesmarais/actions/runs/28646284847"
    },
    {
      "r": "4.5.3",
      "os": "mac",
      "version": "0.1.0",
      "date": "2026-07-03T07:51:27.000Z",
      "arch": "aarch64",
      "commit": "beeec07a29fe521be881b4df8379bb5a8415a876",
      "fileid": "https://r2.ropensci.org/3cec8af28368b6a47b7a821cb05fc93261f8d80fb749c2d23844bb9399c2036c",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/bdesmarais/actions/runs/28646284847"
    },
    {
      "r": "4.5.3",
      "os": "mac",
      "version": "0.1.0",
      "date": "2026-07-03T07:53:05.000Z",
      "arch": "x86_64",
      "commit": "beeec07a29fe521be881b4df8379bb5a8415a876",
      "fileid": "https://r2.ropensci.org/4837f4ad1df897ff2fc17697802344adfc6679e45b43d4e9bb0d6103680dcb19",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/bdesmarais/actions/runs/28646284847"
    },
    {
      "r": "4.6.1",
      "os": "mac",
      "version": "0.1.0",
      "date": "2026-07-03T07:51:27.000Z",
      "arch": "aarch64",
      "commit": "beeec07a29fe521be881b4df8379bb5a8415a876",
      "fileid": "https://r2.ropensci.org/ad5fdf622cc84070439065a0ed9160b7f9a4a2229b804e1599dcc862fb9b65e3",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/bdesmarais/actions/runs/28646284847"
    },
    {
      "r": "4.6.1",
      "os": "mac",
      "version": "0.1.0",
      "date": "2026-07-03T07:53:51.000Z",
      "arch": "x86_64",
      "commit": "beeec07a29fe521be881b4df8379bb5a8415a876",
      "fileid": "https://r2.ropensci.org/1cde5c610cb245868847f486dba3740176b2131727b0fdebed99301ca4044fcb",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/bdesmarais/actions/runs/28646284847"
    },
    {
      "r": "4.6.0",
      "os": "wasm",
      "version": "0.1.0",
      "date": "2026-07-03T07:51:56.000Z",
      "arch": "emscripten",
      "commit": "beeec07a29fe521be881b4df8379bb5a8415a876",
      "fileid": "https://r2.ropensci.org/69aea231161cdd4d01f01a9c497b93cb47f2c71361f65a0ada3c36675d8f5bc2",
      "status": "success",
      "buildurl": "https://github.com/r-universe/bdesmarais/actions/runs/28646284847"
    },
    {
      "r": "4.7.0",
      "os": "win",
      "version": "0.1.0",
      "date": "2026-07-03T07:50:41.000Z",
      "arch": "x86_64",
      "commit": "beeec07a29fe521be881b4df8379bb5a8415a876",
      "fileid": "https://r2.ropensci.org/8a65311711ccabcaf398e4f4619416faf7e698300e70c5b66ad5e93c7af56abd",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/bdesmarais/actions/runs/28646284847"
    },
    {
      "r": "4.5.3",
      "os": "win",
      "version": "0.1.0",
      "date": "2026-07-03T07:50:40.000Z",
      "arch": "x86_64",
      "commit": "beeec07a29fe521be881b4df8379bb5a8415a876",
      "fileid": "https://r2.ropensci.org/5ab70b1c43c534b06f632d0f86c635e81d4be761fafa740ceee07a86ceb9194f",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/bdesmarais/actions/runs/28646284847"
    },
    {
      "r": "4.6.1",
      "os": "win",
      "version": "0.1.0",
      "date": "2026-07-03T07:50:37.000Z",
      "arch": "x86_64",
      "commit": "beeec07a29fe521be881b4df8379bb5a8415a876",
      "fileid": "https://r2.ropensci.org/f2692a2fa18bdb766e31c4bf291a2a389b6b05bd3f81219f54a268949b482d59",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/bdesmarais/actions/runs/28646284847"
    }
  ]
}