-
Notifications
You must be signed in to change notification settings - Fork 71
Conversation
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
csv_to_read <- list.files(path = input_path, pattern = "_Input.csv") | ||
txt_to_read <- list.files(path = input_path, pattern = "_Input.txt") |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This reverts what we did in #398
Is there a reason to prefer the more fragile pattern = "_Input.csv"
over the more robust pattern = "_Input[.]csv$"
?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I believe almost everything here is related only to the "offline" version of running PACTA, and does not affect the web tool scripts, so it seems pretty safe from that perspective. I don't know or understand the reason or context for most of these changes, so I can't really judge that much.
The one thing that does concern me a bit it is the change to 0_portfolio_input_check_functions.R
on L421 that changes other_sector_list
to pacta_sectors_not_analysed
... primarily because that could be something that affects the web tool scripts via get_and_clean_fin_data()
, and I don't know anything about the purpose of that change, or if or where those objects do or do not exist.
A few additional changes that I thought of yesterday to improve a few things.