Home > Data Services > Catalog . Restricted Data . Census . ACS

Search Data Services

Meta Search
search across all the following databases:

Data Catalog
Data and documentation

KnowledgeBase
Common questions and answers.

Resources
Entire collection of data resources.


Latest Data News

RSS Feed icon

Political Science: A self-inflicted wound?

Sage Stats and CQ Political Stats Trial

Breaking News: Protect the 2020 Census

The Fastest Growing US Cities Are Mostly In the West

Another rule from NIH: Demographers might get to ignore this one

checklen

Purpose: This program provides a description of the structure of a data set. The parameters it provides are number of records, maximum line length, and minimum line length.

If the data are padded with blanks, the maximum line length is the number of columns with actual data. Blanks used as padding are not counted in the maximum line length.

To run, enter checklen < data

Notes:

1) To run in the background add an ampersand (&) to the run statement:

checklen < data &

2) If data are compressed, the data can be piped in from a decompression program:

zcat data.Z | checklen

3) To send output to a file named doc:

checklen < data > doc