briatte / srqm

An introductory statistics course for social scientists, using Stata
https://f.briatte.org/teaching/quanti/
49 stars 17 forks source link

world-c.data and world-d.dta ? #11

Closed joelgombin closed 5 years ago

joelgombin commented 10 years ago

What are the world-c and world-d data files? I can't seem to open them, Stata says "file data/world-d.dta not Stata format".

briatte commented 10 years ago

These should be map datasets, world-c ~ 4.4MB and world-d ~ 46KB. Could be an issue with srqm_pkgs copying the files from the SRQM to the data folder. Let's see how Windows gets it.

joelgombin commented 10 years ago

Well, obviously there is a problem with these: world-c is 158 kb and world-d only 421 bytes.

On Fri, Sep 20, 2013 at 1:10 AM, François notifications@github.com wrote:

These should be map datasets, world-c ~ 4.4MB and world-d ~ 46KB. Could be an issue with srqm_pkgs copying the files from the SRQM to the datafolder. Let's see how Windows gets it.

— Reply to this email directly or view it on GitHubhttps://github.com/briatte/srqm/issues/11#issuecomment-24780158 .

Joël Gombin

Doctorant en science politique / PhD candidate in political science CURAPP - Université de Picardie Jules Verne

277, rue du Faubourg Saint-Antoine 75011 Paris Tel : +33 (0)6 61 55 22 41 www.joelgombin.fr

briatte commented 10 years ago

The code does this:

  1. install wbopendata with ancillary files; that creates the world map files in the SRQM folder
  2. copy the files from the SRQM folder to the data subfolder, and delete the originals

I'm guessing that Linux does not like the copy command, which is the Stata version of mv.

briatte commented 5 years ago

Cannot reproduce the issue (six years later…).