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

ICPSR Data Fair 2016: Navigating the Data (R)Evolution

Mapping the Spread of Obesity

Data Mining and Predictors of Physical Activity in Older Urban Adults

IRS Migration Data Report Tool

Census Bureau Retires Easy Stats

Data Services Knowledge Base

Q:  

How does one read strings in SAS? For instance, if I am reading in a name like Washtenaw County in a pipe delimted file?

A:  

Define the length of your variable before you read in the data. In the example below “name” is the field that has county names:

data a;

length name $40;

infile 'test.txt’ dlm='|';

input geoid $ name $ type part2000 part2010 ;

Related Question Groups: