{
  "_id": "6af842bef58eaab79920f1f9",
  "Package": "nsapi",
  "Version": "0.1.0.9000",
  "Title": "Connect to the NS (Dutch Railways) API",
  "Description": "Access the NS api and download current departure times,\ndisruptions and engineering work, the station list, and travel\nrecommendations from station to station. All results will be\nreturned as a 'data.frame'. NS (Nederlandse Spoorwegen; Dutch\nRailways) is the largest train travel provider in the\nNetherlands. for more information about the API itself see\n<https://www.ns.nl/en/travel-information/ns-api>. To use the\nAPI, and this package, you will need to obtain a username and\npassword. More information about authentication and the use of\nthe functions are described in the vignette.",
  "Authors@R": "person(\"Roel M.\", \"Hogervorst\", email =\"hogervorst.rm@gmail.com\", role = c(\"cre\", \"aut\"), comment = c(ORCID = \"0000-0001-7509-0328\"))",
  "License": "MIT + file LICENSE",
  "Encoding": "UTF-8",
  "ByteCompile": "true",
  "URL": "https://github.com/RMHogervorst/nsapi ,\nhttps://rmhogervorst.nl/nsapi/",
  "BugReports": "https://github.com/RMHogervorst/nsapi/issues",
  "Roxygen": "list(markdown = TRUE)",
  "RoxygenNote": "6.1.0",
  "VignetteBuilder": "knitr",
  "Config/pak/sysreqs": "libxml2-dev libssl-dev",
  "Repository": "https://rmhogervorst.r-universe.dev",
  "Date/Publication": "2023-03-06 16:21:18 UTC",
  "RemoteUrl": "https://github.com/RMHogervorst/nsapi",
  "RemoteRef": "HEAD",
  "RemoteSha": "9b97dc6c71557892093f616fc51facdf24542646",
  "NeedsCompilation": "no",
  "Packaged": {
    "Date": "2026-11-14 11:11:41 UTC",
    "User": "root"
  },
  "Author": "Roel M. Hogervorst [cre, aut] (ORCID:\n<https://orcid.org/0000-0001-7509-0328>)",
  "Maintainer": "Roel M. Hogervorst <hogervorst.rm@gmail.com>",
  "_user": "rmhogervorst",
  "_type": "src",
  "_file": "nsapi_0.1.0.9000.tar.gz",
  "_fileid": "https://r2.ropensci.org/7365e2440f6d4f658c39c737773f13dcf0e931d3aab5ffbc8091bb35eed6327a",
  "_filesize": 216428,
  "_sha256": "7365e2440f6d4f658c39c737773f13dcf0e931d3aab5ffbc8091bb35eed6327a",
  "_expires": "2027-02-22T11:15:08.000Z",
  "_created": "2026-11-14T11:11:41.000Z",
  "_published": "2026-11-14T11:15:10.679Z",
  "_upstream": "https://github.com/RMHogervorst/nsapi",
  "_status": "success",
  "_maintainer": {
    "name": "Roel M. Hogervorst",
    "email": "hogervorst.rm@gmail.com",
    "login": "rmhogervorst",
    "mastodon": "@rmhogervorst@rstats.me",
    "description": "Interested in building tools with python, R rust, open source.\n\n@RMHogervorst@rstats.me",
    "uuid": 9538040,
    "orcid": "0000-0001-7509-0328"
  },
  "_jobs": [
    {
      "job": 132429166508,
      "time": 143,
      "config": "linux-devel-x86_64",
      "r": "4.7.0",
      "check": "OK",
      "artifact": "14112006056"
    },
    {
      "job": 132429166497,
      "time": 99,
      "config": "linux-release-x86_64",
      "r": "4.6.2",
      "check": "OK",
      "artifact": "14110924571"
    },
    {
      "job": 132429166498,
      "time": 168,
      "config": "macos-oldrel-arm64",
      "r": "4.5.3",
      "check": "OK",
      "artifact": "14111567643"
    },
    {
      "job": 132429166659,
      "time": 145,
      "config": "macos-release-arm64",
      "r": "4.6.2",
      "check": "OK",
      "artifact": "14111806404"
    },
    {
      "job": 132428352989,
      "time": 196,
      "config": "source",
      "r": "4.6.2",
      "check": "OK",
      "artifact": "14111667133"
    },
    {
      "job": 132429166496,
      "time": 93,
      "config": "wasm-release",
      "r": "4.6.0",
      "check": "OK",
      "artifact": "14111192114"
    },
    {
      "job": 132429166489,
      "time": 169,
      "config": "windows-devel-x86_64",
      "r": "4.7.0",
      "check": "OK",
      "artifact": "14111622731"
    },
    {
      "job": 132429166476,
      "time": 159,
      "config": "windows-oldrel-x86_64",
      "r": "4.5.3",
      "check": "OK",
      "artifact": "14111018701"
    },
    {
      "job": 132429166493,
      "time": 167,
      "config": "windows-release-x86_64",
      "r": "4.6.2",
      "check": "OK",
      "artifact": "14111497738"
    }
  ],
  "_buildurl": "https://github.com/r-universe/rmhogervorst/actions/runs/43588584644",
  "_commit": {
    "id": "9b97dc6c71557892093f616fc51facdf24542646",
    "author": "Roel M. Hogervorst <hogervorst.rm@gmail.com>",
    "committer": "Roel M. Hogervorst <hogervorst.rm@gmail.com>",
    "message": "status abandoned :stop:\n",
    "time": 1678119678
  },
  "_distro": "resolute",
  "_host": "GitHub-Actions",
  "_registered": true,
  "_dependencies": [
    {
      "package": "crul",
      "role": "Imports"
    },
    {
      "package": "xml2",
      "role": "Imports"
    },
    {
      "package": "testthat",
      "role": "Suggests"
    },
    {
      "package": "knitr",
      "role": "Suggests"
    },
    {
      "package": "rmarkdown",
      "role": "Suggests"
    },
    {
      "package": "covr",
      "role": "Suggests"
    }
  ],
  "_owner": "rmhogervorst",
  "_selfowned": true,
  "_usedby": 0,
  "_updates": [],
  "_tags": [],
  "_topics": [
    "api-client",
    "nederlandse-spoorwegen-api"
  ],
  "_stars": 2,
  "_contributors": [
    {
      "user": "rmhogervorst",
      "count": 23,
      "uuid": 9538040
    }
  ],
  "_userbio": {
    "uuid": 9538040,
    "type": "user",
    "name": "Roel Hogervorst",
    "followers": 127,
    "description": "Interested in building tools with python, R rust, open source.\r\n\r\n@rmhogervorst@rstats.me"
  },
  "_downloads": {
    "count": 28,
    "source": "https://cranlogs.r-pkg.org/downloads/total/last-month/nsapi"
  },
  "_devurl": "https://github.com/rmhogervorst/nsapi",
  "_searchresults": 10,
  "_rbuild": "4.6.2",
  "_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/nsapi.html",
    "extra/readme.html",
    "extra/readme.md",
    "LICENSE"
  ],
  "_cranurl": false,
  "_releases": [
    {
      "version": "0.1.0",
      "date": "2018-08-06"
    },
    {
      "version": "0.1.1",
      "date": "2018-08-11"
    }
  ],
  "_exports": [
    "check_ns_api_keys",
    "datetime",
    "get_current_disruptions",
    "get_departures",
    "get_disruptions_station",
    "get_scheduled_engineering_work",
    "get_stationlist",
    "get_travel_advise"
  ],
  "_help": [
    {
      "page": "check_ns_api_keys",
      "title": "Are the username and password set?",
      "topics": [
        "check_ns_api_keys"
      ]
    },
    {
      "page": "datetime",
      "title": "Translate date and time into datetime stamp to use in api call",
      "topics": [
        "datetime"
      ]
    },
    {
      "page": "get_departures",
      "title": "Get up to date departures from a station",
      "topics": [
        "get_departures"
      ]
    },
    {
      "page": "get_disruptions_station",
      "title": "Get disruptions and engineering work",
      "topics": [
        "get_current_disruptions",
        "get_disruptions_station",
        "get_scheduled_engineering_work"
      ]
    },
    {
      "page": "get_stationlist",
      "title": "Get a complete list of all the stations",
      "topics": [
        "get_stationlist"
      ]
    },
    {
      "page": "get_travel_advise",
      "title": "Get travel advise from one station to another station",
      "topics": [
        "get_travel_advise"
      ]
    },
    {
      "page": "nsapi",
      "title": "NSapi package",
      "topics": [
        "nsapi-package",
        "nsapi"
      ]
    }
  ],
  "_readme": "https://github.com/RMHogervorst/nsapi/raw/HEAD/README.md",
  "_rundeps": [
    "cli",
    "crul",
    "curl",
    "httpcode",
    "jsonlite",
    "lifecycle",
    "mime",
    "R6",
    "Rcpp",
    "rlang",
    "triebeard",
    "urltools",
    "xml2"
  ],
  "_vignettes": [
    {
      "source": "basic_use_nsapi_package.Rmd",
      "filename": "basic_use_nsapi_package.html",
      "title": "Basic use of the nsapi package",
      "author": "Roel M. Hogervorst",
      "engine": "knitr::rmarkdown",
      "headings": [
        "Authentication",
        "Temporary adding acountname and password to your session",
        "Permanently adding username and password to your r session",
        "Getting travel advise",
        "More details about the returned dataframe.",
        "Stationlist",
        "Departures",
        "Disruptions and maintenance",
        "Current disruptions  (=unscheduled disruptions + current engineering work)",
        "Scheduled engineering work(=scheduled engineering work)",
        "Current disruptions for a specific station (=unscheduled disruptions + current engineering work)"
      ],
      "created": "2018-07-17 16:43:47",
      "modified": "2018-08-04 08:31:07",
      "commits": 5
    }
  ],
  "_score": 3,
  "_indexed": true,
  "_nocasepkg": "nsapi",
  "_universes": [
    "rmhogervorst"
  ],
  "_binaries": [
    {
      "r": "4.7.0",
      "os": "linux",
      "version": "0.1.0.9000",
      "date": "2026-11-14T11:14:11.000Z",
      "distro": "resolute",
      "commit": "9b97dc6c71557892093f616fc51facdf24542646",
      "fileid": "https://r2.ropensci.org/489fd3f7e4e095effb23ee19dd753fc251c9f5c2238657a87e71bcb0c91a5d94",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/rmhogervorst/actions/runs/43588584644"
    },
    {
      "r": "4.6.2",
      "os": "linux",
      "version": "0.1.0.9000",
      "date": "2026-11-14T11:13:26.000Z",
      "distro": "resolute",
      "commit": "9b97dc6c71557892093f616fc51facdf24542646",
      "fileid": "https://r2.ropensci.org/32dd16487fffa5f119758930e149ab7e7d261c5c5507df333a4bcb8f15174f33",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/rmhogervorst/actions/runs/43588584644"
    },
    {
      "r": "4.5.3",
      "os": "mac",
      "version": "0.1.0.9000",
      "date": "2026-11-14T11:14:10.000Z",
      "commit": "9b97dc6c71557892093f616fc51facdf24542646",
      "fileid": "https://r2.ropensci.org/a937b3ba903aa99ee295227a616dd080252e1cd5468c540aaf72003d5b6597ba",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/rmhogervorst/actions/runs/43588584644"
    },
    {
      "r": "4.6.2",
      "os": "mac",
      "version": "0.1.0.9000",
      "date": "2026-11-14T11:13:49.000Z",
      "commit": "9b97dc6c71557892093f616fc51facdf24542646",
      "fileid": "https://r2.ropensci.org/e2fc058c0e3cdfc937cae8cfe023c45e721ee1b4774b9667fcee7698491ba9e6",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/rmhogervorst/actions/runs/43588584644"
    },
    {
      "r": "4.6.0",
      "os": "wasm",
      "version": "0.1.0.9000",
      "date": "2026-11-14T11:13:31.000Z",
      "commit": "9b97dc6c71557892093f616fc51facdf24542646",
      "fileid": "https://r2.ropensci.org/5271a480d3e9ba322da5dcabb6ad0b9fc19b1bd86dbf0b7cc7d2d467add78c08",
      "status": "success",
      "buildurl": "https://github.com/r-universe/rmhogervorst/actions/runs/43588584644"
    },
    {
      "r": "4.7.0",
      "os": "win",
      "version": "0.1.0.9000",
      "date": "2026-11-14T11:13:50.000Z",
      "commit": "9b97dc6c71557892093f616fc51facdf24542646",
      "fileid": "https://r2.ropensci.org/b638e87e232eac9266de1d4c6c16e5b56f94bab83a44f14b890ae913e528e856",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/rmhogervorst/actions/runs/43588584644"
    },
    {
      "r": "4.5.3",
      "os": "win",
      "version": "0.1.0.9000",
      "date": "2026-11-14T11:13:39.000Z",
      "commit": "9b97dc6c71557892093f616fc51facdf24542646",
      "fileid": "https://r2.ropensci.org/bb9878198f78a5ff979ac6637df179c7b3d5b4411864a59e1f8503e631851973",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/rmhogervorst/actions/runs/43588584644"
    },
    {
      "r": "4.6.2",
      "os": "win",
      "version": "0.1.0.9000",
      "date": "2026-11-14T11:13:39.000Z",
      "commit": "9b97dc6c71557892093f616fc51facdf24542646",
      "fileid": "https://r2.ropensci.org/1c992b6e41f49ec44de07be2c5847e585ec95c7d0a365970efe0655563b9e34a",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/rmhogervorst/actions/runs/43588584644"
    }
  ]
}