Import 990 data and compute governance scores in one call
Source:R/get-data.R
get_governance_scores.RdConvenience wrapper that chains get_governance_data,
get_features, and get_scores.
Usage
get_governance_scores(
years,
eins = NULL,
source = NULL,
cache = c("temporary", "retain"),
path = "efdata",
verbose = FALSE,
...
)Arguments
- years
Integer vector of tax years to import.
- eins
Optional character vector of formatted EINs (
EIN2, e.g."EIN-43-2031361") to restrict the download to given organizations.- source
A
panel990::data_source()configuration. Defaults to the NCCS efile v2.1 archive. Pointrootat a local directory to read already-downloaded tables.- cache
Passed to
panel990::panelize():"temporary"(default) uses a session temp directory;"retain"keeps a durable cache inpath.- path
Cache directory used when
cache = "retain".- verbose
Print panel990 progress messages.
- ...
Additional arguments passed to
get_scores(for examplemissingorimpute).
Value
The scored data frame returned by get_scores.