Statalist The Stata Listserver


[Date Prev][Date Next][Thread Prev][Thread Next][Date index][Thread index]

Re: st: Spanish characters in variable names?


From   Ronán Conroy <rconroy@rcsi.ie>
To   statalist@hsphsun2.harvard.edu
Subject   Re: st: Spanish characters in variable names?
Date   Wed, 19 Jul 2006 17:16:40 +0100

On 19 Iúil 2006, at 17:10, Anderson, Bradley J wrote:

Is there any way of entering this name directly into either the command
window or a .do file directly? My work around is basically to copy and
paste for each special character. The problem is there are lots of
variables with special characters and I'm trying to automate the process.

I often get data files with unhelpful names. I usually grab the variable names and put them into a spreadsheet as the second column. I put my own variable name in the third column, and in the first I put the word 'rename'.

Copied as plain text, this makes a do-file, but it also leaves behind a lookup table that tells me what each variable was originally called.

I have, of course, no wish to allege that spanish is unhelful! ¡Dios mio - se va armar un lio espantoso!

=========
Ronán Conroy
Royal College of Surgeons in Ireland
rconroy@rcsi.ie
+353 (0) 1 402 2431
+353 (0) 87 799 97 95
www.flickr.com/photos/ronanconroy




*
* For searches and help try:
* http://www.stata.com/support/faqs/res/findit.html
* http://www.stata.com/support/statalist/faq
* http://www.ats.ucla.edu/stat/stata/




© Copyright 1996–2014 StataCorp LP   |   Terms of use   |   Privacy   |   Contact us   |   What's new   |   Site index