I am trying to download the Population Projections found on the StatsWales website via their API and having difficulty, so I am wondering if anyone has managed to do this successfully or fancied the challenge.
Ideally, I'd like to retrieve the counts with the following dimensions setup, so it is expanded by Age and Gender, for both 2019 and 2020: https://statswales.gov.wales/v/HwIo
However, I'd be grateful if I could just get the data into Alteryx first, nicely transposed and ready to work with in any format!
The API is open data and doesn't require a key. So far, I have successfully fetched the data using this link http://open.statswales.gov.wales/en-gb/dataset/popu5099 within a Download Tool. I have then used the JSON Parse to split this up but that's as far as I got. I am struggling to now to get any further so that the counts are ready for processing.
As with many APIs, you can add several parameters to the link, to filter the data as you require. Ideally, I'd like to get this setup so the counts are broken down by age and gender. The API supporting documentation can be found here:
https://statswales.gov.wales/Help/Catalogue#APIEndpointsExplained
Thanks in advance!