• R/O
  • SSH

Commit

Tags
Keine Tags

Frequently used words (click to add to your profile)

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

Commit MetaInfo

Revisionb4ba0a4aeb64a82c3f9d78020854bbae3e03dbce (tree)
Zeit2024-09-27 18:49:19
AutorLorenzo Isella <lorenzo.isella@gmai...>
CommiterLorenzo Isella

Log Message

I no longer read the NACE categories because they are not used by the code.

Ändern Zusammenfassung

Diff

diff -r 45ed8746bb8d -r b4ba0a4aeb64 R-codes/process_spanish_new_data_sequentially.R
--- a/R-codes/process_spanish_new_data_sequentially.R Fri Sep 27 11:34:31 2024 +0200
+++ b/R-codes/process_spanish_new_data_sequentially.R Fri Sep 27 11:49:19 2024 +0200
@@ -21,27 +21,6 @@
2121 df_map <- read_csv("../input/initial//spanish-mapping.csv") |>
2222 mutate(across(where(is.character),~remove_trailing_spaces(.x)))
2323
24-
25-
26-
27-
28-nace <- read_csv("../input/initial/CATALOGO_NACE_and_NUTS.csv", locale = readr::locale(encoding = "latin1")) |>
29- clean_names() |>
30- rename("code"="codigo",
31- "description"="descripcion") |>
32- mutate(description=tolower(description)) |>
33- mutate(code=case_match(code,"D"~"35",
34- "41.2"~"41",
35- "L"~"68",
36- "P"~"85",
37- "U"~"99",
38- "O"~"84",
39- .default=code)) |>
40- distinct()
41-
42-
43-
44-
4524 mm <- read_excel("../input/initial/ES_matching.xlsx") |>
4625 clean_names() |>
4726 select(-translate) |>