1% Generated by roxygen2: do not edit by hand 2% Please edit documentation in R/zap_formats.R 3\name{zap_formats} 4\alias{zap_formats} 5\title{Remove format attributes} 6\usage{ 7zap_formats(x) 8} 9\arguments{ 10\item{x}{A vector or data frame.} 11} 12\description{ 13To provide some mild support for round-tripping variables between Stata/SPSS 14and R, haven stores variable formats in an attribute: \code{format.stata}, 15\code{format.spss}, or \code{format.sas}. If this causes problems for your 16code, you can get rid of them with \code{zap_formats}. 17} 18\seealso{ 19Other zappers: 20\code{\link{zap_empty}()}, 21\code{\link{zap_labels}()}, 22\code{\link{zap_label}()}, 23\code{\link{zap_widths}()} 24} 25\concept{zappers} 26