Reading data from URL

前端 未结 5 1303
情深已故
情深已故 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:12

    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")
    

提交回复
热议问题