Skip to content

load might support a cache mechanism #6

Description

@femtotrader

Hello,

http://www.david-anthoff.com/jl4ds/stable/fileio.html shows usage such as

df = load("https://raw.githubusercontent.com/davidanthoff/CSVFiles.jl/master/test/data.csv") |> DataFrame

maybe a cache mechanism (such as https://github.com/helgee/RemoteFiles.jl or https://github.com/oxinabox/DataDeps.jl ) should be integrated to Queryverse (or at least its usage be better documented)

A possible API could be

df = load(RemoteFile("https://raw.githubusercontent.com/davidanthoff/CSVFiles.jl/master/test/data.csv", "data.csv")) |> DataFrame

or

df = load(RemoteFile("https://raw.githubusercontent.com/davidanthoff/CSVFiles.jl/master/test/data.csv")) |> DataFrame

So file will be stored with data.csv as filename (by default) and inside a default directory

Pinging @oxinabox and @helgee

But this is probably not the right place to suggest this... maybe FileIO?

Kind regards

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions