Skip to contents

Create new column with the value when specified between a symbols less then < and more than > in the standard columns. For example when specified under KJONN as <2>, a new column KJONN is created with value 2.

This function is applicable for columns "GEO", "AAR", "KJONN", "ALDER", "UTDANN", "LANDSSB", all "TABS" and all "VALS".

Usage

do_mutate(dt = NULL, spec = NULL)

Arguments

dt

Input data preferrably in a data.table format but is not mandatory

spec

Specifications data as a data.frame

See also

Other mutate-column functions: get_mutate_value()