Skip to content

Commit

Permalink
quick hack for examples indirect
Browse files Browse the repository at this point in the history
  • Loading branch information
grahamstark committed Aug 31, 2023
1 parent 6bacca6 commit d346436
Showing 1 changed file with 5 additions and 3 deletions.
8 changes: 5 additions & 3 deletions src/ExampleHelpers.jl
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ using .ExampleHouseholdGetter
using .EquivalenceScales
using .Definitions
using .Utils
using .RunSettings: Settings
using .RunSettings

export

Expand Down Expand Up @@ -51,9 +51,11 @@ export SS_Examples, cpl_w_2_children_hh, single_parent_hh, single_hh, childless_
"""
"""
function get_ss_examples()::Dict{SS_Examples, Household}
function get_ss_examples( settings = Settings() )::Dict{SS_Examples, Household}
d = Dict{SS_Examples, Household}()
@time names = ExampleHouseholdGetter.initialise( Settings() )
settings = Settings()
settings.indirect_method = matching # force loading indirect tax stuff
@time names = ExampleHouseholdGetter.initialise( settings )
d[cpl_w_2_children_hh] = ExampleHouseholdGetter.get_household( "example_hh1" )
d[single_parent_hh] = ExampleHouseholdGetter.get_household( "single_parent_1" )
d[single_hh] = ExampleHouseholdGetter.get_household( "example_hh2" )
Expand Down

0 comments on commit d346436

Please sign in to comment.