diff --git a/run_aggregate_loanbooks.R b/run_aggregate_loanbooks.R index 11ce4e3..1819eb5 100644 --- a/run_aggregate_loanbooks.R +++ b/run_aggregate_loanbooks.R @@ -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. diff --git a/run_pacta_in_bulk.R b/run_pacta_in_bulk.R index 7954d18..ebd1797 100644 --- a/run_pacta_in_bulk.R +++ b/run_pacta_in_bulk.R @@ -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.