Skip to content

Commit

Permalink
#29 update targets pipeline after be56e37
Browse files Browse the repository at this point in the history
- supply filter variables
- supply explicit NULL in yi application
  • Loading branch information
egouldo committed Jul 31, 2024
1 parent 0dfc454 commit 9da8675
Showing 1 changed file with 5 additions and 2 deletions.
7 changes: 5 additions & 2 deletions _targets.R
Original file line number Diff line number Diff line change
Expand Up @@ -81,7 +81,10 @@ list(tarchetypes::tar_file_read(name = euc_reviews,
compute_MA_inputs(estimate_type = "Zr") |>
generate_outlier_subsets() |> # TODO run before MA_inputs? diversity indices need to be recalculated!!
filter(expertise_subset != "expert" | exclusion_set != "complete-rm_outliers") |> #TODO mv into generate_outlier_subsets() so aren't created in the first place
meta_analyse_datasets()),
meta_analyse_datasets(filter_vars = rlang::exprs(exclusion_set == "complete",
expertise_subset == "All",
publishable_subset == "All",
collinearity_subset == "All"))),
targets::tar_target(updated_prediction_files,
preprocess_updated_prediction_files(list_of_new_prediction_files)),
targets::tar_target(prediction_submissions,
Expand Down Expand Up @@ -226,7 +229,7 @@ list(tarchetypes::tar_file_read(name = euc_reviews,
compute_MA_inputs() %>% #TODO lone join by "estimate_type" amongst join_by ("id_col") is suspicious!

generate_outlier_subsets() %>% #TODO swapped order with previous line, but untested
meta_analyse_datasets() #TODO requires col exclusion_set from generate_exclusion_subsets() but don't need that fun in this pipeline anymore
meta_analyse_datasets(filter_vars = NULL) #TODO requires col exclusion_set from generate_exclusion_subsets() but don't need that fun in this pipeline anymore
),
targets::tar_target( name = ManyEcoEvo_yi_viz,
command = make_viz(ManyEcoEvo_yi_results)),
Expand Down

1 comment on commit 9da8675

@egouldo
Copy link
Owner Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

#63

Please sign in to comment.