Using R to download zipped data file, extract, and import .csv

前端 未结 3 1857
無奈伤痛
無奈伤痛 2020-12-06 01:07

I am trying to download and extract a .csv file from a webpage using R.

This question is a duplicate of Using R to download zipped data file, extrac

3条回答
  •  再見小時候
    2020-12-06 01:27

    The Word Bank Developmet Indictors can be obtained using the WDI package. For example,

    library(WDI)
    inds <- WDIsearch(field = "indicator")[, 1]
    GB <- WDI("GB", indicator = inds)
    

    See WDIsearch and WDI functions and the rerference manual for more info.

提交回复
热议问题