Want to get involved? We're always looking for ideas and content for Weekly Challenges.
SUBMIT YOUR IDEALast week's solution can be found HERE!
This week's challenge was brought to us by one of our own Community members and Weekly Challenge gurus: @NicoleJohnson. Nicole devised this challenge for her user group whilst looking for a challenge that would exercise many of the commonly used tools in Alteryx. If you ever have a challenge that you would like to be featured, please DM me!
As we all know, the housing market these days is going a bit crazy... we'd like to capture some census data on the value of new privately owned housing units in various metropolitan areas to see where the top 10 markets are YTD as of end of April (data lags about 2 months behind).
Our objective for this challenge is to capture Census data from the following URL: https://www.census.gov/construction/bps/txt/t3yv201704.txt
We will then need to parse the data into the columns identified in text input #2, then sort to find the top 10 new housing markets based on value.
BONUS:
Build an app that will allow you to choose whether you want to look at value (the "v" in "t3yv" in the URL above) or units (which would look like "t3yu"), specify the through-date (year & month designated at the end of the txt file name, in the example above as "201704"), and which column you want to sort by (Total, 1 Unit, 2 Units, etc.)
Well, I'm almost there. I'm just trying to optimise the line breaks it puts in automatically. Anyone found a quick way to do that?
New start file added!
Thanks Nicole for the challenge. :)
Cheers,
Mark
I went a bit overboard with the Regex on this one...but I was determined to Parse the whole thing straight from the download tool! I need to get better at my Regex to reduce the number of tools needed.
@NicoleJohnson, this was a fun one!!!
Tried to be streamlined with my tools.
Solved w/o going down the RegEx path. I didn't attempt the bonus, but I did output into Tableau to allow you to select top 10, 25, 50 or what ever you choose for the top markets.
The beginning of the workflow was pretty much the same as the other week 78 posts. I went with data cleanse tool and identifying rows to reformat based on recurring patterns in the data that were exposed in the cleanse process. I used a path to fix the names and another path for the numerical data. I joined them back up with the headers and then sorted and filtered the top 10. I also sent the entire output into tableau and created a map with a data layer showing estimated population growth % by county 2017-2022. This may show if there is a disconnect between new construction and estimated population growth.
It wouldn't let me attach the tableau workbook. PM me if you'd like me to email you a copy. The error received was "The contents of the attachment doesn't match its file type." Not sure why that is happening?