One row per (filer, tax year), because the unit of the problem is the return: a filer that writes "see attached" usually does it for the whole year, and the actionable object is the return, not the row.
Arguments
- grants
A prepared frame from
pf_prepare_grants(), carrying the rawFILEREIN,FILERNAME1,TAXYEAR,SIGOCPYAMOUNandURLcolumns.- verbose
Print a summary.
Value
A data frame, one row per non-itemizing return:
filer_ein,filer_name,taxyearwho and when
n_placeholder_rows,placeholder_amountthe un-itemized rows and their dollars
n_itemized_rows,itemized_amountwhat the same return did itemize — a return can do both
pct_dollars_hiddenshare of the return's grant dollars that are not itemized. 100% means the whole year is a single pointer row
placeholder_textthe exact wording used, which varies by filer
urlthe e-file XML for the return