af_clean: Cleans the Afrobarometer dataset

Description Usage Arguments Value Examples

View source: R/af_clean.R

Description

Returns a clean version of the Afrobarometer dataset. Normally called by default by af.load()

Usage

1
af_clean(afro)

Arguments

afro

A dataframe containing Afrobarometer data

Value

A clean version of the passed in dataframe afro

Examples

1
2
3
# Returns a cleaned version of the afro dataframe loaded
# using \code{af.load}
afro %>% af.clean()

mdaku/afrobar documentation built on Nov. 4, 2019, 6:23 p.m.