read_adis: Reading ADIS data files

Description Usage Arguments Value

Description

The workhorse function of RAdis.

Usage

1
2
read_adis(datei, zuNA = c(" ", "?"), entitiesmehrfach = TRUE,
  leerloeschen = TRUE, kommentare = TRUE)

Arguments

datei

Character of length 1. Full path to the ADIS file to be read, expected in UNIX-style ('/').

zuNA

Character vector. Which characters should be interpreted as NA?

entitiesmehrfach

Logical of length 1. Should entities that are duplicated under one header be read multiple times? (Default is TRUE) If FALSE only the first is read with a warning.

leerloeschen

Logical of length 1. Should unnecessary spaces be omitted? (Default is TRUE).

kommentare

Logical of length 1. (Default is TRUE) If TRUE comment lines of the ADIS file are provided together as first element of the output, otherwise they are simply ignored.

Value

read_adis() returns a list of the headers of the ADIS file with dataframes for each entity. The item names within the entities are returned as column names in the dataframes. All item contents are returned as character vectors (columns in the dataframes).


VZoche-Golob/RAdis documentation built on May 9, 2019, 9:42 p.m.