diff --git a/README.md b/README.md index 66f690d..a7568c7 100644 --- a/README.md +++ b/README.md @@ -50,11 +50,12 @@ plot(load("data.csv"), x=:a, y=:b, Geom.line) One can load both local files and files that can be downloaded via either http or https. To download from a remote URL, simply pass a URL to the ``load`` function instead of just a filename. In addition -one can also load data from an ``IO`` object, i.e. any stream. The syntax +one can also load data from an ``IO`` object, i.e. any stream. The syntax for that scenario is ````julia -df = DataFrame(load(Stream(format"CSV", io))) +using FileIO +df = DataFrame(load(File(format"CSV", io))) ```` The ``load`` function also takes a number of parameters: @@ -89,9 +90,9 @@ This will work as long as ``it`` is any of the types supported as sources in [It One can also save into an arbitrary stream: ````julia -using CSVFiles +using CSVFiles, FileIO -save(Stream(format"CSV", io), it) +save(File(format"CSV", io), it) ```` The ``save`` function takes a number of arguments: