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 #45: Parsing Bureau of Labor Data

joshbennett
11 - Bolide
11 - Bolide

@GeneR - FYI, the URL in the provided input gives a "HTTP/1.1 301 Moved Permanently" error. Upon checking the source (bls.gov), I was only able to find the following file:

joshbennett
11 - Bolide
11 - Bolide

Given the new input file, the beginning of my solution looks a little different due to needing to first download the xlsx as a blob and then read all data from all sheets. Additionally, the new .xlsx appears to have data for 2012-2021, as opposed to the original .txt input which contains data from 2006-2013.

 

My solution:

Spoiler
Main workflow:
joshbennett_0-1671517233952.png

Batch macro 1:

joshbennett_1-1671517259886.png

 

Batch macro 2:
joshbennett_2-1671517320131.png

 

 

gautiergodard
13 - Pulsar
Spoiler
solution 
lhalliwell
8 - Asteroid
Spoiler
Screenshot 2023-01-04 155715.jpg

NicolasSz
11 - Bolide

URL is dead :(

karlhansen
9 - Comet
Spoiler
solution_45.jpg

Data is permanently moved -- use:  https://www.bls.gov/web/empsit/compaes.xlsx

(When I compare mine to the solution, the data almost does not overlap!)

huyenntran97
7 - Meteor

My solution for Challenge 45:

The URL doesn't work

JoeChan619
8 - Asteroid

The URL doesn't work :(

alacoume
8 - Asteroid

URL is dead, so i will not do it!

danblythe_RSM
8 - Asteroid
Spoiler
Had to use a txt file to do this challenge, but still had fun!