{
  "_id": "6a2329f9530b9bc726bce5f4",
  "Package": "spanishoddata",
  "Title": "Get Spanish Origin-Destination Data",
  "Version": "0.2.5",
  "Authors@R": "c(\nperson(\"Egor\", \"Kotov\", , \"kotov.egor@gmail.com\", role = c(\"aut\", \"cre\"),\ncomment = c(ORCID = \"0000-0001-6690-5345\")),\nperson(\"Robin\", \"Lovelace\", , \"rob00x@gmail.com\", role = \"aut\",\ncomment = c(ORCID = \"0000-0001-5679-6536\")),\nperson(\"Eugeni\", \"Vidal-Tortosa\", role = \"ctb\",\ncomment = c(ORCID = \"0000-0001-5199-4103\"))\n)",
  "Description": "Gain seamless access to origin-destination (OD) data from\nthe Spanish Ministry of Transport, hosted at\n<https://www.transportes.gob.es/ministerio/proyectos-singulares/estudios-de-movilidad-con-big-data/opendata-movilidad>.\nThis package simplifies the management of these large datasets\nby providing tools to download zone boundaries, handle\nassociated origin-destination data, and process it efficiently\nwith the 'duckdb' database interface.  Local caching minimizes\nrepeated downloads, streamlining workflows for researchers and\nanalysts.  Methods described in Kotov et al. (2026)\n<doi:10.1177/23998083251415040>. Extensive documentation is\navailable at\n<https://ropenspain.github.io/spanishoddata/index.html>,\noffering guides on creating static and dynamic mobility flow\nvisualizations and transforming large datasets into\nanalysis-ready formats.",
  "License": "MIT + file LICENSE",
  "URL": "https://rOpenSpain.github.io/spanishoddata/,\nhttps://github.com/rOpenSpain/spanishoddata,\nhttps://doi.org/10.1177/23998083251415040",
  "BugReports": "https://github.com/rOpenSpain/spanishoddata/issues",
  "VignetteBuilder": "quarto",
  "RdMacros": "Rdpack",
  "Config/Needs/website": "rmarkdown",
  "Config/testthat/edition": "3",
  "Encoding": "UTF-8",
  "Roxygen": "list(markdown = TRUE)",
  "RoxygenNote": "7.3.3",
  "Config/pak/sysreqs": "libabsl-dev cmake libgdal-dev gdal-bin libgeos-dev\nmake libicu-dev libuv1-dev libxml2-dev libssl-dev libproj-dev\nlibsqlite3-dev libudunits2-dev libx11-dev xz-utils",
  "Repository": "https://ropenspain.r-universe.dev",
  "Date/Publication": "2026-06-05 17:18:52 UTC",
  "RemoteUrl": "https://github.com/rOpenSpain/spanishoddata",
  "RemoteRef": "HEAD",
  "RemoteSha": "0a5b12fdb260eed14199c6866b95cc565ae8f42d",
  "NeedsCompilation": "no",
  "Packaged": {
    "Date": "2026-06-05 19:51:41 UTC",
    "User": "root"
  },
  "Author": "Egor Kotov [aut, cre] (ORCID: <https://orcid.org/0000-0001-6690-5345>),\nRobin Lovelace [aut] (ORCID: <https://orcid.org/0000-0001-5679-6536>),\nEugeni Vidal-Tortosa [ctb] (ORCID:\n<https://orcid.org/0000-0001-5199-4103>)",
  "Maintainer": "Egor Kotov <kotov.egor@gmail.com>",
  "MD5sum": "9be887bd527dee17623d86274ee6b01a",
  "_user": "ropenspain",
  "_type": "src",
  "_file": "spanishoddata_0.2.5.tar.gz",
  "_fileid": "f02ec574090a853c22d641d2df1ab2fb219dd1072307da02bdc680261112d6d6",
  "_filesize": 2807421,
  "_sha256": "f02ec574090a853c22d641d2df1ab2fb219dd1072307da02bdc680261112d6d6",
  "_created": "2026-06-05T19:51:41.000Z",
  "_published": "2026-06-05T19:56:41.839Z",
  "_distro": "noble",
  "_jobs": [
    {
      "job": 79802546413,
      "time": 225,
      "config": "linux-devel-x86_64",
      "r": "4.7.0",
      "check": "OK",
      "artifact": "7445579502"
    },
    {
      "job": 79802546356,
      "time": 190,
      "config": "linux-release-x86_64",
      "r": "4.6.0",
      "check": "OK",
      "artifact": "7445569426"
    },
    {
      "job": 79802546394,
      "time": 129,
      "config": "macos-oldrel-arm64",
      "r": "4.5.3",
      "check": "OK",
      "artifact": "7445551385"
    },
    {
      "job": 79802546421,
      "time": 140,
      "config": "macos-release-arm64",
      "r": "4.6.0",
      "check": "OK",
      "artifact": "7445554401"
    },
    {
      "job": 79801952836,
      "time": 229,
      "config": "source",
      "r": "4.6.0",
      "check": "OK",
      "artifact": "7445513524"
    },
    {
      "job": 79802546389,
      "time": 166,
      "config": "wasm-release",
      "r": "4.6.0",
      "check": "OK",
      "artifact": "7445562032"
    },
    {
      "job": 79802546556,
      "time": 147,
      "config": "windows-devel",
      "r": "4.7.0",
      "check": "OK",
      "artifact": "7445556368"
    },
    {
      "job": 79802546368,
      "time": 262,
      "config": "windows-oldrel",
      "r": "4.5.3",
      "check": "OK",
      "artifact": "7445590697"
    },
    {
      "job": 79802546383,
      "time": 169,
      "config": "windows-release",
      "r": "4.6.0",
      "check": "OK",
      "artifact": "7445563341"
    }
  ],
  "_buildurl": "https://github.com/r-universe/ropenspain/actions/runs/27036549294",
  "_status": "success",
  "_host": "GitHub-Actions",
  "_upstream": "https://github.com/rOpenSpain/spanishoddata",
  "_commit": {
    "id": "0a5b12fdb260eed14199c6866b95cc565ae8f42d",
    "author": "Copilot <198982749+Copilot@users.noreply.github.com>",
    "committer": "GitHub <noreply@github.com>",
    "message": "docs: Add Tartu 2026 Data Science for Transport Planning course (#195)\n\n* Add Data Science for Transport Planning course in Tartu\n\n* Add description to Tartu course in pkgdown\n\n* Update Tartu course with authors and conference info\n\n---------\n\nCo-authored-by: copilot-swe-agent[bot] <198982749+Copilot@users.noreply.github.com>",
    "time": 1780679932
  },
  "_maintainer": {
    "name": "Egor Kotov",
    "email": "kotov.egor@gmail.com",
    "login": "e-kotov",
    "mastodon": "@EgorKotov@datasci.social",
    "bluesky": "@ekotov.pro",
    "linkedin": "in/egorkotov",
    "orcid": "0000-0001-6690-5345",
    "twitter": "@EgorKotov",
    "description": "Spatial Data Scientist, Doctoral Reseacher at @MPIDR and UPF",
    "uuid": 8681379
  },
  "_registered": true,
  "_dependencies": [
    {
      "package": "R",
      "version": ">= 4.1.0",
      "role": "Depends"
    },
    {
      "package": "checkmate",
      "role": "Imports"
    },
    {
      "package": "DBI",
      "role": "Imports"
    },
    {
      "package": "digest",
      "role": "Imports"
    },
    {
      "package": "dplyr",
      "role": "Imports"
    },
    {
      "package": "duckdb",
      "version": ">= 0.5.0",
      "role": "Imports"
    },
    {
      "package": "fs",
      "role": "Imports"
    },
    {
      "package": "glue",
      "role": "Imports"
    },
    {
      "package": "httr2",
      "role": "Imports"
    },
    {
      "package": "jsonlite",
      "role": "Imports"
    },
    {
      "package": "lifecycle",
      "role": "Imports"
    },
    {
      "package": "lubridate",
      "role": "Imports"
    },
    {
      "package": "memoise",
      "role": "Imports"
    },
    {
      "package": "openssl",
      "role": "Imports"
    },
    {
      "package": "parallelly",
      "role": "Imports"
    },
    {
      "package": "paws.storage",
      "version": ">= 0.4.0",
      "role": "Imports"
    },
    {
      "package": "purrr",
      "role": "Imports"
    },
    {
      "package": "Rdpack",
      "role": "Imports"
    },
    {
      "package": "readr",
      "role": "Imports"
    },
    {
      "package": "rlang",
      "role": "Imports"
    },
    {
      "package": "sf",
      "role": "Imports"
    },
    {
      "package": "stats",
      "role": "Imports"
    },
    {
      "package": "stringr",
      "role": "Imports"
    },
    {
      "package": "tibble",
      "role": "Imports"
    },
    {
      "package": "xml2",
      "role": "Imports"
    },
    {
      "package": "cli",
      "role": "Suggests"
    },
    {
      "package": "flowmapblue",
      "role": "Suggests"
    },
    {
      "package": "flowmapper",
      "version": ">= 0.1.2",
      "role": "Suggests"
    },
    {
      "package": "furrr",
      "role": "Suggests"
    },
    {
      "package": "future",
      "role": "Suggests"
    },
    {
      "package": "future.mirai",
      "role": "Suggests"
    },
    {
      "package": "ggiraph",
      "role": "Suggests"
    },
    {
      "package": "hexSticker",
      "role": "Suggests"
    },
    {
      "package": "htmlwidgets",
      "role": "Suggests"
    },
    {
      "package": "mapSpain",
      "role": "Suggests"
    },
    {
      "package": "quarto",
      "role": "Suggests"
    },
    {
      "package": "remotes",
      "role": "Suggests"
    },
    {
      "package": "scales",
      "role": "Suggests"
    },
    {
      "package": "testthat",
      "version": ">= 3.0.0",
      "role": "Suggests"
    },
    {
      "package": "tidyverse",
      "role": "Suggests"
    },
    {
      "package": "withr",
      "role": "Suggests"
    }
  ],
  "_owner": "ropenspain",
  "_selfowned": true,
  "_usedby": 0,
  "_updates": [
    {
      "week": "2025-24",
      "n": 9
    },
    {
      "week": "2025-25",
      "n": 3
    },
    {
      "week": "2025-26",
      "n": 2
    },
    {
      "week": "2025-31",
      "n": 10
    },
    {
      "week": "2025-39",
      "n": 1
    },
    {
      "week": "2025-40",
      "n": 1
    },
    {
      "week": "2025-41",
      "n": 1
    },
    {
      "week": "2025-42",
      "n": 1
    },
    {
      "week": "2025-43",
      "n": 1
    },
    {
      "week": "2026-05",
      "n": 1
    },
    {
      "week": "2026-09",
      "n": 7
    },
    {
      "week": "2026-12",
      "n": 1
    },
    {
      "week": "2026-13",
      "n": 7
    },
    {
      "week": "2026-15",
      "n": 7
    },
    {
      "week": "2026-21",
      "n": 1
    },
    {
      "week": "2026-22",
      "n": 9
    },
    {
      "week": "2026-23",
      "n": 1
    }
  ],
  "_tags": [
    {
      "name": "v0.2.0",
      "date": "2025-06-15"
    },
    {
      "name": "v0.2.1",
      "date": "2025-07-29"
    },
    {
      "name": "v0.2.2",
      "date": "2026-02-24"
    },
    {
      "name": "v0.2.3",
      "date": "2026-03-23"
    },
    {
      "name": "v0.2.4",
      "date": "2026-04-09"
    },
    {
      "name": "v0.2.5",
      "date": "2026-05-26"
    }
  ],
  "_topics": [
    "cdr",
    "data",
    "data-package",
    "mobile-telephone-data",
    "mobility",
    "origin-destination",
    "quarto"
  ],
  "_stars": 47,
  "_contributors": [
    {
      "user": "e-kotov",
      "count": 574,
      "uuid": 8681379
    },
    {
      "user": "robinlovelace",
      "count": 88,
      "uuid": 1825120
    },
    {
      "user": "eugenividal",
      "count": 10,
      "uuid": 32644567
    },
    {
      "user": "darakhshannehal",
      "count": 2,
      "uuid": 198928375
    },
    {
      "user": "rnanclares",
      "count": 2,
      "uuid": 11431207
    },
    {
      "user": "copilot",
      "count": 1,
      "uuid": 198982749
    },
    {
      "user": "vaughnbbcn",
      "count": 1,
      "uuid": 114619322
    }
  ],
  "_userbio": {
    "uuid": 34716267,
    "type": "organization",
    "name": "rOpenSpain",
    "description": "rOpenSci is our form, Spanish public data our matter"
  },
  "_downloads": {
    "count": 556,
    "source": "https://cranlogs.r-pkg.org/downloads/total/last-month/spanishoddata"
  },
  "_devurl": "https://github.com/ropenspain/spanishoddata",
  "_pkgdown": "https://rOpenSpain.github.io/spanishoddata/",
  "_searchresults": 44,
  "_quarto": true,
  "_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/spanishoddata.html",
    "manual.pdf"
  ],
  "_homeurl": "https://github.com/ropenspain/spanishoddata",
  "_realowner": "ropenspain",
  "_cranurl": true,
  "_releases": [
    {
      "version": "0.1.0",
      "date": "2024-12-18"
    },
    {
      "version": "0.1.1",
      "date": "2025-04-09"
    },
    {
      "version": "0.2.0",
      "date": "2025-06-15"
    },
    {
      "version": "0.2.1",
      "date": "2025-08-01"
    },
    {
      "version": "0.2.2",
      "date": "2026-02-24"
    },
    {
      "version": "0.2.3",
      "date": "2026-03-23"
    },
    {
      "version": "0.2.4",
      "date": "2026-04-09"
    },
    {
      "version": "0.2.5",
      "date": "2026-05-26"
    }
  ],
  "_exports": [
    "spod_available_data",
    "spod_check_files",
    "spod_cite",
    "spod_codebook",
    "spod_connect",
    "spod_convert",
    "spod_disconnect",
    "spod_download",
    "spod_get",
    "spod_get_data_dir",
    "spod_get_valid_dates",
    "spod_get_zones",
    "spod_quick_get_od",
    "spod_quick_get_zones",
    "spod_set_data_dir"
  ],
  "_help": [
    {
      "page": "spod_available_data",
      "title": "Get available data list",
      "topics": [
        "spod_available_data"
      ]
    },
    {
      "page": "spod_check_files",
      "title": "Check cached files consistency against checksums from S3",
      "topics": [
        "spod_check_files"
      ]
    },
    {
      "page": "spod_cite",
      "title": "Cite the package and the data",
      "topics": [
        "spod_cite"
      ]
    },
    {
      "page": "spod_codebook",
      "title": "View codebooks for v1 and v2 open mobility data",
      "topics": [
        "spod_codebook"
      ]
    },
    {
      "page": "spod_connect",
      "title": "Connect to data converted to 'DuckDB' or hive-style 'parquet' files",
      "topics": [
        "spod_connect"
      ]
    },
    {
      "page": "spod_convert",
      "title": "Convert data from plain text to duckdb or parquet format",
      "topics": [
        "spod_convert"
      ]
    },
    {
      "page": "spod_disconnect",
      "title": "Safely disconnect from data and free memory",
      "topics": [
        "spod_disconnect"
      ]
    },
    {
      "page": "spod_download",
      "title": "Download the data files of specified type, zones, and dates",
      "topics": [
        "spod_download"
      ]
    },
    {
      "page": "spod_get",
      "title": "Get tabular mobility data",
      "topics": [
        "spod_get"
      ]
    },
    {
      "page": "spod_get_data_dir",
      "title": "Get the data directory",
      "topics": [
        "spod_get_data_dir"
      ]
    },
    {
      "page": "spod_get_valid_dates",
      "title": "Get valid dates for the specified data version",
      "topics": [
        "spod_get_valid_dates"
      ]
    },
    {
      "page": "spod_get_zones",
      "title": "Get zones",
      "topics": [
        "spod_get_zones"
      ]
    },
    {
      "page": "spod_quick_get_od",
      "title": "Get daily trip counts per origin-destionation municipality from 2022 onward",
      "topics": [
        "spod_quick_get_od"
      ]
    },
    {
      "page": "spod_quick_get_zones",
      "title": "Get the municipalities geometries",
      "topics": [
        "spod_quick_get_zones"
      ]
    },
    {
      "page": "spod_set_data_dir",
      "title": "Set the data directory",
      "topics": [
        "spod_set_data_dir"
      ]
    }
  ],
  "_pkglogo": "https://github.com/rOpenSpain/spanishoddata/raw/HEAD/man/figures/logo.png",
  "_readme": "https://github.com/rOpenSpain/spanishoddata/raw/HEAD/README.md",
  "_rundeps": [
    "askpass",
    "backports",
    "base64enc",
    "bit",
    "bit64",
    "cachem",
    "checkmate",
    "class",
    "classInt",
    "cli",
    "clipr",
    "cpp11",
    "crayon",
    "curl",
    "DBI",
    "digest",
    "dplyr",
    "duckdb",
    "e1071",
    "fastmap",
    "fs",
    "generics",
    "glue",
    "hms",
    "httr2",
    "jsonlite",
    "KernSmooth",
    "lifecycle",
    "lubridate",
    "magrittr",
    "MASS",
    "memoise",
    "openssl",
    "parallelly",
    "paws.common",
    "paws.storage",
    "pillar",
    "pkgconfig",
    "prettyunits",
    "progress",
    "proxy",
    "purrr",
    "R6",
    "rappdirs",
    "rbibutils",
    "Rcpp",
    "Rdpack",
    "readr",
    "rlang",
    "s2",
    "sf",
    "stringi",
    "stringr",
    "sys",
    "tibble",
    "tidyselect",
    "timechange",
    "tzdb",
    "units",
    "utf8",
    "vctrs",
    "vroom",
    "withr",
    "wk",
    "xml2"
  ],
  "_vignettes": [
    {
      "source": "v1-2020-2021-mitma-data-codebook.qmd",
      "filename": "v1-2020-2021-mitma-data-codebook.html",
      "title": "Codebook and cookbook for v1 (2020-2021) Spanish mobility data",
      "engine": "quarto::html",
      "headings": [],
      "created": "2024-08-27 11:13:27",
      "modified": "2026-02-24 17:28:19",
      "commits": 19
    },
    {
      "source": "v2-2022-onwards-mitma-data-codebook.qmd",
      "filename": "v2-2022-onwards-mitma-data-codebook.html",
      "title": "Codebook and cookbook for v2 (2022 onwards) Spanish mobility data",
      "engine": "quarto::html",
      "headings": [],
      "created": "2024-08-27 11:13:27",
      "modified": "2026-03-23 13:27:09",
      "commits": 14
    },
    {
      "source": "convert.qmd",
      "filename": "convert.html",
      "title": "Download and convert mobility datasets",
      "engine": "quarto::html",
      "headings": [],
      "created": "2024-08-27 11:13:27",
      "modified": "2026-02-24 12:30:14",
      "commits": 14
    },
    {
      "source": "quick-get.qmd",
      "filename": "quick-get.html",
      "title": "Quicky get daily data",
      "engine": "quarto::html",
      "headings": [],
      "created": "2024-12-02 12:15:22",
      "modified": "2026-02-24 12:30:14",
      "commits": 7
    }
  ],
  "_score": 8.625180701847805,
  "_indexed": true,
  "_nocasepkg": "spanishoddata",
  "_universes": [
    "ropenspain",
    "e-kotov"
  ],
  "_binaries": [
    {
      "r": "4.7.0",
      "os": "linux",
      "version": "0.2.5",
      "date": "2026-06-05T19:55:11.000Z",
      "distro": "noble",
      "commit": "0a5b12fdb260eed14199c6866b95cc565ae8f42d",
      "fileid": "c7e21c59f51cf64ae6043192b735fdbe6eecac4297b489e7a6783150436fb36b",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/ropenspain/actions/runs/27036549294"
    },
    {
      "r": "4.6.0",
      "os": "linux",
      "version": "0.2.5",
      "date": "2026-06-05T19:54:36.000Z",
      "distro": "noble",
      "commit": "0a5b12fdb260eed14199c6866b95cc565ae8f42d",
      "fileid": "b932b3e512d4b8d4aa5fceac834fb0f107efcfd8b5d27cd866a4529a47408088",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/ropenspain/actions/runs/27036549294"
    },
    {
      "r": "4.5.3",
      "os": "mac",
      "version": "0.2.5",
      "date": "2026-06-05T19:53:47.000Z",
      "commit": "0a5b12fdb260eed14199c6866b95cc565ae8f42d",
      "fileid": "4835e69955186ca1c4df80e193bf646d6965fa9783c9d94c3a032dd8c3383343",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/ropenspain/actions/runs/27036549294"
    },
    {
      "r": "4.6.0",
      "os": "mac",
      "version": "0.2.5",
      "date": "2026-06-05T19:53:52.000Z",
      "commit": "0a5b12fdb260eed14199c6866b95cc565ae8f42d",
      "fileid": "cad4d90b6accf86d0536faff39bf8023d62c0abb5c17a64832317443ebab3e84",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/ropenspain/actions/runs/27036549294"
    },
    {
      "r": "4.6.0",
      "os": "wasm",
      "version": "0.2.5",
      "date": "2026-06-05T19:54:44.000Z",
      "commit": "0a5b12fdb260eed14199c6866b95cc565ae8f42d",
      "fileid": "5ce285945ff00c3f0eeff25cb2cf24f77a7a0372dfaefd8933127be35f65de88",
      "status": "success",
      "buildurl": "https://github.com/r-universe/ropenspain/actions/runs/27036549294"
    },
    {
      "r": "4.7.0",
      "os": "win",
      "version": "0.2.5",
      "date": "2026-06-05T19:53:40.000Z",
      "commit": "0a5b12fdb260eed14199c6866b95cc565ae8f42d",
      "fileid": "5f3ad267c77f41e5018154fff193cb42df95baa9c373a96e793a78a4cc2a6ff5",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/ropenspain/actions/runs/27036549294"
    },
    {
      "r": "4.5.3",
      "os": "win",
      "version": "0.2.5",
      "date": "2026-06-05T19:55:30.000Z",
      "commit": "0a5b12fdb260eed14199c6866b95cc565ae8f42d",
      "fileid": "a6fdd11a05469e6890a86f1cfe01ed65723b0eb98f8c0b698196da4c6f32c8e2",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/ropenspain/actions/runs/27036549294"
    },
    {
      "r": "4.6.0",
      "os": "win",
      "version": "0.2.5",
      "date": "2026-06-05T19:54:00.000Z",
      "commit": "0a5b12fdb260eed14199c6866b95cc565ae8f42d",
      "fileid": "5e76e0fe2189bd1e96d6d36239351c88d232db211e754d5946f5da0b7f9b0926",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/ropenspain/actions/runs/27036549294"
    }
  ]
}