worldbank / povcalnetR

R client to the Povcalnet API
https://worldbank.github.io/povcalnetR
Other
9 stars 5 forks source link

Need to handle empty responses #13

Closed tonyfujs closed 5 years ago

tonyfujs commented 5 years ago

povcalnet(country = "XXX", year = 2002) throws an error. It should return a well formatted, empty data.frame