• R/O
  • SSH

提交

标签
No Tags

Frequently used words (click to add to your profile)

javac++androidlinuxc#windowsobjective-ccocoa誰得qtpythonphprubygameguibathyscaphec計画中(planning stage)翻訳omegatframeworktwitterdomtestvb.netdirectxゲームエンジンbtronarduinopreviewer

Commit MetaInfo

修订版1abe54dd4fceedde62d1f25ca2c5a0552e148ecb (tree)
时间2022-10-13 01:49:30
作者Lorenzo Isella <lorenzo.isella@gmai...>
CommiterLorenzo Isella

Log Message

I added also here some extra variables.

更改概述

差异

diff -r 94d7e8de6ea6 -r 1abe54dd4fce R-codes/process_tam_RO.R
--- a/R-codes/process_tam_RO.R Wed Oct 12 18:42:08 2022 +0200
+++ b/R-codes/process_tam_RO.R Wed Oct 12 18:49:30 2022 +0200
@@ -138,10 +138,19 @@
138138 ## slice(6:nrow(.))
139139
140140
141+covid <- read_excel("SA-Covid19.xlsx") |>
142+ clean_names()
143+
144+
141145 df.out <- df_temp |>
142146 rename("aid_award_instrument"="aid_award_instrument_other_english") |>
143147 select(any_of(nn)) |>
144- mutate(beneficiary_country="Romania")
148+ mutate(beneficiary_country="Romania") |>
149+ mutate(nominal_value_extended_eur=nominal_aid_absolute_eur,
150+ granted_value_extended_eur=granted_aid_absolute_eur,
151+ is_covid_case=if_else(case_reference %in% covid$case_reference, "Yes", "No"))
152+
153+
145154
146155 save_excel(df.out, "romania_extra_tam.xlsx")
147156