{
  "_id": "6a46db9e6527f6f71f9f771a",
  "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",
  "Config/testthat/edition": "3",
  "Config/roxygen2/version": "8.0.0",
  "NeedsCompilation": "yes",
  "Packaged": {
    "Date": "2026-07-02 21:40:14 UTC",
    "User": "root"
  },
  "Author": "Bruce A. Desmarais [aut, cre], Sangyeon Kim [aut], Howard Liu\n[aut]",
  "Maintainer": "Bruce A. Desmarais <bruce.desmarais@gmail.com>",
  "Repository": "https://cran.r-universe.dev",
  "Date/Publication": "2026-07-01 10:00:13 UTC",
  "RemoteUrl": "https://github.com/cran/palsr",
  "RemoteRef": "HEAD",
  "RemoteSha": "5b39da2aa690779cc914f1e6aff5ce704d6d6fbd",
  "_user": "cran",
  "_type": "src",
  "_file": "palsr_0.1.0.tar.gz",
  "_fileid": "https://r2.ropensci.org/c525143cdd632ce26a7093c43e0fb64297b6e3ebec0b7f4f4beed92a6c5d571e",
  "_filesize": 555881,
  "_sha256": "c525143cdd632ce26a7093c43e0fb64297b6e3ebec0b7f4f4beed92a6c5d571e",
  "_expires": "2026-10-10T21:43:58.000Z",
  "_created": "2026-07-02T21:40:14.000Z",
  "_published": "2026-07-02T21:43:58.867Z",
  "_jobs": [
    {
      "job": 84884091124,
      "time": 160,
      "config": "linux-devel-arm64",
      "r": "4.7.0",
      "check": "OK",
      "artifact": "8052331264"
    },
    {
      "job": 84884091115,
      "time": 168,
      "config": "linux-devel-x86_64",
      "r": "4.7.0",
      "check": "OK",
      "artifact": "8052333083"
    },
    {
      "job": 84884091117,
      "time": 159,
      "config": "linux-release-arm64",
      "r": "4.6.1",
      "check": "OK",
      "artifact": "8052330955"
    },
    {
      "job": 84884091114,
      "time": 184,
      "config": "linux-release-x86_64",
      "r": "4.6.1",
      "check": "OK",
      "artifact": "8052337652"
    },
    {
      "job": 84883472020,
      "time": 235,
      "config": "source",
      "r": "4.6.1",
      "check": "OK",
      "artifact": "8052279899"
    },
    {
      "job": 84884091085,
      "time": 165,
      "config": "wasm-release",
      "r": "4.6.0",
      "check": "OK",
      "artifact": "8052332240"
    }
  ],
  "_host": "GitHub-Actions",
  "_buildurl": "https://github.com/r-universe/cran/actions/runs/28623121805",
  "_status": "success",
  "_upstream": "https://github.com/cran/palsr",
  "_commit": {
    "id": "5b39da2aa690779cc914f1e6aff5ce704d6d6fbd",
    "author": "Bruce A. Desmarais <bruce.desmarais@gmail.com>",
    "committer": "cran-robot <csardi.gabor+cran@gmail.com>",
    "message": "version 0.1.0\n",
    "time": 1782900013
  },
  "_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": "cran",
  "_selfowned": false,
  "_usedby": 0,
  "_updates": [
    {
      "week": "2026-27",
      "n": 1
    }
  ],
  "_tags": [
    {
      "name": "0.1.0",
      "date": "2026-07-01"
    }
  ],
  "_stars": 0,
  "_contributors": [
    {
      "user": "bdesmarais",
      "count": 1,
      "uuid": 1447721
    }
  ],
  "_userbio": {
    "uuid": 6899542,
    "type": "organization",
    "name": "cran",
    "followers": 615,
    "description": "Unofficial read-only mirror of all CRAN R packages"
  },
  "_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"
  ],
  "_cranurl": false,
  "_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/cran/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-07-01 10:00:13",
      "modified": "2026-07-01 10:00:13",
      "commits": 1
    }
  ],
  "_score": 2.6989700043360187,
  "_indexed": true,
  "_nocasepkg": "palsr",
  "_universes": [
    "cran",
    "bdesmarais"
  ],
  "_binaries": [
    {
      "r": "4.7.0",
      "os": "linux",
      "version": "0.1.0",
      "date": "2026-07-02T21:42:55.000Z",
      "distro": "resolute",
      "arch": "aarch64",
      "commit": "5b39da2aa690779cc914f1e6aff5ce704d6d6fbd",
      "fileid": "https://r2.ropensci.org/0ace3ca09bf381a5f7ad48fc4ba17cc6754f3e626891cd3ba74031dc922be407",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/cran/actions/runs/28623121805"
    },
    {
      "r": "4.7.0",
      "os": "linux",
      "version": "0.1.0",
      "date": "2026-07-02T21:42:55.000Z",
      "distro": "resolute",
      "arch": "x86_64",
      "commit": "5b39da2aa690779cc914f1e6aff5ce704d6d6fbd",
      "fileid": "https://r2.ropensci.org/7d9502fc7ee2110bb7099503527965fdde481c821cfada004419d940b47ece54",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/cran/actions/runs/28623121805"
    },
    {
      "r": "4.6.1",
      "os": "linux",
      "version": "0.1.0",
      "date": "2026-07-02T21:42:54.000Z",
      "distro": "resolute",
      "arch": "aarch64",
      "commit": "5b39da2aa690779cc914f1e6aff5ce704d6d6fbd",
      "fileid": "https://r2.ropensci.org/0a317d7e5f1d112e9f5ee2d1bf65def73f20a3157712f7e1827021cd006d517c",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/cran/actions/runs/28623121805"
    },
    {
      "r": "4.6.1",
      "os": "linux",
      "version": "0.1.0",
      "date": "2026-07-02T21:43:15.000Z",
      "distro": "resolute",
      "arch": "x86_64",
      "commit": "5b39da2aa690779cc914f1e6aff5ce704d6d6fbd",
      "fileid": "https://r2.ropensci.org/542203bccd8a7c445ce0d33f9f2470690f1369f1984ac067a269e509d7ae4f0c",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/cran/actions/runs/28623121805"
    },
    {
      "r": "4.6.0",
      "os": "wasm",
      "version": "0.1.0",
      "date": "2026-07-02T21:43:14.000Z",
      "arch": "emscripten",
      "commit": "5b39da2aa690779cc914f1e6aff5ce704d6d6fbd",
      "fileid": "https://r2.ropensci.org/6a3d710f3322cb0bffc0c1835f4e28f4f5a204620d98032d4e1eb72eab34f606",
      "status": "success",
      "buildurl": "https://github.com/r-universe/cran/actions/runs/28623121805"
    }
  ]
}