Reputation: 677
I have spent a lot of time searching for an answer to this, but have not found anything yet.
Are there any Tableau packages for R? I would like to be able to create Tableau charts (or a tde file) as an output from my R script. It seems like you can run some basic R scripts from within Tableau, but that will not work for my case.
This is one of the few links I have found relevant to what I am looking for: R-bloggers link
Would it matter if I were trying to go from Python -> Tableau?
Upvotes: 2
Views: 298
Reputation: 493
While there are options for creating TDEs (as you've already found) and for working administration of Tableau Server, at the moment there are no open interfaces for creating Tableau workbooks from outside of Tableau proper. This is currently one of my biggest annoyances with the software.
The closest you're going to be able to get is to use the Python Tableau Document API (https://github.com/tableau/document-api-python). While that does not allow creating workbooks from scratch, it does have the most robust document editing capabilities of the various options (https://community.tableau.com/community/developers) available. The README on the Python doc API suggest that document creation may be coming. Sounds like something to watch.
Upvotes: 2