Course info
Nov 20, 2020
1h 37m

Processing data from a third party provider in JSON or CSV format is essential for communicating with other systems and representing complex information. In this course, Reading and Writing Data with Ruby, you’ll learn to read and parse data in JSON and CSV format using Ruby’s standard library and interact with various sources that make use of these formats including local files and information returned by web services. First, you’ll explore how data is structured using either JSON or CSV including where one format is used over the other. Next, you’ll discover how to read and write JSON and CSV data to and from a local file and how it is represented natively using Ruby’s data types. Finally you’ll learn how to apply processing of JSON data using Ruby by interacting with an actual web service. When you’re finished with this course, you’ll have the skills and knowledge of reading and writing data with Ruby needed to create applications that process data from a file and interact with third party services that use JSON to represent data.

About the author
About the author

Developer. Entrepreneur. Pianist. Guitarist. Raphael has a passion for bringing software to the masses and equipping people with the right mindset in using programming to solve real world problems. Aside from programming and teaching, Raphael does a lot of research and development in the academe in the field of computer science, specifically machine learning.

More from the author
What's New in Ruby 3
1h 6m
Jun 29, 2021
Adding a User Resource to a Rails Application
1h 38m
Mar 2, 2021
Section Introduction Transcripts
Section Introduction Transcripts

Course Overview
Hi everyone. My name is Raphael Alampay, and welcome to my course, Reading and Writing Data with Ruby. I am currently a software developer and a Pluralsight author, with courses and tutorials in the programming and machine‑learning domains. Have you started out Ruby programming and want to extend your skills storage, adding data‑driven features to your application? Do you need to create logical routines that process data coming from some structured information? Do you want to enable your application to talk to other services on the web? In this course, we'll be doing just that. Major topics include referencing and creating files with Ruby, parsing CSV and JSON‑formatted data, fetching and processing data from web services. By the end of this course, you'll be equipped with the fundamentals on reading, writing, and parsing files from Ruby. However, before you decide to start, you should already be familiar with basic Ruby syntax, programming terminologies, and of course the passion to learn more. To put things into practice, every module builds towards writing a simple application that fetches the price of Bitcoin against the US dollar from a third‑party service provider and saves the data to a file for archiving purposes and post processing. From here, you should be able to extend the concepts to add more data‑driven features to your Ruby application, and see if you can apply it to other more advanced Ruby programming courses at Pluralsight, and level up your skills. I'm looking forward to accompanying you in your journey towards learning more about modern Ruby programming in this course, Reading and Writing Data with Ruby, here, at Pluralsight.