{
  "_id": "6a1ea888b25058d4daad928b",
  "Package": "simodels",
  "Title": "Flexible Framework for Developing Spatial Interaction Models",
  "Version": "0.2.0",
  "Authors@R": "c(\nperson(\"Robin\", \"Lovelace\", , \"rob00x@gmail.com\", role = c(\"aut\", \"cre\"),\ncomment = c(ORCID = \"0000-0001-5679-6536\")),\nperson(\"Jakub\", \"Nowosad\", , \"nowosad.jakub@gmail.com\", role = \"aut\",\ncomment = c(ORCID = \"0000-0002-1057-3721\"))\n)",
  "Description": "Develop spatial interaction models (SIMs).  SIMs predict\nthe amount of interaction, for example number of trips per day,\nbetween geographic entities representing trip origins and\ndestinations. Contains functions for creating\norigin-destination datasets from geographic input datasets and\ncalculating movement between origin-destination pairs with\nconstrained, production-constrained, and attraction-constrained\nmodels (Wilson 1979) <doi:10.1068/a030001>.",
  "License": "AGPL (>= 3)",
  "URL": "https://github.com/robinlovelace/simodels,\nhttps://robinlovelace.github.io/simodels/",
  "BugReports": "https://github.com/robinlovelace/simodels/issues",
  "VignetteBuilder": "knitr",
  "Encoding": "UTF-8",
  "LazyData": "true",
  "Roxygen": "list(markdown = TRUE)",
  "RoxygenNote": "7.3.2",
  "Config/pak/sysreqs": "libabsl-dev cmake libgdal-dev gdal-bin libgeos-dev\nlibssl-dev libproj-dev libsqlite3-dev libudunits2-dev",
  "Repository": "https://robinlovelace.r-universe.dev",
  "Date/Publication": "2025-03-07 14:31:57 UTC",
  "RemoteUrl": "https://github.com/robinlovelace/simodels",
  "RemoteRef": "HEAD",
  "RemoteSha": "463769a24845bfa0402991e88beb4d9fd7b3a2d5",
  "NeedsCompilation": "no",
  "Packaged": {
    "Date": "2026-06-02 09:51:54 UTC",
    "User": "root"
  },
  "Author": "Robin Lovelace [aut, cre] (ORCID:\n<https://orcid.org/0000-0001-5679-6536>),\nJakub Nowosad [aut] (ORCID: <https://orcid.org/0000-0002-1057-3721>)",
  "Maintainer": "Robin Lovelace <rob00x@gmail.com>",
  "MD5sum": "ce471f9af6149d94aaa58f340628f448",
  "_user": "robinlovelace",
  "_type": "src",
  "_file": "simodels_0.2.0.tar.gz",
  "_fileid": "c665676c5f3bdb4a09cceb34921deb860b536e39d0e2fa6bb960c2f6889f03ed",
  "_filesize": 1958405,
  "_sha256": "c665676c5f3bdb4a09cceb34921deb860b536e39d0e2fa6bb960c2f6889f03ed",
  "_created": "2026-06-02T09:51:54.000Z",
  "_published": "2026-06-02T09:55:20.785Z",
  "_distro": "noble",
  "_jobs": [
    {
      "job": 79044700282,
      "time": 170,
      "config": "linux-devel-x86_64",
      "r": "4.7.0",
      "check": "OK",
      "artifact": "7354537443"
    },
    {
      "job": 79044700311,
      "time": 170,
      "config": "linux-release-x86_64",
      "r": "4.6.0",
      "check": "OK",
      "artifact": "7354537592"
    },
    {
      "job": 79044700296,
      "time": 159,
      "config": "macos-oldrel-arm64",
      "r": "4.5.3",
      "check": "OK",
      "artifact": "7354522861"
    },
    {
      "job": 79044700346,
      "time": 126,
      "config": "macos-release-arm64",
      "r": "4.6.0",
      "check": "OK",
      "artifact": "7354515404"
    },
    {
      "job": 79044001854,
      "time": 243,
      "config": "source",
      "r": "4.6.0",
      "check": "OK",
      "artifact": "7354477018"
    },
    {
      "job": 79044700322,
      "time": 150,
      "config": "wasm-release",
      "r": "4.6.0",
      "check": "OK",
      "artifact": "7354530656"
    },
    {
      "job": 79044700307,
      "time": 114,
      "config": "windows-devel",
      "r": "4.7.0",
      "check": "OK",
      "artifact": "7354518157"
    },
    {
      "job": 79044700373,
      "time": 116,
      "config": "windows-oldrel",
      "r": "4.5.3",
      "check": "OK",
      "artifact": "7354518860"
    },
    {
      "job": 79044700317,
      "time": 103,
      "config": "windows-release",
      "r": "4.6.0",
      "check": "OK",
      "artifact": "7354514257"
    }
  ],
  "_buildurl": "https://github.com/r-universe/robinlovelace/actions/runs/26811949893",
  "_status": "success",
  "_host": "GitHub-Actions",
  "_upstream": "https://github.com/robinlovelace/simodels",
  "_commit": {
    "id": "463769a24845bfa0402991e88beb4d9fd7b3a2d5",
    "author": "Robin Lovelace <Robinlovelace@users.noreply.github.com>",
    "committer": "GitHub <noreply@github.com>",
    "message": "Merge pull request #42 from Robinlovelace/paper-refactor\n\nRefactor",
    "time": 1741357917
  },
  "_maintainer": {
    "name": "Robin Lovelace",
    "email": "rob00x@gmail.com",
    "login": "robinlovelace",
    "mastodon": "@robinlovelace@fosstodon.org",
    "bluesky": "@robinlovelace.bsky.social",
    "linkedin": "in/robin-lovelace-20751a34",
    "orcid": "0000-0001-5679-6536",
    "twitter": "@robinlovelace",
    "description": "Professor of Transport Data Science, University of Leeds 🎓  Researcher, teacher and builder of open source solutions 🚶🚲🚀",
    "uuid": 1825120
  },
  "_registered": true,
  "_dependencies": [
    {
      "package": "R",
      "version": ">= 4.1.0",
      "role": "Depends"
    },
    {
      "package": "dplyr",
      "role": "Imports"
    },
    {
      "package": "geodist",
      "role": "Imports"
    },
    {
      "package": "od",
      "version": ">= 0.5.1",
      "role": "Imports"
    },
    {
      "package": "rlang",
      "role": "Imports"
    },
    {
      "package": "sf",
      "role": "Imports"
    },
    {
      "package": "ggplot2",
      "role": "Suggests"
    },
    {
      "package": "knitr",
      "role": "Suggests"
    },
    {
      "package": "minpack.lm",
      "role": "Suggests"
    },
    {
      "package": "nngeo",
      "role": "Suggests"
    },
    {
      "package": "rmarkdown",
      "role": "Suggests"
    },
    {
      "package": "tmap",
      "role": "Suggests"
    }
  ],
  "_owner": "robinlovelace",
  "_selfowned": true,
  "_usedby": 0,
  "_updates": [],
  "_tags": [],
  "_stars": 18,
  "_contributors": [
    {
      "user": "robinlovelace",
      "count": 149,
      "uuid": 1825120
    },
    {
      "user": "nowosad",
      "count": 12,
      "uuid": 3457131
    },
    {
      "user": "fcorowe",
      "count": 1,
      "uuid": 28450210
    },
    {
      "user": "r-icntay",
      "count": 1,
      "uuid": 63848664
    },
    {
      "user": "sebnemer",
      "count": 1,
      "uuid": 9943372
    },
    {
      "user": "adamdennett",
      "count": 1,
      "uuid": 5138911
    }
  ],
  "_userbio": {
    "uuid": 1825120,
    "type": "user",
    "name": "Robin Lovelace",
    "description": "Professor of Transport Data Science, University of Leeds 🎓  Researcher, teacher and builder of open source solutions 🚶🚲🚀"
  },
  "_downloads": {
    "count": 136,
    "source": "https://cranlogs.r-pkg.org/downloads/total/last-month/simodels"
  },
  "_devurl": "https://github.com/robinlovelace/simodels",
  "_pkgdown": "https://robinlovelace.github.io/simodels/",
  "_searchresults": 12,
  "_rbuild": "4.6.0",
  "_assets": [
    "extra/citation.cff",
    "extra/citation.html",
    "extra/citation.json",
    "extra/citation.txt",
    "extra/contents.json",
    "extra/NEWS.html",
    "extra/NEWS.txt",
    "extra/readme.html",
    "extra/readme.md",
    "extra/simodels.html",
    "manual.pdf"
  ],
  "_homeurl": "https://github.com/robinlovelace/simodels",
  "_realowner": "robinlovelace",
  "_cranurl": true,
  "_releases": [
    {
      "version": "0.0.4",
      "date": "2022-06-15"
    },
    {
      "version": "0.0.5",
      "date": "2022-08-31"
    },
    {
      "version": "0.1.0",
      "date": "2024-07-23"
    },
    {
      "version": "0.2.0",
      "date": "2024-08-26"
    }
  ],
  "_exports": [
    "si_calculate",
    "si_predict",
    "si_to_od"
  ],
  "_datasets": [
    {
      "name": "destinations_york",
      "title": "Example destinations dataset: schools in York",
      "object": "destinations_york",
      "class": [
        "sf",
        "tbl_df",
        "tbl",
        "data.frame"
      ],
      "fields": [
        "URN",
        "n_pupils",
        "phase",
        "type_of_establishment",
        "geometry"
      ],
      "rows": 68,
      "table": true,
      "tojson": true
    },
    {
      "name": "od_aus",
      "title": "Example OD dataset: flows between regions in Australia",
      "object": "od_aus",
      "class": [
        "data.frame"
      ],
      "fields": [
        "Origin",
        "Orig_code",
        "Destination",
        "Dest_code",
        "Flow",
        "vi1_origpop",
        "wj1_destpop",
        "vi2_origunemp",
        "wj2_destunemp",
        "vi3_origmedinc",
        "wj3_destmedinc",
        "vi4_origpctrent",
        "wj4_destpctrent"
      ],
      "rows": 225,
      "table": true,
      "tojson": true
    },
    {
      "name": "si_centroids",
      "title": "Example zones and centroids",
      "object": "si_centroids",
      "class": [
        "sf",
        "tbl_df",
        "tbl",
        "data.frame"
      ],
      "fields": [
        "geo_code",
        "geo_name",
        "lad11cd",
        "lad_name",
        "all",
        "bicycle",
        "foot",
        "car_driver",
        "car_passenger",
        "motorbike",
        "train_tube",
        "bus",
        "taxi_other",
        "geometry"
      ],
      "rows": 107,
      "table": true,
      "tojson": true
    },
    {
      "name": "si_oa_wpz",
      "title": "Origin-Destination Data for Leeds",
      "object": "si_oa_wpz",
      "class": [
        "spec_tbl_df",
        "tbl_df",
        "tbl",
        "data.frame"
      ],
      "fields": [
        "OA11CD",
        "wz11cd",
        "n"
      ],
      "rows": 18153,
      "table": true,
      "tojson": true
    },
    {
      "name": "si_oa_wpz_d",
      "title": "Destination Data for Leeds",
      "object": "si_oa_wpz_d",
      "class": [
        "sf",
        "data.frame"
      ],
      "fields": [
        "wz11cd",
        "n_d",
        "geometry"
      ],
      "rows": 273,
      "table": false,
      "tojson": true
    },
    {
      "name": "si_oa_wpz_o",
      "title": "Origin Data for Leeds",
      "object": "si_oa_wpz_o",
      "class": [
        "sf",
        "data.frame"
      ],
      "fields": [
        "OA11CD",
        "n_o",
        "geometry"
      ],
      "rows": 453,
      "table": false,
      "tojson": true
    },
    {
      "name": "si_od_census",
      "title": "Example OD dataset",
      "object": "si_od_census",
      "class": [
        "spec_tbl_df",
        "tbl_df",
        "tbl",
        "data.frame"
      ],
      "fields": [
        "O",
        "D",
        "all",
        "from_home",
        "light_rail",
        "train",
        "bus",
        "taxi",
        "motorbike",
        "car_driver",
        "car_passenger",
        "bicycle",
        "foot",
        "other",
        "geo_name1",
        "geo_name2",
        "la_1",
        "la_2"
      ],
      "rows": 10536,
      "table": true,
      "tojson": true
    },
    {
      "name": "si_pubs",
      "title": "Example destinations dataset: pubs in Leeds",
      "object": "si_pubs",
      "class": [
        "sf",
        "data.frame"
      ],
      "fields": [
        "osm_id",
        "name",
        "barrier",
        "place",
        "man_made",
        "shop",
        "amenity",
        "geometry"
      ],
      "rows": 265,
      "table": true,
      "tojson": true
    },
    {
      "name": "si_zones",
      "title": "Example zones and centroids",
      "object": "si_zones",
      "class": [
        "sf",
        "tbl_df",
        "tbl",
        "data.frame"
      ],
      "fields": [
        "geo_code",
        "geo_name",
        "lad11cd",
        "lad_name",
        "all",
        "bicycle",
        "foot",
        "car_driver",
        "car_passenger",
        "motorbike",
        "train_tube",
        "bus",
        "taxi_other",
        "geometry"
      ],
      "rows": 107,
      "table": false,
      "tojson": true
    },
    {
      "name": "zones_aus",
      "title": "Example zones dataset: regions of Australia",
      "object": "zones_aus",
      "class": [
        "sf",
        "tbl_df",
        "tbl",
        "data.frame"
      ],
      "fields": [
        "GCCSA_CODE",
        "GCC_CODE16",
        "GCCSA_NAME",
        "STATE_CODE",
        "STATE_NAME",
        "AREA_SQKM",
        "geometry"
      ],
      "rows": 15,
      "table": false,
      "tojson": true
    },
    {
      "name": "zones_york",
      "title": "Example zones dataset: administrative zones of York",
      "object": "zones_york",
      "class": [
        "sf",
        "data.frame"
      ],
      "fields": [
        "LSOA21CD",
        "LSOA21NM",
        "total",
        "f0_to_15",
        "f16_to_29",
        "f30_to_44",
        "f45_to_64",
        "f65_and_over",
        "m0_to_15",
        "m16_to_29",
        "m30_to_44",
        "m45_to_64",
        "m65_and_over",
        "geometry"
      ],
      "rows": 121,
      "table": false,
      "tojson": true
    }
  ],
  "_help": [
    {
      "page": "destinations_york",
      "title": "Example destinations dataset: schools in York",
      "topics": [
        "destinations_york"
      ]
    },
    {
      "page": "od_aus",
      "title": "Example OD dataset: flows between regions in Australia",
      "topics": [
        "od_aus"
      ]
    },
    {
      "page": "si_calculate",
      "title": "Calculate flow using a pre-existing function",
      "topics": [
        "si_calculate"
      ]
    },
    {
      "page": "si_oa_wpz",
      "title": "Origin-Destination Data for Leeds",
      "topics": [
        "si_oa_wpz"
      ]
    },
    {
      "page": "si_oa_wpz_d",
      "title": "Destination Data for Leeds",
      "topics": [
        "si_oa_wpz_d"
      ]
    },
    {
      "page": "si_oa_wpz_o",
      "title": "Origin Data for Leeds",
      "topics": [
        "si_oa_wpz_o"
      ]
    },
    {
      "page": "si_od_census",
      "title": "Example OD dataset",
      "topics": [
        "si_od_census"
      ]
    },
    {
      "page": "si_predict",
      "title": "Predict spatial interaction based on pre-trained model",
      "topics": [
        "si_predict"
      ]
    },
    {
      "page": "si_pubs",
      "title": "Example destinations dataset: pubs in Leeds",
      "topics": [
        "si_pubs"
      ]
    },
    {
      "page": "si_to_od",
      "title": "Prepare OD data frame",
      "topics": [
        "si_to_od"
      ]
    },
    {
      "page": "si_zones",
      "title": "Example zones and centroids",
      "topics": [
        "si_centroids",
        "si_zones"
      ]
    },
    {
      "page": "zones_aus",
      "title": "Example zones dataset: regions of Australia",
      "topics": [
        "zones_aus"
      ]
    },
    {
      "page": "zones_york",
      "title": "Example zones dataset: administrative zones of York",
      "topics": [
        "zones_york"
      ]
    }
  ],
  "_readme": "https://github.com/robinlovelace/simodels/raw/HEAD/README.md",
  "_rundeps": [
    "class",
    "classInt",
    "cli",
    "DBI",
    "dplyr",
    "e1071",
    "generics",
    "geodist",
    "geometries",
    "glue",
    "KernSmooth",
    "lifecycle",
    "magrittr",
    "MASS",
    "od",
    "pillar",
    "pkgconfig",
    "proxy",
    "R6",
    "Rcpp",
    "rlang",
    "s2",
    "sf",
    "sfheaders",
    "tibble",
    "tidyselect",
    "units",
    "utf8",
    "vctrs",
    "withr",
    "wk"
  ],
  "_vignettes": [
    {
      "source": "sims-first-principles.Rmd",
      "filename": "sims-first-principles.html",
      "title": "An introduction to spatial interaction models: from first principles",
      "engine": "knitr::rmarkdown",
      "headings": [
        "What are SIMs?",
        "Implementation in R",
        "Validation",
        "References"
      ],
      "created": "2022-04-16 21:07:37",
      "modified": "2025-03-07 14:31:57",
      "commits": 5
    },
    {
      "source": "simodels.Rmd",
      "filename": "simodels.html",
      "title": "Spatial interaction models with R",
      "engine": "knitr::rmarkdown",
      "headings": [
        "Prerequisites",
        "Input data",
        "Preparing a SIM",
        "An unconstrained SIM",
        "A production constrained SIM",
        "Training a SIM",
        "References"
      ],
      "created": "2022-06-13 21:44:05",
      "modified": "2024-07-23 13:08:10",
      "commits": 4
    }
  ],
  "_score": 6.033423755486949,
  "_indexed": true,
  "_nocasepkg": "simodels",
  "_universes": [
    "robinlovelace"
  ],
  "_binaries": [
    {
      "r": "4.7.0",
      "os": "linux",
      "version": "0.2.0",
      "date": "2026-06-02T09:54:39.000Z",
      "distro": "noble",
      "commit": "463769a24845bfa0402991e88beb4d9fd7b3a2d5",
      "fileid": "efb46605e641351e215cb9d9310749b87312985f1dc61dc844e283139e9d8ecd",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/robinlovelace/actions/runs/26811949893"
    },
    {
      "r": "4.6.0",
      "os": "linux",
      "version": "0.2.0",
      "date": "2026-06-02T09:54:41.000Z",
      "distro": "noble",
      "commit": "463769a24845bfa0402991e88beb4d9fd7b3a2d5",
      "fileid": "abddb8daa4333325089f08ae422e346d26ace38f015b66e07d1ae0c1b21a701d",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/robinlovelace/actions/runs/26811949893"
    },
    {
      "r": "4.5.3",
      "os": "mac",
      "version": "0.2.0",
      "date": "2026-06-02T09:54:04.000Z",
      "commit": "463769a24845bfa0402991e88beb4d9fd7b3a2d5",
      "fileid": "b931a1a40d359e92232b89fbb43b9bad72be7d5002fd8eb1d138ae9df6c4a530",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/robinlovelace/actions/runs/26811949893"
    },
    {
      "r": "4.6.0",
      "os": "mac",
      "version": "0.2.0",
      "date": "2026-06-02T09:53:45.000Z",
      "commit": "463769a24845bfa0402991e88beb4d9fd7b3a2d5",
      "fileid": "cd6de54aa39d2a57339639b811f4836160ec1eb70fb85d224d045c062fda0672",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/robinlovelace/actions/runs/26811949893"
    },
    {
      "r": "4.6.0",
      "os": "wasm",
      "version": "0.2.0",
      "date": "2026-06-02T09:54:39.000Z",
      "commit": "463769a24845bfa0402991e88beb4d9fd7b3a2d5",
      "fileid": "13461ef531609c30ac8945fb4ca8e885741d443098113cc8206c5f1a15a3bf56",
      "status": "success",
      "buildurl": "https://github.com/r-universe/robinlovelace/actions/runs/26811949893"
    },
    {
      "r": "4.7.0",
      "os": "win",
      "version": "0.2.0",
      "date": "2026-06-02T09:53:38.000Z",
      "commit": "463769a24845bfa0402991e88beb4d9fd7b3a2d5",
      "fileid": "a95edd2badb6f466a4c375907d2aaf14bc66a7097d86ec03e5c32b4bb35683ae",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/robinlovelace/actions/runs/26811949893"
    },
    {
      "r": "4.5.3",
      "os": "win",
      "version": "0.2.0",
      "date": "2026-06-02T09:53:45.000Z",
      "commit": "463769a24845bfa0402991e88beb4d9fd7b3a2d5",
      "fileid": "d48173fa6fa7d7e33cb67f28973488f86832e46f6b9fc3a9586a61395db351f1",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/robinlovelace/actions/runs/26811949893"
    },
    {
      "r": "4.6.0",
      "os": "win",
      "version": "0.2.0",
      "date": "2026-06-02T09:53:30.000Z",
      "commit": "463769a24845bfa0402991e88beb4d9fd7b3a2d5",
      "fileid": "9564381c183e7d6bcbe6a2d9689d77016d6b458f1075c24a65c4aca4fec0d05f",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/robinlovelace/actions/runs/26811949893"
    }
  ]
}