Man pages for USFWS/migbirdHIP
Process USFWS Migratory Bird Harvest Information Program Data in R

bagCheckCheck bag values
btpiPermitBagFixFix band-tailed pigeon permit bag values
checkFileNameDateFormatCheck HIP file name date formatting
checkFileNameStateAbbrCheck HIP file name state abbreviations
cleanClean data
correctCorrect data
correctEmailCorrect email
correctMiddleInitialCorrect middle initials
correctSuffixCorrect suffix
correctTitleCorrect title
cranePermitBagFixFix crane permit bag values
DF_TEST_MINIMiniature fake HIP data
DF_TEST_TINI_CLEANEDTiny fake HIP data, partially processed by clean()
DF_TEST_TINI_CORRECTEDTiny fake HIP data, partially processed by correct()
DF_TEST_TINI_CURRENTTiny fake HIP data, partially processed by issueCheck()
DF_TEST_TINI_DEDUPEDTiny fake HIP data, partially processed by duplicateFix()
DF_TEST_TINI_PROOFEDTiny fake HIP data, partially processed by proof()
DF_TEST_TINI_READTiny fake HIP data, as if it were read in by read_hip()
dlDateNAMessageReturn message if there is an NA in dl_date
dlStateNAMessageReturn message if there is an NA in dl_state
dropBlankFilesDrop blank files
duplicateAllOnesFlag all-one records in a group of duplicates
duplicateAllOnesGroupSizeEvaluate group sizes of all-one/not-all-one records
duplicateDecideDecide which duplicate records should be kept or dropped
duplicateFieldsFind causes of duplication
duplicateFinderFind duplicates
duplicateFixFix duplicates
duplicateIDCreate a tibble of duplicates with an ID column
duplicateNewestFind the most recent records out of a group of duplicates
duplicatePlotPlot duplicates
duplicateRecordTypeSet record type
duplicateSampleDe-duplicate by randomly sampling intermediate tibbles
errorLevelErrorsByFieldCalculate error-level errors by field
errorLevelErrorsByStateCalculate error-level errors by state
errorPlotDLPlot errors across download cycles
errorPlotFieldsPlot HIP errors by field
errorPlotStatesPlot errors by state
errorTableTable of errors
fileCheckCheck for repeat files
fileRenameRaw HIP file name correction
formatZipFormat zip codes
glyphCheckFind non-UTF-8 glyphs/characters in any field
glyphFinderFind non-UTF-8 glyphs/characters in a field
idBlankFilesIdentify blank files
ignoreHoldsIgnore hold files
ignoreLifetimeIgnore lifetime files
ignorePermitsIgnore permit files
inLinePermitDNHFixIn-line permit did-not-hunt fix
inLinePermitDNHMessageIn-line permit did-not-hunt message
issueAssignAssign decisions to records on how to process them using...
issueCheckCheck issue dates and license years
issuePlotPlot issue date errors
listFilesList files
migbirdHIP-packagemigbirdHIP: Process USFWS Migratory Bird Harvest Information...
missingEmailsMessageReturn message if all emails are missing from a file
missingPIIFilterMissing PII filter
missingPIIMessageReturn message for records with blank or NA values in...
moveSuffixesMove suffixes
naBagsMessageReturn message if any record has an NA in every bag field
namesToUppercaseNames to uppercase
nonDigitBagsMessageReturn message if any record contains a bag value that is not...
proofFlag errors
proofBadEmailsProof bad emails
pullErrorsPull flagged errors
read_hipRead in data
readMessagesReturn messages to console for common or catastrophic...
redFlagsPull bad data
shiftCheckCheck for frame shifts
shiftFinderFind frame shifts
summarizeBadBagsSummarize count and proportion of bad bag values
testRecordMessageReturn message if test record is found
write_hipModify corrected data table format and write as csv
writeReportWrite an R markdown report from template
zeroBagsMessageReturn message if any record has a "0" in every bag field
zipCheckCheck if zip codes are associated with the correct state
USFWS/migbirdHIP documentation built on June 12, 2025, 6:56 a.m.