Displaying 2 results from an estimated 2 matches for "nonderivativetransaction".
2013 Jan 29
2
converting XML document to table or dataframe
...dataframe.
What is a "good" way to convert the XML document to a 2-dimensional table
or data.frame? Ideally, I'd like a table with 1 row for each XML document,
and unique fieldnames. If fieldnames repeat, I'd like the names to be
numbered sequentially
e.g.
$nonDerivativeTable$nonDerivativeTransaction$transactionAmounts$transactionPricePerShare$value_1
$nonDerivativeTable$nonDerivativeTransaction$transactionAmounts$transactionPricePerShare$value_2
$nonDerivativeTable$nonDerivativeTransaction$transactionAmounts$transactionPricePerShare$value_3
etc
myxml = xmlParse("
http://www.sec.gov/A...
2008 Jun 25
0
Memory allocation failed: Copying Node
...Helper("issuerName"),
tic=xValHelper("issuerTradingSymbol")),
error = function(err) unProcessedFiles(filein)
)
if(is.null(owner)) next
nodes <- getNodeSet(xml, "//nonDerivativeTransaction")
if(xmlSize(nodes) > 0){
processed <- tryCatch( processTransaction(owner, nodes,
outputFile),
error = function(err)
unProcessedFiles(filein) )
if(is.null(pro...