• 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

修订版1535d26a7cf11578a8d4594a638a6acca449d685 (tree)
时间2022-04-06 19:47:51
作者Lorenzo Isella <lorenzo.isella@gmai...>
CommiterLorenzo Isella

Log Message

I modified the script to handle the new version of the scoreboard.

更改概述

差异

diff -r a45835c62f8c -r 1535d26a7cf1 R-codes/table_scoreboard.R
--- a/R-codes/table_scoreboard.R Fri Apr 01 15:46:59 2022 +0200
+++ b/R-codes/table_scoreboard.R Wed Apr 06 12:47:51 2022 +0200
@@ -1,6 +1,6 @@
11 rm(list=ls())
22
3-## last saved on Time-stamp: "2021-04-15 10:21:45 lorenzo"
3+## last saved on Time-stamp: "2022-04-06 12:34:57 lorenzo"
44
55
66 library(tidyverse)
@@ -46,6 +46,12 @@
4646 df_ini <- readRDS("scoreboard.RDS")
4747
4848 df <- df_ini %>%
49+ rename("year"="expenditure_year",
50+ "amount_spent_aid_element_in_eur_million" ="aid_element_eur",
51+ "case_no"="case_number",
52+ "procedure_name"="case_type",
53+ "all_objective_names_gber_only"= "all_gber_obj",
54+ "aid_instrument_name"="aid_instrument") %>%
4955 filter(year==max(year)) %>%
5056 select(scoreboard_objective,case_no,
5157 amount_spent_aid_element_in_eur_million,