jasmineRepo / LabourForceParticipation

A microsimulation model developed for the project "Anticipating the future trend of female labour market participation and its impact on economic growth", prepared for the European Foundation for the Improvement of Living and Working Conditions as Lot 3 of "The gender and employment gap: Challenges and Solutions", awarded to LABORatorio Revelli Centre for Employment Studies, Moncalieri, Italy.
2 stars 0 forks source link

conection and use of the input data #2

Closed Crisgo11 closed 4 years ago

Crisgo11 commented 5 years ago

Hello! could you please explain me how works the loading of the input data in the microsimulation, becasue I don't see in any part of the code where is the lecture of the input data, I just see the file input.h2, but not how is the conection of these data with any class. thanks a lot

rer98 commented 5 years ago

Hi Crisgo11,

The input.h2.db file contains a database table called 'person' that contains all the input data of the initial population. The person table is loaded in the buildObjects method of the LabourParticipationModel class on line 133 with the command:

List initialPopulation = (List) DatabaseUtils.loadTable(Person.class);

For more information on using JAS-mine, please see the documentation at http://www.jas-mine.net/home/documentation.

Best wishes,

Ross

Crisgo11 commented 5 years ago

Dear professor, thanks for the info I'm very grateful. I'm exploring all the microsimulation platform to learn how to make my own microsimulation.

best regards