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

Tools: Data as Text

More fun with names

Counting Same-Sex Couples

The Antidote for “Anecdata”: A Little Science Can Separate Data Privacy Facts from Folklore

Big Data: NYC Taxi Cab Trips

codecount

Purpose: This program provides frequencies of a data set on a column-by-column basis. The main purpose of this program is to be sure that there are reasonable values in the data.

To run, enter codecount < data

Options:

  1. Ordinarily the output will be ten columns across and will show how frequently the following codes occur in each column (0-9, -, ., space, alphanumeric, and other).
  2. To get a hexadecimal representation of the data type:

    codecount < data +

Notes:

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

    codecount < data &

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

    zcat data.Z | codecount

  3. To send output to a file named freq:

    codecount < data > freq