1. सीखें
  2. /
  3. पाठ्यक्रम
  4. /
  5. Intermediate Importing Data in R

Connected

अभ्यास

From JSON to R

In the simplest setting, fromJSON() can convert character strings that represent JSON data into a nicely structured R list. Give it a try!

निर्देश

100 XP
  • Load the jsonlite package. It's already installed on DataCamp's servers.
  • wine_json represents a JSON. Use fromJSON() to convert it to a list, named wine.
  • Display the structure of wine