Reading data from URL

前端 未结 5 1670
生来不讨喜
生来不讨喜 2021-02-19 00:59

Is there a reasonably easy way to get data from some url? I tried the most obvious version, does not work:

readcsv(\"https://dl.dropboxusercontent.com/u/.../test         


        
5条回答
  •  隐瞒了意图╮
    2021-02-19 01:26

    Nowadays you can also use UrlDownload.jl which is pure Julia, take care of download details, process data in-memory and can also work with compressed files.

    Usage is straightforward

    using UrlDownload
    
    A = urldownload("https://data.ok.gov/sites/default/files/unspsc%20codes_3.csv")
    

提交回复
热议问题