Free Trial

Weekly Challenges

Solve the challenge, share your solution and summit the ranks of our Community!

Also available in | Français | Português | Español | 日本語
IDEAS WANTED

Want to get involved? We're always looking for ideas and content for Weekly Challenges.

SUBMIT YOUR IDEA

Challenge #13: HTML Table Parsing

moritzsturm
7 - Meteor

Solution attached.

Laszlo_D
8 - Asteroid

image.png

KatieA
Alteryx Alumni (Retired)

Solution attached!

rmassambane
10 - Fireball
 
Trumble_dup_334
7 - Meteor

Done it, but not sure how to show Nulls as [Null] rather than <Null>. Summarize tool maybe?

wwatson
12 - Quasar

My solution

JonathanW
8 - Asteroid

JonathanW_0-1578278513269.png

RWvanLeeuwen
11 - Bolide

Again my solution.

Spoiler
13 raw.png13 result.png


I thought I had submitted my solution, but when I ran the workflows from the index (next) this one was still empty somehow
Download this workflow created by @ Hannah_Lissama, @ Alekh, and @ mceleavey.
or try this app to download your unsolved challenges. (Created by: @ LordNeilLord)

 

andypick
8 - Asteroid

solution attached

 

Spoiler
Capture.PNG
SueDonim
8 - Asteroid

I admit to have learned much from @markp201 and a similar workflow he made for parsing HTML, though it did require some adaptation.  With that in place, it was all pretty straight-forward

 

Spoiler
Process:
- Remove line breaks and white space
- Remove all tags other than \td and \tr
- Clean-up
- Split row data into rows
- Split column data into columns
- Clean-up
- Trim whitespace
- Remove pipes
- Remove non-relevant records
- Convert empty cells to null

MySolution.PNG