*! version 1.1.0 January 22, 2024 @ 12:00:00

help euromod getdata (EUROMOD Connector v1.0.4)

euromod getdata -- Loads output data of the last simulation for Euromod (Stata Connector)

Note: euromod_getdata is a complementary command of euromod run

Syntax

euromod getdata,
outputdataset(dataset)
[replace
prefix(prefix name)]

Description

euromod getdata
This command must be used after using the euromod_run command. The command will load the output data of the last simulation that is kept into memory by the Stata plugin into the Stata DataFrame.

outputdataset(string) Filename of the EUROMOD output dataset as configured in the EUROMOD spine (or custom_output when using il_output, vars_output or info_queries).

Options

replace
This option will replace the data held before the simulation by the data resulting from the simulation. It will delete the data previously held in memory in the Stata DataFrame

prefix(string)
This prefix will be added to the variable names loaded into memory. For example, the following syntax will add all the output variables of the simulation to the Stata DataFrame with sim1_ as a prefix:

For example, the following syntax:

euromod getdata, … prefix(“sim1_”)

Information stored in the return list

local Description

outputVars A space separated list containg the output variables of the simulation.

Examples

. euromod getdata, outputdataset(sk_2022_xbase_std.txt) prefix(sim1_)

Authors

Hannes Serruys, B2-JRC Seville (Hannes.SERRUYS@ec.europa.eu)