Reading from Web and APIs

Question 1
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 2
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 3
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 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 : 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 6
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 7
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.
Question 8
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 9
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 10
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.