as.data.frame.insensitive: Turn 'httr::headers()" objects into a data frame

Description Usage Arguments

View source: R/as-data-frame.R

Description

Turn 'httr::headers()“ objects into a data frame

Usage

1
2
3
## S3 method for class 'insensitive'
as.data.frame(x, row.names = NULL,
  optional = FALSE, tbl = TRUE, ..., stringsAsFactors = FALSE)

Arguments

x

an object returned from a call to httr::headers(). This is a list classed as insensitive which is pretty generic but this method has a pretty thin use case and shouldn't cause issues.

row.names

NULL or a character vector giving the row names for the data frame. Missing values are not allowed.

optional

ignored

tbl

if TRUE (the default) will class the output as a tibble

...

ignored

stringsAsFactors

always FALSE (unless you say otherwise)


hrbrmstr/hdrs documentation built on May 23, 2019, 4 a.m.