-
Notifications
You must be signed in to change notification settings - Fork 2
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
The repo now includes all files, plus the matlab code, that is stored…
… on the uni sydney server. The PIOLab repo is now 1:1 what is necessary to run the lap on any IELab server.
- Loading branch information
Hanspeter85
committed
Mar 10, 2020
1 parent
7137142
commit fc6d637
Showing
40 changed files
with
524 additions
and
273 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,7 @@ | ||
[Dolphin] | ||
AdditionalInfo=3 | ||
Timestamp=2020,3,9,7,49,7 | ||
ViewMode=2 | ||
|
||
[Settings] | ||
ShowDotFiles=true |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,4 @@ | ||
[Dolphin] | ||
AdditionalInfo=3 | ||
Timestamp=2020,1,9,18,18,6 | ||
ViewMode=1 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1 @@ | ||
IE feed from R for various regions with 20 industries and 22 products |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1 @@ | ||
Ind20Pro22v1 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,49 @@ | ||
function [RegMap,IndMap,ProdMap]=Ind20Pro22v1_InitialEstimate(handles) | ||
|
||
disp('Launching initial estimate for the extended PIOT version 1'); | ||
|
||
% Write handles variables into mat-file for R to read | ||
% Working directory | ||
filename = [handles.processeddatadir,'WorkingDirectory4R.mat']; | ||
out = handles.motherALANGdir; | ||
save(filename,'out'); | ||
|
||
% Write region aggregator to file | ||
filename = [handles.processeddatadir,'RegionAggFile4R.mat']; | ||
out = handles.regionaggfile; | ||
save(filename,'out'); | ||
|
||
% Region aggregator | ||
RegMap = csvread(handles.regionagg); | ||
|
||
if size(RegMap,1) > size(RegMap,2) % check orientation of aggregator | ||
RegMap = RegMap'; | ||
end | ||
|
||
reg_proxy = ones(size(RegMap,2),1); | ||
RegMap = prorate(RegMap,'col_proxy',reg_proxy); | ||
|
||
% Product aggregator | ||
ProdMap = csvread(handles.sectoraggprod); | ||
|
||
if size(ProdMap,1) > size(ProdMap,2) % check orientation of aggregator | ||
ProdMap = ProdMap'; | ||
end | ||
|
||
prod_proxy = ones(size(ProdMap,2),1); | ||
ProdMap = prorate(ProdMap,'col_proxy',prod_proxy); | ||
|
||
% Industry aggregator | ||
IndMap = csvread(handles.sectoragg); | ||
|
||
if size(IndMap,1) > size(IndMap,2) % check orientation of aggregator | ||
IndMap = IndMap'; | ||
end | ||
|
||
ind_proxy = ones(size(IndMap,2),1); | ||
IndMap = prorate(IndMap,'col_proxy',ind_proxy); | ||
|
||
command = 'Rscript /import/emily1/isa/IELab/Roots/PIOLab/Rscripts/IEfeeds_code/Ind20Pro22v1_InitialEstimate.R'; | ||
system(command,'-echo'); | ||
|
||
end |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1 +1 @@ | ||
See \PIOLab\Rscripts\IEfeeds_code for IEfeeds_code. | ||
See \PIOLab\Rscripts\IEfeeds_code for IE feeds in R scripts. |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,11 @@ | ||
function [RegMap,IndMap,ProdMap] = datafeed_PIOLab_InitialEstimate(handles) | ||
|
||
% Master file for IE feeds | ||
|
||
if handles.nonsurvey == 1 | ||
|
||
[RegMap,IndMap,ProdMap]=Ind20Pro22v1_InitialEstimate(handles); | ||
|
||
end | ||
|
||
end |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.