pullErrors: Pull flagged errors

View source: R/pullErrors.R

pullErrorsR Documentation

Pull flagged errors

Description

Pull and view errors that have been flagged for a particular field. This function allows you to easily see what the proof function has determined to be unacceptable data.

Usage

pullErrors(x, field, unique = TRUE)

Arguments

x

A proofed data table created by proof

field

Field that should be pulled. One of the fields from the following list may be supplied:

  • title, firstname, middle, lastname, suffix, address, city, state, zip, birth_date, issue_date, hunt_mig_birds, ducks_bag, geese_bag, dove_bag, woodcock_bag, coots_snipe, rails_gallinules, cranes, band_tailed_pigeon, brant, seaducks, registration_yr, email

unique

If FALSE, returns all error values; if TRUE (default), only returns unique values.

Author(s)

Abby Walter, abby_walter@fws.gov

References

https://github.com/USFWS/migbirdHIP


USFWS/migbirdHarvestData documentation built on Nov. 18, 2024, 5:56 a.m.