reverse_yes_no: Reverse yes and no

Description Usage Arguments Details Value Examples

View source: R/recode.R

Description

This function reverses yes and no as species categories 5.11, 6.16 and 11.7 in data capture spreadsheet ask for change (yes or no) where as in reporting tool the same categories ask for no change (yes or no)

Usage

1
reverse_yes_no(yes_no_blank)

Arguments

yes_no

character, yes, no or NA_character_

Details

Blanks are converted to yes (no change) in the reporting tool as the reporting tool only stores two states yes or no

Value

character, yes and no are swopped around, blank converted to yes

Examples

1
reverse_yes_no(c("Yes", "No", NA))

jncc/article17 documentation built on Oct. 11, 2019, 6:15 a.m.