Reading from Web and APIs

Question 1
Marks : +2 | -2
Pass Ratio : 100%
Which of the following function programmatically extract parts of XML file?
XmlSApply
XmlApply
XmlSApplyData
All of the mentioned
Explanation:
xmlSApply are simple wrappers for tapply and lappy functions.
Question 2
Marks : +2 | -2
Pass Ratio : 100%
Which of the following package loads data from SPSS?
read.spss(SPSS)
read.oct(SPSS)
read.xpot(SPSS)
all of the mentioned
Explanation:
SPSS is a comprehensive and flexible statistical analysis and data management solution.
Question 3
Marks : +2 | -2
Pass Ratio : 100%
Point out the correct statement.
HDF5 is a hierarchical format
HDF5 does not support range of different data types
HDF5 is used for storing small datasets
None of the mentioned
Explanation:
HDF5 is used for storing large datasets.
Question 4
Marks : +2 | -2
Pass Ratio : 100%
Which of the following is used to extract data from HTML code of websites?
Webscraping
Webdredging
Webcleaning
All of the mentioned
Explanation:
Webscraping is a great way to get data.
Question 5
Marks : +2 | -2
Pass Ratio : 50%
Which of the following package is used for reading JSON data?
jsonlite
json
jsondata
all of the mentioned
Explanation:
The jsonlite package is a JSON generator optimized for the web.
Question 6
Marks : +2 | -2
Pass Ratio : 100%
Point out the correct statement.
XLConnect package has more options for manipulating access files
XLConnect vignette package can also be used for manipulating excel files
write.xlsx write out an excel file with different argument
None of the mentioned
Explanation:
write.xlsx write out an excel file with similar argument.
Question 7
Marks : +2 | -2
Pass Ratio : 50%
Which of the following can be used to view all the tables in memory?
tables
alltable
table
none of the mentioned
Explanation:
The table function is a very basic, but essential, function to master while performing interactive data analyses.
Question 8
Marks : +2 | -2
Pass Ratio : 33%
Which of the following will set the character that represents missing value?
na.quote
na.strings
nrows
all of the mentioned
Explanation:
na.strings takes a character vector.
Question 9
Marks : +2 | -2
Pass Ratio : 50%
Which of the following function is used to read data off the webpages?
read.web
read.Lines
read.Line
all of the mentioned
Explanation:
read.Lines function will extract the web page data.
Question 10
Marks : +2 | -2
Pass Ratio : 33%
Which of the following package is used for reading HTML and XML data?
httr
http
httx
all of the mentioned
Explanation:
httr contains tools for Working with URLs and HTTP.