This site uses different types of cookies, including analytics and functional cookies (its own and from other sites). To change your cookie settings or find out more, click here. If you continue browsing our website, you accept these cookies.
I'm trying to download and parse the following tables from this site: Corporate tax rates table. I've managed to understand where the data is coming from: Data source.
When I'm downloading the data, Alteryx is only returning the "Locations" and "Footnotes" tables, but nothing in between and no countries.
Could somebody help me with parsing the tables? I tried a lot, to no avail.
This is what Alteryx spits out, by the way, as you see only two tables:
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
var selectedTax = "Corporate"
<link href="css/style-GM-PRGM-009.css" rel="stylesheet" type="text/css">
<table width="100%" >
Go to Solution.
Go to Solution.
Have a look at the attached workflow as an example. This will give you some insights.
The actual data is coming from https://s3.amazonaws.com/kpmg-global/tax-rates-tool/js/taxRateTool-data.js
(found this URL by looking at the network tab in Chrome)
This provides the data in JSON format.
You can download this and then parse.
The websites use a script to render the content ie the tables are not built out using static HTML which Alteryx can download and parse. You can use a method described by @DavidM here to scrape websites with dynamically generated content.
Exactly what I was looking for, @jdunkerley79! Thanks very much :).