Reading from Web and APIs

Question 1
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 2
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 3
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 4
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 5
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 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%
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%
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 9
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 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.