Check out example codes for "read csv online r". It will help you in understanding the concepts better.

Code Example 1

X <- read.csv(url("http://some.where.net/data/foo.csv"))

Learn ReactJs, React Native from akashmittal.com