I have a tableau extract.
I want to analyze the data in that tableau extract using R.
Does any one know how to load tableau extract into R?
A tableau data extract (.tde file) is a native tableau format. As far as I know you cannot read it directly without using tableau. So, you need to open it in tableau and then export the data if you want to take it out of tableau.
If you want all the data you can do something like this:
From here you can then paste into excel and save it as a .csv file which R can hit.
However, if you are happy to have the data in a .tde format you can always create R calculations in tableau. This is done by using rserver to communicated between R and tableau. See: https://www.tableau.com/sites/default/files/media/whitepaper-power-tableau-and-r.pdf
Related
I am very new to R, and what I am trying to achieve is that I have a dataset in CSV format stored in mongodb. I have already linked Rstudio and mongodb and the data is successfully imported in Rstudio. Now, I want to do some visualization of the data. I want to make some bar graphs, piecharts, heatmaps etc. But all the tutorials that I have seen they use dataframes in ggplot. How do I convert the imported data from CSV file to a dataframe? I know I might sound stupid but Im a beginner, any help would be appreciated. The dataset that im using is the 2017 CSV file from this link: https://www1.nyc.gov/site/nypd/stats/reports-analysis/stopfrisk.page
What is the structure of the "csv" you've imported from the database? You could try converting it to a data.frame using as.data.frame. If class(x) has more than one class, e.g. tibble and data.frame, a method will use the class which it is designed to use. If your object is of class e.g. tibble and data.frame, ggplot will know how to handle that.
We currently have a database that can only be accessed via a Tableau front end.
Is it possible with R (or any other means) to be able to extract the underlying data table into csv or txt? I don't really care what it ends up as so long as it is structured and can read into a data frame.
I can see from some looking around that I can use R scripting within Tableau but I cannot see a method to go the other way and pull data out of the Tableau Worksheet.
Any help appreciated!
I want to read in to R an EXCEL tab that has the following content configuration into a more Tidy data format. The next picture shows how I want the content to look like once all of the code has run. The table below just represents file that will come in daily. Each day, the numbers and the date will change, but the format will be exactly the same. So I need to learn how to automate the extraction of the pieces of this format into R from EXCEL. The end goal is to stack the daily data into a format that can be exported to Tableau.
The image above (figure 2) represents the final format I want to arrive at. I know there are several packages to read in EXCEL data into R, however I cannot figure out how I can possibly automate this tasks with readr or readxl etc... I am at least hoping some one has faced this type of problem before and can give me general directions.
Is there a way to make calls between R and Excel in order to run R quantstrat package using EOD data. Send proposed trades to an excel file (which has to be inserted manually as the broker does not have an API) and then import the trades from an excel file to R for continuous analysis? Thanks for your help
I am trying to read in data from a data visualization website (Qlik). Table access requires my username and pw. It also requires me to select a date range for the data. Is there a way I can read this kind of data into R instead of having to download the data each time into excel files and then reading them into R?
Thanks!