Unlock a world of possibilities! Login now and discover the exclusive benefits awaiting you.
How can i open a qvd or qvw file from r-project to work on data mining?
Hello
QViewer
easyqlik.com
Hi Handry,
Here's an example:
Binary
Next, make a loop to catalog the tables in qvw to serve as a data source
For i = 0 to NoOfTables()-1
Let vTableName = chr(39) & TableName($(i)) & Chr(39);
Tables:
Load $(vTableName) as TableName
AutoGenerate 1;
Next;
For i = 0 to (NoOfRows('Tables')-1)
LET vTable = '[' & Peek('TableName', $(i), 'Tables') & ']';
LET vQVDName = Peek('TableName', $(i), 'Tables');
// Tabela interesse: [SessionTaskAuditMaster]
IF vTable = '[NomeTabelaDesejada]' THEN
Store $(vTable) into $(vQVDName).QVD;
END IF;
Drop Table $(vTable);
NEXT
Drop Table Tables;
Directory;
Sales:
LOAD Field1 AS SalesDate,
Field2 AS SalesMan,
Field3 AS SalesAmount
FROM NomeTabelaDesejada.QVD(qvd);
Works perfectly! Hope this helps!
Evandro