nodata: Check for missing data

View source: R/nodata.R

nodataR Documentation

Check for missing data

Description

The nodata function checks to see if any states or species are missing from the daily or season Harvest Survey online data.

Usage

nodata(data, ref_data = NA, species = NA, report = FALSE)

Arguments

data

Daily or season data table

ref_data

The reference data table that corresponds to the year of the data

species

Whether species should be included in the output, and if so, which species in particular:

  • NA - does not include species

  • "all" - includes all species for all states

  • A specific species group, to show all of the species group specified for all states, which may be one of:

    • "Band-tailed Pigeon", "Coots", "Ducks", "Gallinules", "Geese", "Rails", "Sandhill Crane", "Snipe", "Specially Regulated Sea Ducks", "Woodcock"

report

Is this function being used in the R markdown season report? Defaults to FALSE.

Author(s)

Abby Walter, abby_walter@fws.gov

References

https://github.com/USFWS/migbirdHS


USFWS/migbirdMBHS documentation built on Feb. 20, 2024, 4:49 a.m.