Skip to contents

If you use the stepwise workflow of eia2_request() -> eia2_req_perform(), then the next step is to extract useful data from the responses.

For data requests, eia2_resp_data() returns body data as a tibble.

For metadata requests:

  • eia2_resp_meta_routes() returns metadata on child routes as a tibble.

  • eia2_resp_meta_summary() returns a summary metadata lists.

Usage

eia2_resp_data(eia_resp)

eia2_resp_meta_routes(eia_resp)

eia2_resp_meta_summary(eia_resp)

Arguments

eia_resp

The response object.