We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent c1a94a8 commit 9ad06ddCopy full SHA for 9ad06dd
matlabfiles/Errata_Corrige.mlx
81 Bytes
matlabfiles/capImportazioni/Sole24Ore.m
@@ -28,3 +28,19 @@
28
X1.Properties.RowNames=X1{:,1};
29
X1=X1(:,2:end);
30
31
+
32
+%% Parte non nel libro: scaricamento dati 2024
33
+!git clone https://github.com/IlSole24ORE/QDV2024.git
34
35
+%% Caricamento dataset 2024 in MATLAB
36
+nomeCartella='QDV2024';
37
+nomeFile='20241216_QDV2024_001.csv';
38
+X=readtable([nomeCartella filesep nomeFile]);
39
40
+%% Creazione della table contenente la matrice dei dati province x variabili
41
+Xsel=X(:,["DENOMINAZIONECORRENTE" "VALORE","INDICATORE"]);
42
+X1=unstack(Xsel,"VALORE","INDICATORE");
43
44
+% La prima colonna di X1 deve diventare i nomi delle righe
45
+X1.Properties.RowNames=X1{:,1};
46
+X1=X1(:,2:end);
0 commit comments