formats_SAS_to_R {tabxplor}R Documentation

INSEE SAS formats to R : translate code

Description

INSEE SAS formats to R : translate code

Usage

formats_SAS_to_R(
  path,
  name_in,
  name_out,
  open = TRUE,
  remove_final_f = TRUE,
  not_if_numeric = TRUE
)

Arguments

path

The path of the file to be created

name_in

The name of the unformatted database

name_out

The name of the database to be formatted.

open

Should the file be opened, or just its path printed ?

remove_final_f

Remove the final f in variables names in the sas file ?

not_if_numeric

Should the code prevent numeric variables to get recoded ?

Value

A file with R code.


[Package tabxplor version 1.1.3 Index]