{
  "_id": "6abe010699f7aa8c6aa5140a",
  "Package": "octopusR",
  "Title": "Interact with the 'Octopus Energy' API",
  "Version": "1.0.1.9000",
  "Authors@R": "person(\"James\", \"Hayes\", , \"jamesmcmahon0@gmail.com\", role = c(\"aut\", \"cre\"),\ncomment = c(ORCID = \"0000-0002-5380-2029\"))",
  "Description": "A simple wrapper for the 'Octopus Energy' REST API\n<https://developer.octopus.energy/rest/>. It handles\nauthentication, by storing a provided API key and meter\ndetails.  Implemented endpoints include 'products' for viewing\ntariff details and 'consumption' for viewing meter consumption\ndata.",
  "License": "MIT + file LICENSE",
  "URL": "https://github.com/Moohan/octopusR,\nhttps://moohan.github.io/octopusR/",
  "BugReports": "https://github.com/Moohan/octopusR/issues",
  "Config/roxygen2/markdown": "true",
  "Config/roxygen2/version": "8.1.0",
  "Config/testthat/edition": "3",
  "Config/testthat/parallel": "true",
  "Config/testthat/start-first": "get_consumption",
  "Encoding": "UTF-8",
  "Language": "en-GB",
  "Config/pak/sysreqs": "libssl-dev",
  "Repository": "https://moohan.r-universe.dev",
  "Date/Publication": "2026-10-01 05:01:11 UTC",
  "RemoteUrl": "https://github.com/moohan/octopusr",
  "RemoteRef": "HEAD",
  "RemoteSha": "2a0fda013b4b023c4d36deed7f1d6d2770ca1afc",
  "NeedsCompilation": "no",
  "Packaged": {
    "Date": "2026-10-01 06:38:49 UTC",
    "User": "root"
  },
  "Author": "James Hayes [aut, cre] (ORCID: <https://orcid.org/0000-0002-5380-2029>)",
  "Maintainer": "James Hayes <jamesmcmahon0@gmail.com>",
  "_user": "moohan",
  "_type": "src",
  "_file": "octopusR_1.0.1.9000.tar.gz",
  "_fileid": "https://r2.ropensci.org/288add8721c5ea78c3f1964fc740b07ac4af7fcb65c2739f55c76e44183cf71b",
  "_filesize": 109522,
  "_sha256": "288add8721c5ea78c3f1964fc740b07ac4af7fcb65c2739f55c76e44183cf71b",
  "_expires": "2027-01-09T06:43:16.000Z",
  "_created": "2026-10-01T06:38:49.000Z",
  "_published": "2026-10-01T06:43:18.402Z",
  "_jobs": [
    {
      "job": 110251462086,
      "time": 138,
      "config": "linux-devel-x86_64",
      "r": "4.7.0",
      "check": "OK",
      "artifact": "11145530763"
    },
    {
      "job": 110251462094,
      "time": 140,
      "config": "linux-release-x86_64",
      "r": "4.6.1",
      "check": "OK",
      "artifact": "11144858013"
    },
    {
      "job": 110251462034,
      "time": 157,
      "config": "macos-oldrel-arm64",
      "r": "4.5.3",
      "check": "OK",
      "artifact": "11144944521"
    },
    {
      "job": 110251462032,
      "time": 124,
      "config": "macos-release-arm64",
      "r": "4.6.1",
      "check": "OK",
      "artifact": "11145670519"
    },
    {
      "job": 110249857943,
      "time": 345,
      "config": "source",
      "r": "4.6.1",
      "check": "OK",
      "artifact": "11145435765"
    },
    {
      "job": 110251461971,
      "time": 122,
      "config": "wasm-release",
      "r": "4.6.0",
      "check": "OK",
      "artifact": "11144862945"
    },
    {
      "job": 110251462083,
      "time": 78,
      "config": "windows-devel-x86_64",
      "r": "4.7.0",
      "check": "OK",
      "artifact": "11145655282"
    },
    {
      "job": 110251462104,
      "time": 69,
      "config": "windows-oldrel-x86_64",
      "r": "4.5.3",
      "check": "OK",
      "artifact": "11144982737"
    },
    {
      "job": 110251462008,
      "time": 58,
      "config": "windows-release-x86_64",
      "r": "4.6.1",
      "check": "OK",
      "artifact": "11145237363"
    }
  ],
  "_host": "GitHub-Actions",
  "_buildurl": "https://github.com/r-universe/moohan/actions/runs/36825321168",
  "_status": "success",
  "_upstream": "https://github.com/moohan/octopusr",
  "_commit": {
    "id": "2a0fda013b4b023c4d36deed7f1d6d2770ca1afc",
    "author": "github-actions[bot] <github-actions[bot]@users.noreply.github.com>",
    "committer": "github-actions[bot] <github-actions[bot]@users.noreply.github.com>",
    "message": "chore: style, document, and normalize\n",
    "time": 1790830871
  },
  "_maintainer": {
    "name": "James Hayes",
    "email": "jamesmcmahon0@gmail.com",
    "login": "moohan",
    "mastodon": "@james_mcmahon@mastodon.scot",
    "bluesky": "@strathview.uk",
    "orcid": "0000-0002-5380-2029",
    "description": "Principal Information Analyst for PHS (Public Health Scotland).",
    "uuid": 5982260
  },
  "_distro": "resolute",
  "_registered": true,
  "_dependencies": [
    {
      "package": "R",
      "version": ">= 4.1.0",
      "role": "Depends"
    },
    {
      "package": "askpass",
      "role": "Imports"
    },
    {
      "package": "cli",
      "role": "Imports"
    },
    {
      "package": "glue",
      "role": "Imports"
    },
    {
      "package": "httr2",
      "role": "Imports"
    },
    {
      "package": "rlang",
      "role": "Imports"
    },
    {
      "package": "tibble",
      "role": "Imports"
    },
    {
      "package": "covr",
      "role": "Suggests"
    },
    {
      "package": "data.table",
      "role": "Suggests"
    },
    {
      "package": "jsonlite",
      "role": "Suggests"
    },
    {
      "package": "lubridate",
      "version": ">= 0.2.1",
      "role": "Suggests"
    },
    {
      "package": "mockery",
      "role": "Suggests"
    },
    {
      "package": "spelling",
      "role": "Suggests"
    },
    {
      "package": "testthat",
      "version": ">= 3.0.0",
      "role": "Suggests"
    },
    {
      "package": "vctrs",
      "role": "Suggests"
    }
  ],
  "_owner": "moohan",
  "_selfowned": true,
  "_usedby": 0,
  "_updates": [
    {
      "week": "2025-51",
      "n": 5
    },
    {
      "week": "2025-52",
      "n": 1
    },
    {
      "week": "2026-03",
      "n": 7
    },
    {
      "week": "2026-04",
      "n": 4
    },
    {
      "week": "2026-06",
      "n": 5
    },
    {
      "week": "2026-09",
      "n": 1
    },
    {
      "week": "2026-15",
      "n": 3
    },
    {
      "week": "2026-19",
      "n": 5
    },
    {
      "week": "2026-20",
      "n": 2
    },
    {
      "week": "2026-28",
      "n": 4
    },
    {
      "week": "2026-31",
      "n": 4
    },
    {
      "week": "2026-37",
      "n": 2
    },
    {
      "week": "2026-40",
      "n": 2
    }
  ],
  "_tags": [],
  "_stars": 4,
  "_contributors": [
    {
      "user": "moohan",
      "count": 150,
      "uuid": 5982260
    },
    {
      "user": "copilot",
      "count": 3,
      "uuid": 198982749
    },
    {
      "user": "step-security-bot",
      "count": 2,
      "uuid": 89328645
    }
  ],
  "_userbio": {
    "uuid": 5982260,
    "type": "user",
    "name": "James Hayes (né McMahon)",
    "followers": 17,
    "description": "Principal Information Analyst for PHS (Public Health Scotland)."
  },
  "_downloads": {
    "count": 267,
    "source": "https://cranlogs.r-pkg.org/downloads/total/last-month/octopusR"
  },
  "_devurl": "https://github.com/moohan/octopusr",
  "_pkgdown": "https://moohan.github.io/octopusR/",
  "_searchresults": 5,
  "_rbuild": "4.6.1",
  "_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/octopusR.html",
    "extra/readme.html",
    "extra/readme.md",
    "LICENSE"
  ],
  "_homeurl": "https://github.com/moohan/octopusr",
  "_realowner": "moohan",
  "_cranurl": true,
  "_releases": [
    {
      "version": "1.0.0",
      "date": "2023-03-03"
    },
    {
      "version": "1.0.1",
      "date": "2023-06-09"
    }
  ],
  "_exports": [
    "combine_consumption",
    "get_consumption",
    "get_meter_gsp",
    "get_products",
    "set_api_key",
    "set_meter_details"
  ],
  "_help": [
    {
      "page": "combine_consumption",
      "title": "Combine import and export consumption data",
      "topics": [
        "combine_consumption"
      ]
    },
    {
      "page": "get_consumption",
      "title": "List consumption for a meter",
      "topics": [
        "get_consumption"
      ]
    },
    {
      "page": "get_meter_gsp",
      "title": "Get the GSP of a meter-point.",
      "topics": [
        "get_meter_gsp"
      ]
    },
    {
      "page": "get_products",
      "title": "Return a list of energy products",
      "topics": [
        "get_products"
      ]
    },
    {
      "page": "set_api_key",
      "title": "Set the Octopus API key",
      "topics": [
        "set_api_key"
      ]
    },
    {
      "page": "set_meter_details",
      "title": "Set meter details",
      "topics": [
        "set_meter_details"
      ]
    }
  ],
  "_readme": "https://github.com/moohan/octopusr/raw/HEAD/README.md",
  "_rundeps": [
    "askpass",
    "cli",
    "curl",
    "glue",
    "httr2",
    "lifecycle",
    "magrittr",
    "openssl",
    "pillar",
    "pkgconfig",
    "R6",
    "rlang",
    "sys",
    "tibble",
    "utf8",
    "vctrs",
    "withr"
  ],
  "_score": 4.7160033436347994,
  "_indexed": true,
  "_nocasepkg": "octopusr",
  "_universes": [
    "moohan"
  ],
  "_binaries": [
    {
      "r": "4.7.0",
      "os": "linux",
      "version": "1.0.1.9000",
      "date": "2026-10-01T06:41:15.000Z",
      "distro": "resolute",
      "commit": "2a0fda013b4b023c4d36deed7f1d6d2770ca1afc",
      "fileid": "https://r2.ropensci.org/0efa1e4dfb5222e3392c9a3f237058d85089bb045b0b96e0455284d68f83e1b3",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/moohan/actions/runs/36825321168"
    },
    {
      "r": "4.6.1",
      "os": "linux",
      "version": "1.0.1.9000",
      "date": "2026-10-01T06:41:18.000Z",
      "distro": "resolute",
      "commit": "2a0fda013b4b023c4d36deed7f1d6d2770ca1afc",
      "fileid": "https://r2.ropensci.org/713158934d857102ed91191410fe71194a8efbed87c01641805495fe34ff16a6",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/moohan/actions/runs/36825321168"
    },
    {
      "r": "4.5.3",
      "os": "mac",
      "version": "1.0.1.9000",
      "date": "2026-10-01T06:42:17.000Z",
      "commit": "2a0fda013b4b023c4d36deed7f1d6d2770ca1afc",
      "fileid": "https://r2.ropensci.org/6e984a1fcf216c5ad9ea4a781d6a49b20b208f86fdf6a00973709435e5905467",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/moohan/actions/runs/36825321168"
    },
    {
      "r": "4.6.1",
      "os": "mac",
      "version": "1.0.1.9000",
      "date": "2026-10-01T06:42:04.000Z",
      "commit": "2a0fda013b4b023c4d36deed7f1d6d2770ca1afc",
      "fileid": "https://r2.ropensci.org/eb52c34d4725c79caf3f29d6deb6b28433cda8cbac8a3c240f101fd9a788ef84",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/moohan/actions/runs/36825321168"
    },
    {
      "r": "4.6.0",
      "os": "wasm",
      "version": "1.0.1.9000",
      "date": "2026-10-01T06:41:15.000Z",
      "commit": "2a0fda013b4b023c4d36deed7f1d6d2770ca1afc",
      "fileid": "https://r2.ropensci.org/2ea0fedd67d02eeca974016ed5ea7e2f1986f77e8465c2ac745116bcd0aa70d6",
      "status": "success",
      "buildurl": "https://github.com/r-universe/moohan/actions/runs/36825321168"
    },
    {
      "r": "4.7.0",
      "os": "win",
      "version": "1.0.1.9000",
      "date": "2026-10-01T06:40:09.000Z",
      "commit": "2a0fda013b4b023c4d36deed7f1d6d2770ca1afc",
      "fileid": "https://r2.ropensci.org/dcf5599d80939971e02154c74c55229f2ae6b04efcd2a080c6cfc25984c27bc8",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/moohan/actions/runs/36825321168"
    },
    {
      "r": "4.5.3",
      "os": "win",
      "version": "1.0.1.9000",
      "date": "2026-10-01T06:40:00.000Z",
      "commit": "2a0fda013b4b023c4d36deed7f1d6d2770ca1afc",
      "fileid": "https://r2.ropensci.org/a0e513465ac909b040243e2da972b997840d74a17110f840c42639ba50fdb135",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/moohan/actions/runs/36825321168"
    },
    {
      "r": "4.6.1",
      "os": "win",
      "version": "1.0.1.9000",
      "date": "2026-10-01T06:39:58.000Z",
      "commit": "2a0fda013b4b023c4d36deed7f1d6d2770ca1afc",
      "fileid": "https://r2.ropensci.org/09ebbf9b7ed8960546abb455c37c59d2fcdc5fc83348a36a1055f1d6c26c15f0",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/moohan/actions/runs/36825321168"
    }
  ]
}