This function tells what FAERS datasets are not currently in the selected folder.

what_is_missing(path, faers_meta = fetch_faers_meta())

Arguments

path

(chr) The path of the folder containing a subfolder (named "faers_raw_data") with FAERS data inside, sorted by year and quarter.

faers_meta

A tibble with the metadata of of FAERS data currently online (default: all the FAERS data).

Value

A tibble reporting year, quarter and type of FAERS dataset currently missing in the selected folder (invisible).

Examples

what_is_missing(".")
#> Warning: I can't find a folder named 'faers_raw_data'.