1001 Freelance Projects
Latest Projects from Freelance Marketplaces
Today is: 15-May-2026 13:25 GMT
View Project
View this project in detail (Note: you will be redirected to external marketplace)
Project title: Programmer specification: ATR sectional extraction
Posted by: External project from PeoplePerHour
Started: 06-Apr-2026 15:18 GMT
Description: Build a script that reads horse names from sechorse.csv and creates an output file called sectional.csv containing ATR sectional times for each horse.

1. Input file

The input file is sechorse.csv.

Based on the sample provided, it should be treated as a simple horse list, one horse per row, for example:

Horse
PRINCE ALI
RIVER WHARFE
KING OF SPEED
COLOANE
LESSAY

If there is no header row in the real file, the script should still accept it and treat each line as a horse name.

2. Output file

The output file must be called sectional.csv.

It must contain this exact header:

Datec,Course,Time,Horse,f1_finish,f2_f1,f3_f2,f4_f3,f5_f4,f6_f5,f7_f6,f8_f7,f9_f8,f10_f9,f11_f10,f12_f11,f13_f12,f14_f13,f15_f14,f16_f15,f17_f16,f18_f17,f19_f18,f20_f19,f21_f20,f22_f21,Total
3. What the script must do

For each horse in sechorse.csv:

Search ATR for the horse.
Find all races for that horse where ATR sectional times are available.
For each qualifying race, extract:
race date
course
off time
horse name
the horse’s sectional splits
the horse’s total race time
Write one row per horse per race into sectional.csv.

So if one horse has 5 ATR races with sectional data, there should be 5 rows in the output.

4. ATR logic

The important point is that the user may only supply the horse name, not the race date or time.

The script therefore needs to work backwards:

locate the correct ATR horse profile or form page
inspect the horse’s runs
identify which runs have sectional data available
open the corresponding ATR sectional page for that run
extract the sectional times for that horse
5. Mapping the sectionals to the output columns

ATR displays sectionals in running order from the start of the race to the finish.

The output file must store them in reverse order, so that:

f1_finish = final sectional, last split into the finish
f2_f1 = the split immediately before that
f3_f2 = the split before that
and so on

Example:

If ATR shows 12 sectionals in this order:

18.41, 13.20, 13.42, 13.29, 13.40, 13.79, 13.77, 13.22, 12.82, 12.48, 12.05, 12.29

then the output row must store them as:

f1_finish = 12.29
f2_f1 = 12.05
f3_f2 = 12.48
f4_f3 = 12.82
f5_f4 = 13.22
f6_f5 = 13.77
f7_f6 = 13.79
f8_f7 = 13.40
f9_f8 = 13.29
f10_f9 = 13.42
f11_f10 = 13.20
f12_f11 = 18.41

Unused fields from f13_f12 onwards must be left blank.

6. Total time format

ATR total time may appear in a format like:

2m 42.15s

This must be converted into seconds as a decimal for the Total field:

162.15

Examples:

1m 12.34s → 72.34
2m 42.15s → 162.15
7. Output row example

Example output row:

16/03/2026,Wolverhampton,17:30,MAGICIAN OF RIGA,12.29,12.05,12.48,12.82,13.22,13.77,13.79,13.40,13.29,13.42,13.20,18.41,,,,,,,,,,,162.15
8. Matching and naming rules

The script should:

preserve the horse name as found in the input, or standardise consistently to ATR naming
cope with apostrophes and spaces in names
cope with multiple races for the same horse
avoid duplicate rows for the same horse/race
only output races where sectional data is actually available
9. Missing data rules

If a horse has no ATR sectional races:

do not write a blank row to sectional.csv
optionally log the horse name to a separate log file such as no_sectionals.txt

If a race exists but the sectional times cannot be extracted cleanly:

skip that row
log the failure with horse name, course, date, and reason
10. Recommended workflow

A sensible implementation would be:

Read all horse names from sechorse.csv
For each horse:
search ATR horse profile
collect all race links with sectional availability
extract sectional values for that horse
reverse-map them into f1_finish to f22_f21
convert total time into decimal seconds
Append rows to sectional.csv
11. Validation rules

Before writing each row, validate that:

Datec is populated
Course is populated
Time is populated
Horse is populated
at least one sectional value exists
Total is numeric in seconds
12. Final requirement

The finished deliverable is:

Input: sechorse.csv
Output: sectional.csv

The script must automatically derive the race date and race time from ATR and must not require the user to provide them.
Project ID: 3476125
Project category:
Project budget:
View this project in detail (Note: you will be redirected to external marketplace)
Last Projects / Browse Projects
  Project Started
