Page 1 of 1

After you downloaded a dataset, you print the head information of the data and it looks like this: =====================

Posted: Tue Jul 12, 2022 8:17 am
by answerhappygod
After you downloaded a dataset, you print the head information of the data and it looks like this:
===============================
"{\"executionTime\":\"2018-07-18 02:36:28 PM\",\"stationBeanList\":[{\"id\":72,\"stationName\":\"W 52 St & 11 Ave\",\"availableDocks\":37,\"totalDocks\":39,\"latitude\":40.76727216,\"longitude\":-73.99392888,\"statusValue\":\"In Service\",\"statusKey\":1,\"availableBikes\":2,\"stAddress1\":\"W 52 St & 11 Ave\",\"stAddress2\":\"\",\"city\":\"\",\"postalCode\":\"\",\"location\":\"\",\"altitude\":\"\",\"testStation\":false,\"lastCommunicationTime\":\"2018-07-18 02:35:01 PM\",\"landMark\":\"\"},{\"id\":79,\"stationName\":\"Franklin St & W Broadway\",\"availableDocks\":4,\"totalDocks\":33,\"latitude\":40.71911552,\"longitude\":-74.00666661,\"statusValue\":\"In Service\",\"statusKey\":1,\"availableBikes\":28,\"stAddress1\":\"Franklin St & W Broadway\",\"stAddress2\":\"\",\"city\":\"\",\"postalCode\":\"\",\"location\":\"\",\"altitude\":\"\",\"testStation\":false,\"lastCommunicationTime\":\"2018-07-18 02:34:43 PM\",\"landMark\":\"\"},{\"id\":82,\"stationName\":\"St James Pl & Pearl St\",\"... <truncated>
==============
Which function would you use to read this dataset? and what is the name of the R library (package) you need to load to be able to use the function?
Group of answer choices
read.csv, no need to load library
read_csv in readr package
getURL in jsonlite pakcage
fromJSON in jsonlite package