# modify php scraper using some mathematics

*** I think this job is nearly done, but just needs to modify to get accurate results

*** You bid now, you start now, until job complete.

Currently have a php scraper that crawls some racing site and adds the data into db.

One of the elements extracted is distance, which I would like to modify

This distance once rounded off will either subtract or add (based on the condition above)

Lets say we have for example a time of

Time = 0.87.5 at a distance of 830

First round up distance to nearest 10

i.e 833 = 830

Then we round off again to nearest 100.

830-800 (with a remainder of 30)

Then we will use use an algorithm below to determine how much time to

The calculation is

30 * 0.07 + 87.5

= 89.6 + handicap which is already calculated.

############# code ##########

800 -> 899 = 0.77 (10 sec)

900 -> 999 = 0.87 (10 sec)

1000 -> 1099 = 0.97 (5 sec)

1100 -> 1199 = 1.02 (7 sec)

1200 -> 1299 = 1.09 (7 sec)

1300 -> 1399 = 1.16 (7 sec)

1400 -> 1499 = 1.23 (7 sec)

1500 -> 1599 = 1.30 (7 sec)

1600 -> 1699 = 1.37 (7 sec)

1700 -> 1799 = 1.44 (7 sec)

1800 -> 1899 = 1.51 (7 sec)

1900 -> 1999 = 1.58 (7 sec)

2000 -> 2099 = 2.05 (7 sec)

2100 -> 2199 = 2.12 (7 sec)

2200 -> 2299 = 2.19 (7 sec)

2300 -> 2399 = 2.25 (7 sec)

2400 -> 2499 = 2.32 (7 sec)

2500 -> 2599 = 2.39 (7 sec)

and so on

code based on above)

#############

10/ 10 - 1 sec per 10 metres)

5 / 10 = 0.5 sec per 10 metres)

7 / 10 = 0.7 sec per 10 metres)

Beceriler: Javascript, Matematik, MySQL, PHP, Web Scraping

İşveren Hakkında:
( 186 değerlendirme ) Melbourne, Australia

Proje NO: #16919942

## Seçilen:

nekhbet

Hi, If what you described is exactly and only what you need I can do it fast. Regards Sorin

%selectedBids___i_period_sub_7% gün içinde 50%project_currencyDetails_sign_sub_9% %project_currencyDetails_code_sub_10%
(237 Değerlendirme)
6.8

## Bu iş için 2 freelancer ortalamada \$50 teklif veriyor

stevobujica91

Hello, I'm a developer with a lot of experience in web scraping. I have completed similar tasks with 5 star quality. Please contact me over chat to discuss more.

1 gün içinde %bids___i_sum_sub_32%%project_currencyDetails_sign_sub_33% USD
(23 Değerlendirme)
5.0