Reading from Web and APIs

Question 1
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 2
Marks : +2 | -2
Pass Ratio : 33%
Which of the following package is used to connect MySQL RDBMS with R?
RMySQL vignette
MySQL vignette
RSQL vignette
None of the mentioned
Explanation:
This package contains meta information and index.
Question 3
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 4
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 5
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 6
Marks : +2 | -2
Pass Ratio : 100%
Which of the following package is used for reading excel data?
xlsx
xlsc
read.sheet
all of the mentioned
Explanation:
read.xlsx and read.xlsx functions are part of xlsx package.
Question 7
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 8
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 9
Marks : +2 | -2
Pass Ratio : 100%
Which of the following request can be issued from httr package?
GET
PUT
DELETE
All of the mentioned
Explanation:
Authentication is necessary for issuing a request.
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.