I am trying to download and unzip multiple files from a URL to then use in STATA.
I have requested data from the Institute of Health Metrics and Evaluation, for which they have provided a link to 331 zip files here:
http://ghdx.healthdata.org/gbd-resul...90fcefba756ce1
I copied the link for the first file which is this:
http://s3.healthdata.org/gbd-api-201...12208c13-1.zip
all the other files are then the same with the end being -1 to -331.
I was planning to use "copy" and then "unzipfile" and run a loop from 1 to 331. However I am getting the error message "invalid file specification" when try this for the first file following:
copy http://s3.healthdata.org/gbd-api-201...12208c13-1.zip
Does anyone know why this is the case?
Best Wishes
Joe
Related Posts with Multiple zip file downloads from URL
transforming then imputing or vice-versaHi all, I was wondering whether it is better to transform the data then impute the missing values or…
InterpretationDear community, I have a question regarding the interpretation of the size of a coefficient. e.g. I…
Interaction terms in mixed-effects regressionHi statalisters ... I need some help to interpret the coefficients of some mixed-effects models in m…
Graphing based on a condition of longitudinal dataDear Statalist User, I have a problem regarding how to graph two scatter plots and their fitted lin…
Test statistic Pesaran and SmithHello, I have been trying to check if there was already some code about the test statistic about po…
Subscribe to:
Post Comments (Atom)
0 Response to Multiple zip file downloads from URL
Post a Comment