Skip to content

Commit 7140c42

Browse files
committed
Make sure issue_date is always the last col
1 parent f2b6c80 commit 7140c42

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

facebook/contingency-combine.R

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -163,6 +163,7 @@ combine_tables <- function(seen_file, input_dir, input_files, output_file) {
163163
# which is a stable sort, ties will result in the input data being used in
164164
# preference over the existing rollup data.
165165
output_df <- bind_rows(output_df, input_df) %>%
166+
relocate(issue_date, .after=last_col()) %>%
166167
arrange(issue_date) %>%
167168
group_by(across(all_of(group_names))) %>%
168169
slice_tail() %>%

0 commit comments

Comments
 (0)