{
  "_id": "6a1f2de4b401979e734268df",
  "Package": "eia",
  "Title": "API Wrapper for U.S. Energy Information Administration ('EIA')\nOpen Data",
  "Version": "0.4.2",
  "Authors@R": "c(person(\ngiven = \"Matthew\",\nfamily = \"Leonawicz\",\nrole = \"aut\",\ncomment = c(ORCID = \"0000-0001-9452-2771\")\n),\nperson(\ngiven = \"Matthew\",\nfamily = \"Hoff\",\nrole = c(\"aut\", \"cre\"),\nemail = \"matthew.g.hoff@gmail.com\"\n)\n)",
  "Description": "Provides API access to data from the U.S. Energy\nInformation Administration ('EIA') <https://www.eia.gov/>. Use\nof the EIA's API and this package requires a free API key\nobtainable at <https://www.eia.gov/opendata/register.php>. This\npackage includes functions for searching the EIA data directory\nand returning time series and geoset time series datasets.\nDatasets returned by these functions are provided by default in\na tidy format, or alternatively, in more raw formats. It also\noffers helper functions for working with EIA date strings and\ntime formats and for inspecting different summaries of series\nmetadata. The package also provides control over API key\nstorage and caching of API request results.",
  "License": "MIT + file LICENSE",
  "URL": "https://docs.ropensci.org/eia/, https://github.com/ropensci/eia",
  "BugReports": "https://github.com/ropensci/eia/issues",
  "VignetteBuilder": "knitr",
  "Config/testthat/edition": "3",
  "Encoding": "UTF-8",
  "Language": "en-US",
  "Roxygen": "list(markdown = TRUE)",
  "RoxygenNote": "7.3.1",
  "Config/pak/sysreqs": "libssl-dev",
  "Repository": "https://ropensci.r-universe.dev",
  "Date/Publication": "2024-07-19 21:54:03 UTC",
  "RemoteUrl": "https://github.com/ropensci/eia",
  "RemoteRef": "master",
  "RemoteSha": "3c98e83381695f47fcbf2c7afc678d9372570660",
  "NeedsCompilation": "no",
  "Packaged": {
    "Date": "2026-05-15 09:36:44 UTC",
    "User": "root"
  },
  "Author": "Matthew Leonawicz [aut] (ORCID:\n<https://orcid.org/0000-0001-9452-2771>),\nMatthew Hoff [aut, cre]",
  "Maintainer": "Matthew Hoff <matthew.g.hoff@gmail.com>",
  "MD5sum": "c3ab3f5957ad3a41315cd290325d718b",
  "_user": "ropensci",
  "_type": "src",
  "_file": "eia_0.4.2.tar.gz",
  "_fileid": "aca138645508e34ffdae96d0d963892fd2549b3ea955a46a16c117257a8b062f",
  "_filesize": 237524,
  "_sha256": "aca138645508e34ffdae96d0d963892fd2549b3ea955a46a16c117257a8b062f",
  "_created": "2026-05-15T09:36:44.000Z",
  "_published": "2026-06-02T19:24:20.643Z",
  "_distro": "noble",
  "_jobs": [
    {
      "job": 79153825809,
      "time": 136,
      "config": "linux-devel-x86_64",
      "r": "4.7.0",
      "check": "OK",
      "artifact": "7014240830"
    },
    {
      "job": 79153825542,
      "time": 145,
      "config": "linux-release-x86_64",
      "r": "4.6.0",
      "check": "OK",
      "artifact": "7014242991"
    },
    {
      "job": 79153825753,
      "time": 115,
      "config": "macos-oldrel-arm64",
      "r": "4.5.3",
      "check": "OK",
      "artifact": "7014234664"
    },
    {
      "job": 79153825490,
      "time": 92,
      "config": "macos-release-arm64",
      "r": "4.6.0",
      "check": "OK",
      "artifact": "7014228715"
    },
    {
      "job": 79153824979,
      "time": 152,
      "config": "pkgdown",
      "r": "4.6.0",
      "check": "OK",
      "artifact": "7014179852"
    },
    {
      "job": 79153825056,
      "time": 224,
      "config": "source",
      "r": "4.6.0",
      "check": "OK",
      "artifact": "7014201178"
    },
    {
      "job": 79153824837,
      "time": 99,
      "config": "wasm-release",
      "r": "4.6.0",
      "check": "OK",
      "artifact": "7367664627"
    },
    {
      "job": 79153825296,
      "time": 101,
      "config": "windows-devel",
      "r": "4.7.0",
      "check": "OK",
      "artifact": "7014231203"
    },
    {
      "job": 79153825642,
      "time": 116,
      "config": "windows-oldrel",
      "r": "4.5.3",
      "check": "OK",
      "artifact": "7014235374"
    },
    {
      "job": 79153825857,
      "time": 87,
      "config": "windows-release",
      "r": "4.6.0",
      "check": "OK",
      "artifact": "7014227102"
    }
  ],
  "_buildurl": "https://github.com/r-universe/ropensci/actions/runs/25910797255",
  "_status": "success",
  "_host": "GitHub-Actions",
  "_upstream": "https://github.com/ropensci/eia",
  "_commit": {
    "id": "3c98e83381695f47fcbf2c7afc678d9372570660",
    "author": "Matt Hoff <matthew.g.hoff@gmail.com>",
    "committer": "GitHub <noreply@github.com>",
    "message": "Merge pull request #24 from ropensci/maelle-patch-2\n\ndocs: fix pkgdown navbar config",
    "time": 1721426043
  },
  "_maintainer": {
    "name": "Matthew Hoff",
    "email": "matthew.g.hoff@gmail.com",
    "login": "mghoff",
    "uuid": 15792640
  },
  "_registered": true,
  "_dependencies": [
    {
      "package": "R",
      "version": ">= 4.1.0",
      "role": "Depends"
    },
    {
      "package": "tibble",
      "role": "Imports"
    },
    {
      "package": "httr",
      "role": "Imports"
    },
    {
      "package": "jsonlite",
      "role": "Imports"
    },
    {
      "package": "memoise",
      "role": "Imports"
    },
    {
      "package": "lubridate",
      "role": "Imports"
    },
    {
      "package": "testthat",
      "version": ">= 3.0.0",
      "role": "Suggests"
    },
    {
      "package": "knitr",
      "role": "Suggests"
    },
    {
      "package": "covr",
      "role": "Suggests"
    },
    {
      "package": "rmarkdown",
      "role": "Suggests"
    },
    {
      "package": "dplyr",
      "role": "Suggests"
    },
    {
      "package": "tidyr",
      "role": "Suggests"
    },
    {
      "package": "ggplot2",
      "role": "Suggests"
    },
    {
      "package": "spelling",
      "role": "Suggests"
    }
  ],
  "_owner": "ropensci",
  "_selfowned": true,
  "_usedby": 0,
  "_updates": [],
  "_tags": [],
  "_topics": [
    "eia",
    "eia-api",
    "energy-data",
    "energy-information-administration",
    "open-data"
  ],
  "_stars": 51,
  "_contributors": [
    {
      "user": "mghoff",
      "count": 165,
      "uuid": 15792640
    },
    {
      "user": "maelle",
      "count": 2,
      "uuid": 8360597
    },
    {
      "user": "daranzolin",
      "count": 1,
      "uuid": 9537384
    },
    {
      "user": "jameslamb",
      "count": 1,
      "uuid": 7608904
    }
  ],
  "_userbio": {
    "uuid": 1200269,
    "type": "organization",
    "name": "rOpenSci",
    "description": "Tools and R Packages for Open Science"
  },
  "_downloads": {
    "count": 386,
    "source": "https://cranlogs.r-pkg.org/downloads/total/last-month/eia"
  },
  "_devurl": "https://github.com/ropensci/eia",
  "_pkgdown": "https://docs.ropensci.org/eia/",
  "_searchresults": 41,
  "_metadata": {
    "review": {
      "id": 342,
      "status": "reviewed",
      "version": "0.3.3",
      "organization": "rOpenSci Software Review",
      "url": "https://github.com/ropensci/software-review/issues/342"
    },
    "ropensci_category": "data-access"
  },
  "_rbuild": "4.6.0",
  "_assets": [
    "extra/citation.cff",
    "extra/citation.html",
    "extra/citation.json",
    "extra/citation.txt",
    "extra/contents.json",
    "extra/eia.html",
    "extra/NEWS.html",
    "extra/NEWS.txt",
    "extra/readme.html",
    "extra/readme.md",
    "manual.pdf"
  ],
  "_homeurl": "https://github.com/ropensci/eia",
  "_realowner": "ropensci",
  "_cranurl": true,
  "_releases": [
    {
      "version": "0.3.2",
      "date": "2019-07-25"
    },
    {
      "version": "0.3.3",
      "date": "2019-09-16"
    },
    {
      "version": "0.3.4",
      "date": "2019-11-27"
    },
    {
      "version": "0.3.6",
      "date": "2020-05-08"
    },
    {
      "version": "0.3.7",
      "date": "2021-02-21"
    },
    {
      "version": "0.4.0",
      "date": "2023-10-31"
    },
    {
      "version": "0.4.1",
      "date": "2023-11-17"
    },
    {
      "version": "0.4.2",
      "date": "2024-04-15"
    }
  ],
  "_exports": [
    "date_to_eiadate",
    "eia_clear_cache",
    "eia_clear_data",
    "eia_clear_dir",
    "eia_clear_facets",
    "eia_clear_metadata",
    "eia_data",
    "eia_dir",
    "eia_facets",
    "eia_get_key",
    "eia_metadata",
    "eia_set_key",
    "eiadate_to_date",
    "eiadate_to_date_seq"
  ],
  "_help": [
    {
      "page": "eia",
      "title": "eia: EIA API wrapper",
      "topics": [
        "eia-package",
        "eia"
      ]
    },
    {
      "page": "eia_clear_cache",
      "title": "Clear API results cache",
      "topics": [
        "eia_clear_cache",
        "eia_clear_data",
        "eia_clear_dir",
        "eia_clear_facets",
        "eia_clear_metadata"
      ]
    },
    {
      "page": "eia_data",
      "title": "EIA data",
      "topics": [
        "eia_data"
      ]
    },
    {
      "page": "eia_dir",
      "title": "EIA directory",
      "topics": [
        "eia_dir"
      ]
    },
    {
      "page": "eia_facets",
      "title": "EIA facets",
      "topics": [
        "eia_facets"
      ]
    },
    {
      "page": "eia_key",
      "title": "Set and get API key",
      "topics": [
        "eia_get_key",
        "eia_key",
        "eia_set_key"
      ]
    },
    {
      "page": "eia_metadata",
      "title": "EIA metadata",
      "topics": [
        "eia_metadata"
      ]
    },
    {
      "page": "eiadate",
      "title": "EIA date parsing",
      "topics": [
        "date_to_eiadate",
        "eiadate",
        "eiadate_to_date",
        "eiadate_to_date_seq"
      ]
    }
  ],
  "_pkglogo": "https://github.com/ropensci/eia/raw/master/man/figures/logo.png",
  "_readme": "https://github.com/ropensci/eia/raw/master/README.md",
  "_rundeps": [
    "askpass",
    "cachem",
    "cli",
    "cpp11",
    "curl",
    "fastmap",
    "generics",
    "glue",
    "httr",
    "jsonlite",
    "lifecycle",
    "lubridate",
    "magrittr",
    "memoise",
    "mime",
    "openssl",
    "pillar",
    "pkgconfig",
    "R6",
    "rlang",
    "sys",
    "tibble",
    "timechange",
    "utf8",
    "vctrs"
  ],
  "_vignettes": [
    {
      "source": "api.Rmd",
      "filename": "api.html",
      "title": "API details",
      "engine": "knitr::rmarkdown",
      "headings": [
        "API key",
        "Register a key with EIA",
        "Key storage and retrieval",
        "API requests",
        "Memoization",
        "Anti-DOS measures"
      ],
      "created": "2019-07-01 22:58:40",
      "modified": "2023-10-31 15:11:39",
      "commits": 14
    },
    {
      "source": "eia.Rmd",
      "filename": "eia.html",
      "title": "Package overview",
      "engine": "knitr::rmarkdown",
      "headings": [
        "API key",
        "Register a key with EIA",
        "Key storage and retrieval",
        "EIA directory",
        "Note on output format",
        "EIA metadata",
        "EIA data",
        "Data structure",
        "Data values",
        "EIA facets",
        "Getting facet values",
        "Using facet values",
        "Frequency-, time-subsetting, and sorting"
      ],
      "created": "2019-06-26 19:09:58",
      "modified": "2023-10-31 15:11:39",
      "commits": 22
    }
  ],
  "_score": 6.797475287537335,
  "_indexed": true,
  "_nocasepkg": "eia",
  "_universes": [
    "ropensci",
    "mghoff"
  ],
  "_binaries": [
    {
      "r": "4.7.0",
      "os": "linux",
      "version": "0.4.2",
      "date": "2026-05-15T09:38:59.000Z",
      "distro": "noble",
      "commit": "3c98e83381695f47fcbf2c7afc678d9372570660",
      "fileid": "8acce56de0dfa13a87035b9ebf1bcc5ac828009f89f179e07e3e8ac6c3c760b7",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/ropensci/actions/runs/25910797255"
    },
    {
      "r": "4.6.0",
      "os": "linux",
      "version": "0.4.2",
      "date": "2026-05-15T09:39:11.000Z",
      "distro": "noble",
      "commit": "3c98e83381695f47fcbf2c7afc678d9372570660",
      "fileid": "79577c2118425213a165ab6fa888ee1b8a014cb02c15cc4cf0c41161d5e7a1bc",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/ropensci/actions/runs/25910797255"
    },
    {
      "r": "4.5.3",
      "os": "mac",
      "version": "0.4.2",
      "date": "2026-05-15T09:38:38.000Z",
      "commit": "3c98e83381695f47fcbf2c7afc678d9372570660",
      "fileid": "20ad9e8b9dab441d79505ea04ff619e4d21a7d4b8b316018cca6c489c5b806c5",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/ropensci/actions/runs/25910797255"
    },
    {
      "r": "4.6.0",
      "os": "mac",
      "version": "0.4.2",
      "date": "2026-05-15T09:38:20.000Z",
      "commit": "3c98e83381695f47fcbf2c7afc678d9372570660",
      "fileid": "80360b944706af078bc1619f10458b43a19507d2682f61c9b34ddda57d49a654",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/ropensci/actions/runs/25910797255"
    },
    {
      "r": "4.7.0",
      "os": "win",
      "version": "0.4.2",
      "date": "2026-05-15T09:38:21.000Z",
      "commit": "3c98e83381695f47fcbf2c7afc678d9372570660",
      "fileid": "81e3e255d4e9061d5624f93f3a05d9703d2e6923f585651783c5836b126355cd",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/ropensci/actions/runs/25910797255"
    },
    {
      "r": "4.5.3",
      "os": "win",
      "version": "0.4.2",
      "date": "2026-05-15T09:38:38.000Z",
      "commit": "3c98e83381695f47fcbf2c7afc678d9372570660",
      "fileid": "4571806eee566a19570b010a3f86cbdd171b14025a37fe2c1c3934dec32924ad",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/ropensci/actions/runs/25910797255"
    },
    {
      "r": "4.6.0",
      "os": "win",
      "version": "0.4.2",
      "date": "2026-05-15T09:38:05.000Z",
      "commit": "3c98e83381695f47fcbf2c7afc678d9372570660",
      "fileid": "78fe07c314fa25074f04c6fb49ef10dca8bd095830ab907f2adb0b876e4492a5",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/ropensci/actions/runs/25910797255"
    },
    {
      "r": "4.6.0",
      "os": "wasm",
      "version": "0.4.2",
      "date": "2026-06-02T19:23:57.000Z",
      "commit": "3c98e83381695f47fcbf2c7afc678d9372570660",
      "fileid": "0c5ad37ef4436ebde7eeff2296d438beae66ea87ac08b7a99ca6aeeac49fc7b0",
      "status": "success",
      "buildurl": "https://github.com/r-universe/ropensci/actions/runs/25910797255"
    }
  ]
}