Skip to contents

Reverses numeric items ending in 'R' based on metadata bounds. Critically, it also updates haven::labelled attributes so that the text labels point to the new, reversed values.

Usage

formr_api_reverse(results, item_list)

Arguments

results

A data frame containing the results.

item_list

A data frame containing item metadata.