@@ -4,6 +4,7 @@ module RunSettings
4
4
#
5
5
using Pkg
6
6
using Pkg. Artifacts
7
+ using LazyArtifacts
7
8
using Parameters
8
9
using Preferences
9
10
using UUIDs
@@ -45,7 +46,6 @@ module RunSettings
45
46
# DatasetType,
46
47
# actual_data,
47
48
# synthetic_data,
48
- data_dir,
49
49
get_skiplist,
50
50
51
51
get_all_uk_settings_2023,
@@ -90,7 +90,6 @@ module RunSettings
90
90
scotland_full :: Bool = true
91
91
weighted = @load_preference ( " use_weighting" , true )
92
92
auto_weight = @load_preference ( " auto_weight" , true )
93
- data_dir :: String = MODEL_DATA_DIR # DELETE
94
93
household_name = " model_households_scotland-2015-2021-w-enums-2"
95
94
people_name = " model_people_scotland-2015-2021-w-enums-2"
96
95
target_nation :: Nation = eval (Symbol (@load_preference (" target_nation" , " N_Scotland" ))) # N_Scotland
@@ -178,6 +177,7 @@ module RunSettings
178
177
settings.replacement_rate_hours = @load_preference( "replacement_rate_hours" )
179
178
end
180
179
=#
180
+
181
181
182
182
function get_data_artifact ( settings:: Settings ):: AbstractString
183
183
return if settings. data_source == FRSSource
@@ -197,6 +197,16 @@ module RunSettings
197
197
end
198
198
end
199
199
200
+ function main_datasets ( settings :: Settings ) :: NamedTuple
201
+ artd = get_data_artifact ( settings )
202
+ return (
203
+ hhlds = joinpath ( artd, " households.tab" ),
204
+ people = joinpath ( artd, " people.tab" )
205
+ )
206
+ end
207
+
208
+ #=
209
+
200
210
function data_dir( settings :: Settings ) :: String
201
211
ds = if settings.data_source == FRSSource
202
212
"actual_data"
@@ -243,6 +253,8 @@ module RunSettings
243
253
)
244
254
end
245
255
256
+ =#
257
+
246
258
"""
247
259
Hacky prebuilt settings for the Northumbria model.
248
260
"""
0 commit comments