Page MenuHomec4science

gen_fake_data.py
No OneTemporary

File Metadata

Created
Sun, Nov 10, 03:20

gen_fake_data.py

from gen_master import *
from gen_ch import *
from gen_fi import *
from gen_fr import *
from gen_de import *
from gen_it import *
import os
homepath = os.getcwd()
CH = GenDataCH(homepath)
FI = GenDataFI(homepath)
FR = GenDataFR(homepath)
DE = GenDataDE(homepath)
IT = GenDataIT(homepath)
countries = [CH, FI, FR, DE, IT]
for c in countries:
c.load_real_data()
for c in countries:
c.run_fakeGen(250, countries)
print("CH_part_"*10)
CH.fill_schema(nb_keys=3)
for c in countries:
print()
print("{}_full_".format(c._get_country()) * 10)
c.fill_schema(nb_keys="all")

Event Timeline