Skip to content
This repository has been archived by the owner on Oct 23, 2024. It is now read-only.

Commit

Permalink
rm superfluous handling of NAs in abcd when PACTA is run
Browse files Browse the repository at this point in the history
  • Loading branch information
jacobvjk committed Feb 29, 2024
1 parent c36a5f7 commit 0716ce3
Show file tree
Hide file tree
Showing 2 changed files with 0 additions and 4 deletions.
2 changes: 0 additions & 2 deletions run_aggregate_loanbooks.R
Original file line number Diff line number Diff line change
Expand Up @@ -83,8 +83,6 @@ abcd <- readr::read_csv(
col_types = col_types_abcd,
col_select = dplyr::all_of(col_select_abcd)
)
# replace potential NA values with 0 in production
abcd["production"][is.na(abcd["production"])] <- 0

# optional: remove company-sector combinations where production in t5 = 0 when
# it was greater than 0 in t0.
Expand Down
2 changes: 0 additions & 2 deletions run_pacta_in_bulk.R
Original file line number Diff line number Diff line change
Expand Up @@ -85,8 +85,6 @@ abcd <- readr::read_csv(
col_types = col_types_abcd,
col_select = dplyr::all_of(col_select_abcd)
)
# replace potential NA values with 0 in production
abcd["production"][is.na(abcd["production"])] <- 0

# optional: remove company-sector combinations where production in t5 = 0 when
# it was greater than 0 in t0.
Expand Down

0 comments on commit 0716ce3

Please sign in to comment.