is_wide: Check if database is in 'wide' format

View source: R/check_data.R

is_wideR Documentation

Check if database is in 'wide' format

Description

Checks whether key.variable is not duplicated AND there are no separated values in coding variables and returns TRUE of FALSE.

Usage

is_wide(key_variable, columns, value_sep = ";")

Arguments

key_variable

A variable used to identify unique articles/studies.

columns

A set of columns containing coded data from within a dataframe

value_sep

A character used to separate values within the data.

Value

Logical argument, TRUE or FALSE

Examples

## Not run: 
is_wide(key_variable, columns, value_sep = ';');

## End(Not run)

softloud/sysrevdata documentation built on June 7, 2022, 1:21 p.m.