{
  "_id": "6a102f5eacfb0bcc41c94e17",
  "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.0.0",
  "Config/testthat/edition": "3",
  "Config/testthat/parallel": "true",
  "Config/testthat/start-first": "get_consumption",
  "Encoding": "UTF-8",
  "Language": "en-GB",
  "RoxygenNote": "7.3.1",
  "Config/pak/sysreqs": "libssl-dev",
  "Repository": "https://moohan.r-universe.dev",
  "Date/Publication": "2026-05-12 10:22:57 UTC",
  "RemoteUrl": "https://github.com/moohan/octopusr",
  "RemoteRef": "HEAD",
  "RemoteSha": "e547df62a09b8bdef789e93ccc444bf4538760c3",
  "NeedsCompilation": "no",
  "Packaged": {
    "Date": "2026-05-12 11:26:07 UTC",
    "User": "root"
  },
  "Author": "James Hayes [aut, cre] (ORCID: <https://orcid.org/0000-0002-5380-2029>)",
  "Maintainer": "James Hayes <jamesmcmahon0@gmail.com>",
  "MD5sum": "7789d148ad58e495838d873228dd8e4e",
  "_user": "moohan",
  "_type": "src",
  "_file": "octopusR_1.0.1.9000.tar.gz",
  "_fileid": "4a46348176bab4648ae525a4e825ca461f365d1277678c6d5e69601bdca6c5aa",
  "_filesize": 107663,
  "_sha256": "4a46348176bab4648ae525a4e825ca461f365d1277678c6d5e69601bdca6c5aa",
  "_created": "2026-05-12T11:26:07.000Z",
  "_published": "2026-05-22T10:26:38.976Z",
  "_distro": "noble",
  "_jobs": [
    {
      "job": 77361493006,
      "time": 127,
      "config": "linux-devel-x86_64",
      "r": "4.7.0",
      "check": "OK",
      "artifact": "6942866496"
    },
    {
      "job": 77361493193,
      "time": 162,
      "config": "linux-release-x86_64",
      "r": "4.6.0",
      "check": "OK",
      "artifact": "6942884771"
    },
    {
      "job": 77361493145,
      "time": 89,
      "config": "macos-oldrel-arm64",
      "r": "4.5.3",
      "check": "OK",
      "artifact": "6942853262"
    },
    {
      "job": 77361492988,
      "time": 91,
      "config": "macos-release-arm64",
      "r": "4.6.0",
      "check": "OK",
      "artifact": "6942854115"
    },
    {
      "job": 77361492187,
      "time": 171,
      "config": "source",
      "r": "4.6.0",
      "check": "OK",
      "artifact": "6942823021"
    },
    {
      "job": 77361492421,
      "time": 106,
      "config": "wasm-release",
      "r": "4.6.0",
      "check": "OK",
      "artifact": "7158314744"
    },
    {
      "job": 77361492935,
      "time": 75,
      "config": "windows-devel",
      "r": "4.7.0",
      "check": "OK",
      "artifact": "6942849104"
    },
    {
      "job": 77361493307,
      "time": 82,
      "config": "windows-oldrel",
      "r": "4.5.3",
      "check": "OK",
      "artifact": "6942851071"
    },
    {
      "job": 77361493011,
      "time": 78,
      "config": "windows-release",
      "r": "4.6.0",
      "check": "OK",
      "artifact": "6942849945"
    }
  ],
  "_buildurl": "https://github.com/r-universe/moohan/actions/runs/25731244742",
  "_status": "success",
  "_host": "GitHub-Actions",
  "_upstream": "https://github.com/moohan/octopusr",
  "_commit": {
    "id": "e547df62a09b8bdef789e93ccc444bf4538760c3",
    "author": "James Hayes (né McMahon) <jamesmcmahon0@gmail.com>",
    "committer": "GitHub <noreply@github.com>",
    "message": "Enhance CI workflow with R container and dependencies (#211)\n\n* Enhance CI workflow with R container and dependencies\n\nAdded a container for R environment and updated package installation steps.\n\n* Remove setup R step from GitHub Actions workflow\n\nRemoved custom R environment setup step from workflow.\n\n* Refactor GitHub Actions workflow for R project\n\nUpdated GitHub Actions workflow to use specific versions of actions and added new steps for R environment setup.\n\n* Delete .github/actions/setup-r-env/action.yml",
    "time": 1778581377
  },
  "_maintainer": {
    "name": "James Hayes",
    "email": "jamesmcmahon0@gmail.com",
    "login": "moohan",
    "mastodon": "@james_mcmahon@mastodon.scot",
    "bluesky": "@strathview.uk",
    "orcid": "0000-0002-5380-2029",
    "uuid": 5982260
  },
  "_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-23",
      "n": 1
    },
    {
      "week": "2025-27",
      "n": 1
    },
    {
      "week": "2025-30",
      "n": 1
    },
    {
      "week": "2025-31",
      "n": 2
    },
    {
      "week": "2025-36",
      "n": 4
    },
    {
      "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
    }
  ],
  "_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)",
    "description": "Principal Information Analyst for PHS (Public Health Scotland)."
  },
  "_downloads": {
    "count": 207,
    "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.0",
  "_assets": [
    "extra/citation.cff",
    "extra/citation.html",
    "extra/citation.json",
    "extra/citation.txt",
    "extra/contents.json",
    "extra/NEWS.html",
    "extra/NEWS.txt",
    "extra/octopusR.html",
    "extra/readme.html",
    "extra/readme.md",
    "manual.pdf"
  ],
  "_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",
    "rappdirs",
    "rlang",
    "sys",
    "tibble",
    "utf8",
    "vctrs",
    "withr"
  ],
  "_score": 4.748188027006201,
  "_indexed": true,
  "_nocasepkg": "octopusr",
  "_universes": [
    "moohan"
  ],
  "_binaries": [
    {
      "r": "4.7.0",
      "os": "linux",
      "version": "1.0.1.9000",
      "date": "2026-05-12T11:28:13.000Z",
      "distro": "noble",
      "commit": "e547df62a09b8bdef789e93ccc444bf4538760c3",
      "fileid": "da1350833eb07687ad087a95e1eab879321db9ab5c3e3b7c9b44cb956d0492f2",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/moohan/actions/runs/25731244742"
    },
    {
      "r": "4.6.0",
      "os": "linux",
      "version": "1.0.1.9000",
      "date": "2026-05-12T11:29:07.000Z",
      "distro": "noble",
      "commit": "e547df62a09b8bdef789e93ccc444bf4538760c3",
      "fileid": "e7cbca600fb220fb50aa926fc32299ec79aa3b2643a02aee4fa39eda596a50cb",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/moohan/actions/runs/25731244742"
    },
    {
      "r": "4.5.3",
      "os": "mac",
      "version": "1.0.1.9000",
      "date": "2026-05-12T11:27:39.000Z",
      "commit": "e547df62a09b8bdef789e93ccc444bf4538760c3",
      "fileid": "d8137d495f087b283f574cefb110d1ab0a5cec4e93df2197599c05f03f515917",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/moohan/actions/runs/25731244742"
    },
    {
      "r": "4.6.0",
      "os": "mac",
      "version": "1.0.1.9000",
      "date": "2026-05-12T11:27:39.000Z",
      "commit": "e547df62a09b8bdef789e93ccc444bf4538760c3",
      "fileid": "41583a510ff7e0df55c43c81fd4d37336dc20661990b21f41f9cfd43160f727a",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/moohan/actions/runs/25731244742"
    },
    {
      "r": "4.7.0",
      "os": "win",
      "version": "1.0.1.9000",
      "date": "2026-05-12T11:27:18.000Z",
      "commit": "e547df62a09b8bdef789e93ccc444bf4538760c3",
      "fileid": "b75cc5c4697ee0fb774f8f7a0ca22423f5ba5e196fcc546666c8685f14aba91b",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/moohan/actions/runs/25731244742"
    },
    {
      "r": "4.5.3",
      "os": "win",
      "version": "1.0.1.9000",
      "date": "2026-05-12T11:27:24.000Z",
      "commit": "e547df62a09b8bdef789e93ccc444bf4538760c3",
      "fileid": "356cbbad6a01556855d981acc5ddb31e35559c9b232e664c334d804bc8844616",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/moohan/actions/runs/25731244742"
    },
    {
      "r": "4.6.0",
      "os": "win",
      "version": "1.0.1.9000",
      "date": "2026-05-12T11:27:22.000Z",
      "commit": "e547df62a09b8bdef789e93ccc444bf4538760c3",
      "fileid": "7923fee15415839e2c1921ea5225d0b334d5270e0995f88c36030f2d80520f5a",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/moohan/actions/runs/25731244742"
    },
    {
      "r": "4.6.0",
      "os": "wasm",
      "version": "1.0.1.9000",
      "date": "2026-05-22T10:26:24.000Z",
      "commit": "e547df62a09b8bdef789e93ccc444bf4538760c3",
      "fileid": "919547f8406075b1c90c8d137465e3b9ed8311f971d2429aaf82a7dd30998520",
      "status": "success",
      "buildurl": "https://github.com/r-universe/moohan/actions/runs/25731244742"
    }
  ]
}