For each zip that may hold the missing filings, downloads it,
extracts only the wanted <OBJECT_ID>_public.xml files into dest, and
deletes the zip.
Usage
fetch_irs_xml(miss, dest, zips = NULL, zip_dir = tempdir(), keep_zips = FALSE)Arguments
- miss
Output of
diff_irs_gt().- dest
Local folder for the XML files.
- zips
Output of
get_irs_zip_urls(); read from the IRS page ifNULL.- zip_dir
Folder for the temporary zip downloads.
- keep_zips
Keep the downloaded zips (default
FALSE).