28
MICS Data Processing Workshop CSPRO Overview

MICS Data Processing Workshop CSPRO Overview. What is CSPRO? Comprehensive Data Processing Package For – Data entry – Verification – Consistency checking

Embed Size (px)

Citation preview

Page 1: MICS Data Processing Workshop CSPRO Overview. What is CSPRO? Comprehensive Data Processing Package For – Data entry – Verification – Consistency checking

MICS Data Processing Workshop

CSPRO Overview

Page 2: MICS Data Processing Workshop CSPRO Overview. What is CSPRO? Comprehensive Data Processing Package For – Data entry – Verification – Consistency checking

What is CSPRO?

Comprehensive Data Processing Package For– Data entry– Verification– Consistency checking– Exporting– Menu creation

Page 3: MICS Data Processing Workshop CSPRO Overview. What is CSPRO? Comprehensive Data Processing Package For – Data entry – Verification – Consistency checking

CSPRO’s Components

Dictionaries Forms Data Files Applications

ALL CSPRO components are stored in ASCII format

Page 4: MICS Data Processing Workshop CSPRO Overview. What is CSPRO? Comprehensive Data Processing Package For – Data entry – Verification – Consistency checking

Dictionaries

Defines how the information from the questionnaire is stored in the data file.– Questions => Variables– Modules => Records– Questionnaires => Levels– Unique identifiers => Identification variables

Page 5: MICS Data Processing Workshop CSPRO Overview. What is CSPRO? Comprehensive Data Processing Package For – Data entry – Verification – Consistency checking

Forms

Forms are linked to dictionaries They are displayed during data entry They define

– which variables are entered– the order in which variables are entered

When you edit a form, CSPRO opens the associated dictionary

Page 6: MICS Data Processing Workshop CSPRO Overview. What is CSPRO? Comprehensive Data Processing Package For – Data entry – Verification – Consistency checking

Applications

Applications perform actions Types of applications

– Data entry– Comparison– Batch– Export

When you open an application, CSPRO opens its associated dictionary and forms (data entry only)

Page 7: MICS Data Processing Workshop CSPRO Overview. What is CSPRO? Comprehensive Data Processing Package For – Data entry – Verification – Consistency checking

Application Types

Data entry– control the path through the questionnaire– check that entered data is valid and

consistent. Comparison

– compare two files and list differences – comparison is used for verifying

Page 8: MICS Data Processing Workshop CSPRO Overview. What is CSPRO? Comprehensive Data Processing Package For – Data entry – Verification – Consistency checking

Application Types

Batch– count cases in a data file– perform consistency checks– export dictionary and data to other packages

Page 9: MICS Data Processing Workshop CSPRO Overview. What is CSPRO? Comprehensive Data Processing Package For – Data entry – Verification – Consistency checking

Opening CSPRO

Double-click on CSPRO icon Double-click on an application, dictionary

or form file

Page 10: MICS Data Processing Workshop CSPRO Overview. What is CSPRO? Comprehensive Data Processing Package For – Data entry – Verification – Consistency checking

An Example of a Dictionary

Double-click on the CSPRO icon Select file-->open Navigate to the c:\mics\cspro\dict

directory Open the MICS3 dictionary

Page 11: MICS Data Processing Workshop CSPRO Overview. What is CSPRO? Comprehensive Data Processing Package For – Data entry – Verification – Consistency checking

The Dictionary Screen

Press CTRL+T to toggle between names and labels

MICS3 is the dictionary HH and WMCH are dictionary levels _IDS0 and _IDS1 are identification

variable records MODHH and MODED are ordinary records

Page 12: MICS Data Processing Workshop CSPRO Overview. What is CSPRO? Comprehensive Data Processing Package For – Data entry – Verification – Consistency checking

The HH Level

Click once on HH The right hand pane displays a list of

records– label– name– ID– Required– Max

Page 13: MICS Data Processing Workshop CSPRO Overview. What is CSPRO? Comprehensive Data Processing Package For – Data entry – Verification – Consistency checking

The _IDS0 Record

Click once on _IDS0 Displays ID variables:

– label and name– start position and length– data and item type– occurrences– decimals and decimal chatacter– zero fill

Page 14: MICS Data Processing Workshop CSPRO Overview. What is CSPRO? Comprehensive Data Processing Package For – Data entry – Verification – Consistency checking

The MODHH Record

Click once on MODHH Displays a list of all the variables in this

section Click once and then again on any item to

modify it Double-click on any item (e.g., area) to

display its value labels

Page 15: MICS Data Processing Workshop CSPRO Overview. What is CSPRO? Comprehensive Data Processing Package For – Data entry – Verification – Consistency checking

