Import data from XML

Requires “XML” library – install.packages(“XML”) library(XML) ourxmldata<-xmlParse(“some url or document”) ourdataframe<-xmlToDataFrame(ourxmldata) rootdocument<-xmlRoot(ourxmldata)...

R and JSON

JSON is just another format to ship data between programs / systems. Nothing really special. Just right now the most fashionable (some love to say “sexy”) data format. Some 10 years ago it was XML and some 10 years later we will certainly have something...

read command

Command “read” allows to read data in table format from file. Command has several variants: read.table – the most versatile variant, for example for table separated text data read.csv/ read.csv2 – special commands for csv files read.delim/...