zap_formats: Remove format attributes

Description Usage Arguments See Also

View source: R/zap_formats.R

Description

To provide some mild support for round-tripping variables between Stata/SPSS and R, haven stores variable formats in an attribute: format.stata, format.spss, or format.sas. If this causes problems for your code, you can get rid of them with zap_formats.

Usage

1

Arguments

x

A vector or data frame.

See Also

Other zappers: zap_empty, zap_labels, zap_label, zap_widths


tidyverse/haven documentation built on Aug. 30, 2018, 5:14 p.m.