Skip to content

Question about my specific example, using filters [Solved!] #40

Answered by bertrandmartel
ErandM50 asked this question in Q&A
Discussion options

You must be logged in to vote

@ErandM50 The tableau url is: https://public.tableau.com/views/PublicCovid-19MovementDataMel_A/Visitorpage. You can locate this url from the network tab of Chrome dev console. It seems it calls the base path /app/profile but then uses /views url to get the data:

from tableauscraper import TableauScraper as TS

url = "https://public.tableau.com/views/PublicCovid-19MovementDataMel_A/Visitorpage"

ts = TS()
ts.loads(url)
workbook = ts.getWorkbook()

for t in workbook.worksheets:
    print(f"worksheet name : {t.name}")  # show worksheet name
    print(t.data)  # show dataframe for this worksheet

Replies: 2 comments 2 replies

Comment options

You must be logged in to vote
2 replies
@ErandM50
Comment options

@bertrandmartel
Comment options

Answer selected by ErandM50
Comment options

You must be logged in to vote
0 replies
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants