xmarquez / democracyData

Access and manipulate most standard scholarly measures of democracy
https://xmarquez.github.io/democracyData/
84 stars 21 forks source link

Having issues downloading the metadat #6

Closed hamid004 closed 3 years ago

hamid004 commented 3 years ago

I tried to download the metadata using the command generate_democracy_scores_dataset (output format=wide, verbose=F) It started well until it reached a point where it encountered an error.. Error in utils:: download.file(path,tmpfile,quite=!verbose): Cannot open URL 'http://databank.worldbank.org/data/download/WGI_CSV.zip" .. What could be the cause of this and what is the possible solution..

Thanks

xmarquez commented 3 years ago

Hi hamid004 - it works fine for me. Sometimes the websites are down - it could just be a matter of trying again. You could also just try using download_wgi_voice_and_accountability() to see if it's just the WB's voice and accountability index that is not responding.

On Thu, Aug 5, 2021 at 6:57 AM hamid004 @.***> wrote:

I tried to download the metadata using the command generate_democracy_scores_dataset (output format=wide, verbose=F) It started well until it reached a point where it encountered an error.. Error in utils:: download.file(path,tmpfile,quite=!verbose): Cannot open URL 'http://databank.worldbank.org/data/download/WGI_CSV.zip" .. What could be the cause of this and what is the possible solution..

Thanks

— You are receiving this because you are subscribed to this thread. Reply to this email directly, view it on GitHub https://github.com/xmarquez/democracyData/issues/6, or unsubscribe https://github.com/notifications/unsubscribe-auth/AAKUD2FGNBV2INDD2AKCUCTT3GEPXANCNFSM5BRZBQWA . Triage notifications on the go with GitHub Mobile for iOS https://apps.apple.com/app/apple-store/id1477376905?ct=notification-email&mt=8&pt=524675 or Android https://play.google.com/store/apps/details?id=com.github.android&utm_campaign=notification-email .

hamid004 commented 3 years ago

Thanks for the response. I tried download_wgi_voice_and_accountability() and I got the same error message

hamid004 commented 3 years ago

When I later tried downloading again. Here's the error I got nw_democrat

xmarquez commented 3 years ago

Hi hamid004 - it still works for me. Maybe your version of dplyr is not the latest? In the last update to the package, I refactored the code so it would work with the latest version of dplyr. Could you run sessionInfo() to see what you get? Another possibility may be that there is some problem with the WB website from which that dataset comes - maybe a proxy connection problem?

On Sat, Aug 7, 2021 at 11:24 AM hamid004 @.***> wrote:

When I later tried downloading again. Here's the error I got [image: nw_democrat] https://user-images.githubusercontent.com/68087047/128579619-c511b5d5-51b6-4d55-a55a-a94d4b16b909.png

— You are receiving this because you commented. Reply to this email directly, view it on GitHub https://github.com/xmarquez/democracyData/issues/6#issuecomment-894564035, or unsubscribe https://github.com/notifications/unsubscribe-auth/AAKUD2B3DY66XWAUBM6DFYLT3RVJ7ANCNFSM5BRZBQWA . Triage notifications on the go with GitHub Mobile for iOS https://apps.apple.com/app/apple-store/id1477376905?ct=notification-email&mt=8&pt=524675 or Android https://play.google.com/store/apps/details?id=com.github.android&utm_campaign=notification-email .

hamid004 commented 3 years ago

Thanks a lot.. I later found that my windows firewall is blocking the connection and also update the dplyr and everything worked.. Thanks