Load the most recent IRS 990 e-filer batch index from the Data Commons
get_current_index_batch.RdDownloads the most recent "latest only" IRS 990 e-file index
published to the Giving Tuesday Data Commons and returns it as a
data.table. Unlike get_current_index_full(), this contains only the
filings that are new to the most recent batch.
Value
A data.table with one row per filing. See index for the column
definitions.
Details
Locates the newest index_latest_only_... CSV by walking backward
from today (see find_current_index_batch()), downloads it, sorts by
ReturnTs, and drops duplicate URLs (keeping the most recent). A count
of filings per TaxYear is printed as a side effect.
See also
get_current_index_full() for the complete all-years index;
find_current_index_batch() to resolve just the URL.