flatten_response: Flatten the "results" field from an API response to a tibble...

View source: R/request_and_response.R

flatten_responseR Documentation

Flatten the "results" field from an API response to a tibble df

Description

The general tibble flattener for EpiGraphDB endpoints

Usage

flatten_response(response, field = "results")

Arguments

response

An httr response

field

Default to the "results" field

Value

A tibble df


MRCIEU/epigraphdb-r documentation built on Aug. 29, 2022, 4:05 a.m.