Clinician's
corner

Back to main page

Programmer's
corner
So, you use WinBUGS a lot? Want more?
Patrick Blisle
Division of Clinical Epidemiology
McGill University Health Center
Montreal, Quebec CANADA
patrick.belisle@rimuhc.ca

Last modification: 20 sep 2017















Version 1.3 (September 2017)
FieldGoal
Extracting a column from a text file
[ FieldGoal is a program for extracting a field (or column) from a text file. ]





Introduction

FieldGoal is a program for quickly extracting text in a column from a text file. In addition, the values extracted can be aligned to a single line of text by just one more click.

In the example illustrated below, we pasted some programming code from which we want to extract the column surrounded by a double-sided orange rectangle.



We will subsequently want to align the extracted values to align them and write the following code:

%let ds = Antropometria EncuestasGestantes EncuestasNino EstiloComer Frecuencia6aMas FrecuenciaMenos6 gestante heces Hemoglobina higiene home 
          madre MAESTRA ObservaComer Recor24H Recor24HConsulta Recor24HG RecorSubtabla RecorSubtablaG SaludMental Seguridad;


This is easily done in a few clicks. First select the column from which you want to extract text by double-clicking one of its values
and then click Punt from the Action Center menu.
The extracted field values can then be aligned to a single line by clicking the 1-line Action Center menu item.


Other options are described in the complete instruction manual.


How to install FieldGoal

Download FieldGoal (see section below), unzip file and double-click the file FieldGoal.msi.
By default, FieldGoal installs in Program Files folder (c:\Program Files).


How to use FieldGoal

Browse through your Program Files folder, select FieldGoal folder and double-click the executable file FieldGoal.exe,
or double-click FieldGoal's desktop icon. FieldGoal is also available from Programs menu in Start Menu.


Download FieldGoal

FieldGoal is a free program. Download version 1.3 (September 2017) now and unzip.