For those interested.
I added to the
git repo code to read the shufersal data. fetching the files thus far isnt possible since when i download the gz files directly with R it comes in as corrupt, but when i manually download the gz file is ok (anyone on solution?).
i downloaded an example of each type of xml file.
i also laid the ground work to put the data on maps using shp files of israel.
the main idea is that the total data for a chain is ridiculously large (csv .5gb) so i made a function mega.distance.price that uses the price of 95 gas (downloaded from the transportation ministry) and the distance from user origin point to any store within a given distance the user is willing to travel. that will be added to the price of a product basket a user can choose.
one small note: the files between chains are really not uniform, different xml layouts, mixed formats of variables within a chain. not to say anything about access to the files which is really bad. in short the chains made a mess of this good law that was passed.
yoni