count_occ: Count occurences of variables

View source: R/clean.R

count_occR Documentation

Count occurences of variables

Description

Count occurences of variables

Usage

count_occ(.tbl, id_col, col)

Arguments

.tbl

A tibble

id_col

Usually uuid... to count.

col

A column of .tbl

Details

This is solely written to mimic variables names produced by Kobo after use of janitor::clean_names(). Example : variable is a multiple choice variable and variable_choice1 is its count variable of choice 1.


gnoblet/impactR documentation built on March 20, 2023, 2:24 a.m.