spec_to_df: Create a dataframe from a cols specification.

Description Usage Arguments Details Value

Description

Given a cols specificaton, convert it to a dataframe.

Usage

1

Arguments

spec

A cols specification to be written as a dataframe.

Details

One use case is to write the returned dataframe as a csv in lieu of writing out a cols specification as an rds object. This is useful for cases when reading a cols specification as an rds throws an error.

The inverse operation is spec_from_df.

Value

A tibble representation of a cols specification.


curtisalexander/CRAmisc documentation built on May 14, 2019, 12:52 p.m.