Learn R Programming

pipr (version 1.4.0)

parse_response: parse_response

Description

parse_response

Usage

parse_response(res, simplify)

Value

If simplify = TRUE, it returns a tibble with the requested content. If simplify = FALSE, it returns a list of class "pip_api" with information about the PIP API query

Arguments

res

A httr response

simplify

logical: If TRUE (the default) the response is returned as a tibble