PolicyEngine / microdf

Analysis tools for working with survey microdata as DataFrames.
http://pslmodels.github.io/microdf
MIT License
12 stars 10 forks source link

Replace SCF aggregate test with a fixed dataset #149

Closed MaxGhenis closed 3 years ago

MaxGhenis commented 3 years ago

The test for add_weighted_quantiles currently pulls from the Survey of Consumer Finances and checks that aggregates match a csv. This introduces unnecessary sensitivity to changes in the SCF data, as appears to have happened in a recent test run.

This might be a useful test for the scf package, but this more general package should test on immutable data.