The MODED Record

MODED stores the information from the education questionnaire

The MODED record is a repeating record– each household can have many household

members– one record per household member– in our example, the maximum is 50

Page 16: MICS Data Processing Workshop CSPRO Overview. What is CSPRO? Comprehensive Data Processing Package For – Data entry – Verification – Consistency checking

Adding and Deleting Items

Right-click on MODHH Displays options

– Modify or delete this record– Add or insert a record– Add an item (i.e., variable) to this record

Right-click on any item to get a similar menu

Page 17: MICS Data Processing Workshop CSPRO Overview. What is CSPRO? Comprehensive Data Processing Package For – Data entry – Verification – Consistency checking

An Example of a Form

Select file--> close Select file-->open Navigate to the c:\mics\cspro\entry

directory Change the “files of type” to form files Open the entry form file

Page 18: MICS Data Processing Workshop CSPRO Overview. What is CSPRO? Comprehensive Data Processing Package For – Data entry – Verification – Consistency checking

The Form Screen

Press CTRL+T to toggle between names and labels

FL_ENTRY is the form file HH is a dictionary level FORMHH is a form for the variables in

record MODHH FORMHL is a form for the variables in

record MODHL

Page 19: MICS Data Processing Workshop CSPRO Overview. What is CSPRO? Comprehensive Data Processing Package For – Data entry – Verification – Consistency checking

The FORMHH Form

Click once on FORMHH to display the form Click once on an item on the form

– move it around– right-click and selected properties

protected

Look at tree in left pane– Determines entry order– Grayed variables on form but not entered

Page 20: MICS Data Processing Workshop CSPRO Overview. What is CSPRO? Comprehensive Data Processing Package For – Data entry – Verification – Consistency checking

The Form File Tabs

In left pane, click once on files tab– lists files associated with the form file

Click once on dicts tab– displays test dictionary

Click once on forms tab– Click once on FORMHH in left pane– Select all text and fields and delete

Page 21: MICS Data Processing Workshop CSPRO Overview. What is CSPRO? Comprehensive Data Processing Package For – Data entry – Verification – Consistency checking

Recreating FORMHH

Click once on dicts tab Drag MODHH into right pane and release Select options and then click ok Rearrange fields and text

– Use align menu

Page 22: MICS Data Processing Workshop CSPRO Overview. What is CSPRO? Comprehensive Data Processing Package For – Data entry – Verification – Consistency checking

Adding the Cluster Number

Click once on dicts tab Click on + sign next to _IDS0 Drag HH1 and HH2 to right pane and

release

Close form file and do NOT save changes!

Page 23: MICS Data Processing Workshop CSPRO Overview. What is CSPRO? Comprehensive Data Processing Package For – Data entry – Verification – Consistency checking

An Example of an Application

Select file-->open Navigate to the c:\mics\cspro\entry

directory Open the data entry application

Page 24: MICS Data Processing Workshop CSPRO Overview. What is CSPRO? Comprehensive Data Processing Package For – Data entry – Verification – Consistency checking

The Application Screen

Click once on files tab Shows list of all associated files

– ENT: contains file links– APP: contains logic– MGF: contains text for user-defined messages– QSF: contains user-defined help; we don’t use

these files Dicts and forms tabs as before

Page 25: MICS Data Processing Workshop CSPRO Overview. What is CSPRO? Comprehensive Data Processing Package For – Data entry – Verification – Consistency checking

The Logic Screen

Click once on forms tab Notice that HH1 has a blue check in green

box– indicates the presence of logic

Click once on procedure button on toolbar– displays logic for this item

Click on any item in the left pane’s tree to see its logic (if any)

Page 26: MICS Data Processing Workshop CSPRO Overview. What is CSPRO? Comprehensive Data Processing Package For – Data entry – Verification – Consistency checking

The Message File

User-defined messages are stored in a file with the same name as the application and an MGF extension

To see the message file, click on the message tab in the bottom pane when editing logic

Page 27: MICS Data Processing Workshop CSPRO Overview. What is CSPRO? Comprehensive Data Processing Package For – Data entry – Verification – Consistency checking

Compiling and Executing

Click once on compile button on toolbar (meat grinder)– compiles current procedure– box at lower right lists errors (if any)– go to FL_ENTRY to compile entire application

Page 28: MICS Data Processing Workshop CSPRO Overview. What is CSPRO? Comprehensive Data Processing Package For – Data entry – Verification – Consistency checking

Getting Help in CSPRO

Hit the F1 key Click on the help menu

The help system includes the syntax for all commands and statements in CSPRO