Revisión | 69e500c5d344dfc07968ff1ff9cc2cc2a3291178 (tree) |
---|---|
Tiempo | 2023-01-12 20:29:48 |
Autor | Lorenzo Isella <lorenzo.isella@gmai...> |
Commiter | Lorenzo Isella |
Small adjustements to the code.
@@ -98,11 +98,13 @@ | ||
98 | 98 | ben_type <- tibble(old=c("microîntreprindere", |
99 | 99 | "întreprindere mică", |
100 | 100 | "întreprindere mijlocie", |
101 | - "întreprindere mare"), | |
101 | + "întreprindere mare", | |
102 | + "altă categorie de întreprindere"), | |
102 | 103 | new=c("Small and medium-sized enterprises", |
103 | 104 | "Small and medium-sized enterprises", |
104 | 105 | "Small and medium-sized enterprises", |
105 | - "Only large enterprises" | |
106 | + "Only large enterprises", | |
107 | + "" | |
106 | 108 | )) |
107 | 109 | |
108 | 110 | df_temp <- df_ro_name |> |
@@ -111,7 +113,8 @@ | ||
111 | 113 | ## mutate(granted_value_extended_eur= amount_of_aid_awarded_per_sub_category_in_romanian_lei/obs_value) |> |
112 | 114 | |
113 | 115 | mutate(granted_aid_absolute_eur= amount_of_aid_awarded_per_sub_category_in_romanian_lei/obs_value) |> |
114 | - mutate(nominal_aid_absolute_eur=granted_aid_absolute_eur) |> | |
116 | + mutate(nominal_aid_absolute_eur=NA_real_ ## granted_aid_absolute_eur | |
117 | + ) |> | |
115 | 118 | |
116 | 119 | |
117 | 120 | select(-c(amount_of_aid_awarded_per_sub_category_in_romanian_lei,obs_value)) |> |