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 : 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 3
Marks : +2 | -2
Pass Ratio : 33%
Extracting XML is the basis for most web scraping.
True
False
Explanation:
XML is particularly used in web applications.
Question 4
Marks : +2 | -2
Pass Ratio : 50%
Which of the following function is used for loading flat files?
read.data
read.sheet
read.table
none of the mentioned
Explanation:
This reads data in to the RAM.
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%
httr package does not work well with facebook and twitter API.
True
False
Explanation:
Most modern APIs use something like oauth.
Question 7
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 8
Marks : +2 | -2
Pass Ratio : 50%
Which of the following package is used for reading GIS data?
rdgal
rgeos
raster
all of the mentioned
Explanation:
A geographic information system is a system designed to capture, store, manipulate, analyze, manage, and present all types of spatial or geographical data.
Question 9
Marks : +2 | -2
Pass Ratio : 100%
Point out the wrong statement.
hdf5 can be used to reading/writing from disc in Python
rhdf5 is an interface for hdf5 format
maximum size of an HDF5 dataset is fixed when it is created
all of the mentioned
Explanation:
hdf5 can be used to reading/writing from disc in R.
Question 10
Marks : +2 | -2
Pass Ratio : 33%
Point out the wrong statement.
data.table inherits from data.frame
data.table is written in Java
data.table is faster at subsetting and updating data
none of the mentioned
Explanation:
data.table is written in C.