Check if exists a folder containing the FAERS data and if the structure of the folder is correct.
check_faers_structure(path, faersyears = years_from_faers_html())
(chr) The path of the folder containing a subfolder (named "faers_raw_data") with FAERS data inside, sorted by year and quarter.
(chr) A vector of characters with the list of the years of FAERS data (defaults: all years available).
(lgl) TRUE (invisible) if the "faers_raw_data" exists and it is structured correctly, FALSE (invisible) otherwise.
check_faers_structure(".")
#> Warning: I can't find a folder named 'faers_raw_data'.