태블로는 아직 공식적으로 xml에 대한 직접적인 연결은 지원하고 있지 않다
그러나 많은 공공데이터가 xml, json 형식으로 제공되고 있는 만큼 이를 태블로에서 활용하고 싶은 것 또한 현실이다
그래서 구글링한 결과 Keshia rose님께서 제공하신 json/ xml 웹 커넥터를 발견했다
https://community.tableau.com/s/question/0D54T00000C5S6mSAF/xml-web-connector
XML Web Connector
These cookies are necessary for the website to function and cannot be switched off in our systems. They are usually only set in response to actions made by you which amount to a request for services, such as setting your privacy preferences, logging in or
community.tableau.com
사용 방법
1. 태블로의 데이터 연결 페이지에서 '서버에 연결' - 웹 데이터커넥터 선택
2. https://json-xml-wdc.herokuapp.com/ url 붙여넣기
3. 원하는 xml / json url 혹은 파일 붙여넣기
4. 가져올 필드 선택 후 submit
사실 직접 해보고 이 과정을 검증하고자 하였으나, 인증키 발급을 깜빡한 관계로 해 볼 url이 없다 ㅡㅡ;
그런고로 인증키 발급 이후 다시 수정하여 해 보고자 한다
일단은 기록용,,
+ 내가 참고했던 링크들이다
https://community.tableau.com/s/question/0D54T00000C5vCn/how-to-read-data-from-xml-files-in-tableau-
How to read data from XML files in Tableau ?
These cookies are necessary for the website to function and cannot be switched off in our systems. They are usually only set in response to actions made by you which amount to a request for services, such as setting your privacy preferences, logging in or
community.tableau.com
https://www.afoodieworld.com/dale/how-to-import-xml-into-tableau-without-a-web-connector
How to Import XML into Tableau without a Web Connector
Because who knows how they work
www.afoodieworld.com
이 방법은 WDC 없이 lxml 모듈을 활용해서 파싱할 수 있는 방법인데, csv 파일에 코드를 하나하나 입력하여 파싱하는 방식이라,, 뭔가 귀찮아서 시도해보지 않았다. 위의 방법이 실패할 경우 이 방법을 쓰면 괜찮을지도
'Tableau' 카테고리의 다른 글
[Tableau] Tabpy로 감성분석 시트 만들기 (0) | 2021.08.12 |
---|---|
[vizable] 주간 대시보드 작성 : valorant dashboard 작성중 (0) | 2021.07.27 |
[vizable] 대시보드 수정(대시보드 제작 계획 및 실행) (0) | 2021.06.26 |
[vizable] 3주차 과제 - 태블로 필사 (radial line bar chart 그리기) (0) | 2021.06.05 |
[vizable] 2주차 과제: 차트 제작과 대시보드 배치 (0) | 2021.06.01 |