Global Inquiry: Development of a Medical-Grade Extracorporeal Device
Category: Electrical Engineering, Electronics, Manufacturing Design, PCB Layout, Product Design
Budget: $5000 - $10000 USD
15-May-2026
13:35 GMT
Projeto de Camião de Brincar em SolidWorks
Category: AutoCAD, CAD / CAM, Mechanical Engineering, Product Design, Solidworks
Budget: €15 - €30 EUR
15-May-2026
13:28 GMT
Quotex Binary Bot -- 2
Category: Algorithm, C, Programming, C++, Python, Software Architecture
Budget: $600 - $1200 USD
15-May-2026
12:34 GMT
Looking For Nepalese Work For Simple Task
Category: Data Entry, Virtual Assistant
Budget: $30 - $250 USD
15-May-2026
10:02 GMT
Structural Sketch to DWG Conversion
Category: 2D Drafting, AutoCAD, Building Architecture, Building Design, Building Engineering, CAD / CAM, Drafting, Engineering Drawing
Budget: $250 - $750 USD
15-May-2026
10:02 GMT
Gmail-Ready HTML Signature Conversion
Category: CSS, Digital Marketing, Email Marketing, Graphic Design, HTML, HTML5, JavaScript, PSD To HTML, Web Design, Web Development
Budget: £20 - £250 GBP
15-May-2026
10:02 GMT
Premium Website Creation via Elementor
Category: Animation, Elementor, HTML, PHP, Web Design, Web Development, WordPress
Budget: ₹12500 - ₹37500 INR
15-May-2026
10:01 GMT
Freelance Rebar Detailing Specialist Needed
Category: AutoCAD, Civil Engineering, Construction Management, Drafting, Engineering Drawing, Project Management
Budget: ₹100 - ₹400 INR
15-May-2026
10:00 GMT
Modern Fast-Food Menu Design
Category: Adobe Illustrator, Photoshop, Digital Design, Graphic Design, Illustration, Logo Design, Menu Design, Typography, Visual Design
Budget: $10 - $30 AUD
15-May-2026
09:58 GMT
Startup Marketing Materials Overhaul
Category: Adobe Illustrator, Adobe InDesign, Branding, Brochure Design, Graphic Design, Illustration, Marketing, Print Design
Budget: ₹750 - ₹1250 INR
15-May-2026
09:58 GMT
Marketing Visual Designer for Web/Print
Category: Adobe Creative Cloud, Photoshop, After Effects, Animation, Banner Design, Graphic Design, Print Design, Social Media Marketing
Budget: $10 - $30 USD
15-May-2026
09:56 GMT
Freelance Trainer for Rebar CAD/ CADS RC
Category: AutoCAD, AutoCAD Advance Steel, Building Architecture, CAD / CAM, Civil Engineering, Construction, Employee Training, Project Management, Structural Engineering, Training
Budget: ₹100 - ₹400 INR
15-May-2026
09:55 GMT
Asisten Layanan & Penjadwalan
Category: Customer Service, Data Entry, Data Processing, Documentation, Excel, Microsoft Word, Time Management, Word
Budget: $15 - $25 USD
15-May-2026
09:54 GMT
Boost My Site's Authority
Category: Analytics, Content Marketing, Digital Marketing, Internet Marketing, Keyword Research, Link Building, Marketing, SEO, Website Audit
Budget: ₹1500 - ₹12500 INR
15-May-2026
09:54 GMT
Elegant Sensual Massage Poster Design
Category: Adobe Illustrator, Adobe InDesign, Photoshop, Graphic Design, Illustration, Logo Design, Poster Design, Print Design
Budget: $10 - $30 AUD
15-May-2026
09:54 GMT
Browse All Projects
Projects by Skills ...
Projects for 'android'
Projects for 'ajax'
Projects for 'asp'
Projects for 'aspnet'
Projects for 'cms'
Projects for 'cpp'
Projects for 'csharp'
Projects for 'css'
Projects for 'delphi'
Projects for 'design'
Projects for 'drupal'
Projects for 'excel'
Projects for 'facebook'
Projects for 'flash'
Projects for 'html'
Projects for 'java'
Projects for 'javascript'
Projects for 'joomla'
Projects for 'iphone'
Projects for 'mysql'
Projects for 'photoshop'
Projects for 'php'
Projects for 'python'
Projects for 'ruby'
Projects for 'seo'
Projects for 'sql'
Projects for 'sysadm'
Projects for 'translate'
Projects for 'typing'
Projects for 'twitter'
Projects for 'vbnet'
Projects for 'xml'
Projects for 'wordpress'
Projects for 'writing'
Read RSS feeds ... New!
RSS feed for 'android'
RSS feed for 'ajax'
RSS feed for 'asp'
RSS feed for 'aspnet'
RSS feed for 'cms'
RSS feed for 'cpp'
RSS feed for 'csharp'
RSS feed for 'css'
RSS feed for 'delphi'
RSS feed for 'design'
RSS feed for 'drupal'
RSS feed for 'excel'
RSS feed for 'facebook'
RSS feed for 'flash'
RSS feed for 'html'
RSS feed for 'java'
RSS feed for 'javascript'
RSS feed for 'joomla'
RSS feed for 'iphone'
RSS feed for 'mysql'
RSS feed for 'photoshop'
RSS feed for 'php'
RSS feed for 'python'
RSS feed for 'ruby'
RSS feed for 'seo'
RSS feed for 'sql'
RSS feed for 'sysadm'
RSS feed for 'translate'
RSS feed for 'typing'
RSS feed for 'twitter'
RSS feed for 'vbnet'
RSS feed for 'xml'
RSS feed for 'wordpress'
RSS feed for 'writing'
New!
Проекты на русском
(Projects in Russian)

Short URL:
1001fp.com
Mobile version:
m.1001freelanceprojects.com
Copyright © 2005-2025 1001 Freelance Projects