CommonFix: Apply "yellow light" changes to a data set

View source: R/greenlight.R

CommonFixR Documentation

Apply "yellow light" changes to a data set

Description

CommonFix is used in conjunction with GreenLight to apply "no-loss" changes to a data set

Usage

CommonFix(data, fix, area)

Arguments

data

The data frame to be fixed.

fix

The character string vector of the names of the fixes to be applied.

area

The project area designation.

Details

Commonfix will take "yellow light" issues and apply a known treatment to fix offending issues. The list of fixes includes

  • Seat - changes lower to uppercase, flips the characters (FR, FL, RL to RF, LF, LR)

  • Observer - changes lower to uppercase

  • Swan - breaks up a nest-only observation into 2 observations

  • Obs_Type - changes open 2 or open 1 SWAN to pair or single, changes SWANN to open 1

  • Species - changes incorrect or outdated species codes to current ones

Value

data frame of fixed columns

Author(s)

Charles Frost, charles_frost@fws.gov

References

https://github.com/USFWS/AKaerial


USFWS/AKaerial documentation built on April 3, 2025, 4:06 p.m.