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!
Related
My customer has a large excel data where he has applied a complicated set of filters in Excel. I was using readxl::read_excel to read the data into R but I found it was reading in every row and ignoring the pre-filters that were set in Excel.
Is there any way to preserve the column filtering set in Excel when loading data into R?
I am new to R and have just started to use it. I am currently experimenting with the quantmod, rugarch and rmgarch packages.
In particular, I'm implementing the last package to make a multivariate portfolio analysis for the case of the european markets. In this sense, I need to download the 3-month german treasury bills, in order to use them as risk free rate. However, as far as I known, I canĀ“t download the the mentioned data serie from Yahoo, Google or FDRA databases, so I have already downloaded them from investing.com and I want to load them in R.
The fact here is, my data is different from the ones downloaded by the getsymbols () function of yahoo, because in this case I only have 2 columns, the date column and the closing price column. To sump up, the question arises here is, is there any way to load this type of data in R for rmgarch purposes??
thanks in advance
Not sure if this is the issue, but this is how you might go about getting the data from a csv file.
data <- read.csv(file="file/path/data.csv")
head(data) # Take a look at your data
# Do this if you want the data only replacing ColumnName with the proper name
data_only <- data$ColumnName
It looks like the input data for rugarch needs to be an xts vector. So, you might want to take a look at this. You might also want to take a look at ?read.csv.
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.
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