errorTable: Table of errors

View source: R/errorTable.R

errorTableR Documentation

Table of errors

Description

Create a tibble of existing errors in the data, customizing the output with value specifications.

Usage

errorTable(x, loc = "all", field = "all")

Arguments

x

A proofed data table created by proof

loc

Which location the error data should be tabulated by. Acceptable values include:

  • One of the following abbreviations:

    • AL, AK, AZ, AR, CA, CO, CT, DE, DC, FL, GA, ID, IL, IN, IA, KS, KY, LA, ME, MD, MA, MI, MN, MS, MO, MT, NE, NV, NH, NJ, NM, NY, NC, ND, OH, OK, OR, PA, RI, SC, SD, TN, TX, UT, VT, VA, WA, WV, WI, WY

  • all - All states, provinces, and/or territories that exist in the data

  • none - Table will not include location in its output

field

Field the error data should be tabulated by. Acceptable values include:

  • If loc = "none", field must be "all". Otherwise, choose one of the following values:

    • 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

  • all - All fields in the data

  • none - Table will not include field in its output

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.