Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

get_facets function #8

Open
RamiKrispin opened this issue Aug 14, 2023 · 0 comments
Open

get_facets function #8

RamiKrispin opened this issue Aug 14, 2023 · 0 comments
Assignees

Comments

@RamiKrispin
Copy link
Owner

Function to pull facets' metadata:
https://api.eia.gov/v2/electricity/rto/region-sub-ba-data/facet/parent?api_key=API_KEY

{
  "response": {
    "totalFacets": 8,
    "facets": [
      {
        "id": "ISNE",
        "name": "ISO New England",
        "alias": "(ISNE) ISO New England"
      },
      {
        "id": "NYIS",
        "name": "New York Independent System Operator",
        "alias": "(NYIS) New York Independent System Operator"
      },
      {
        "id": "SWPP",
        "name": "Southwest Power Pool",
        "alias": "(SWPP) Southwest Power Pool"
      },
      {
        "id": "ERCO",
        "name": "Electric Reliability Council of Texas, Inc.",
        "alias": "(ERCO) Electric Reliability Council of Texas, Inc."
      },
      {
        "id": "MISO",
        "name": "Midcontinent Independent System Operator, Inc.",
        "alias": "(MISO) Midcontinent Independent System Operator, Inc."
      },
      {
        "id": "CISO",
        "name": "California Independent System Operator",
        "alias": "(CISO) California Independent System Operator"
      },
      {
        "id": "PNM",
        "name": "Public Service Company of New Mexico",
        "alias": "(PNM) Public Service Company of New Mexico"
      },
      {
        "id": "PJM",
        "name": "PJM Interconnection, LLC",
        "alias": "(PJM) PJM Interconnection, LLC"
      }
    ]
  },
  "request": {
    "command": "/v2/electricity/rto/region-sub-ba-data/facet/parent/",
    "params": {
      "api_key": ""
    }
  },
  "apiVersion": "2.1.4"
}
@RamiKrispin RamiKrispin added this to the CRAN Version 0.1.3 milestone Aug 14, 2023
@RamiKrispin RamiKrispin self-assigned this Aug 14, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant