Different programs impose different limits to different components of their datasets.
Additionally, limits may vary between software versions. This primarily applies to
Stata's product tiers, but also to (very) old SPSS versions. eatGADS
offers a number of check functions - chiefly check4SPSS and
check4Stata as wrappers - to ensure a GADSdat complies with these limits,
and can be exported into an SPSS or Stata file.
Use getProgramLimit for a more convenient interface for obtaining specific limits.
Details
While datasets have several components and characteristics, the following were deemed the most important and their limits implemented in this package's checks:
varNames: length of variable namesvarLabels: length of variable labelsvalLabels: length of value labelsstringvars: length of strings in character variablesnrows: number of observationsncols: number of variables
While SPSS has only one set of limits (disregarding legacy limits for older versions),
Stata employs different limits for different product versions [1]. Within this package,
"SPSS" always implies SPSS 30, and "Stata" implies Stata 19/SE.
Limits of Stata 19/BE and Stata 19/MP are implemented as additional options.
However, no additional versions of SPSS have been implemented yet.
