In sum, name is crunch alias, label is crunch name.Įxcept in one place in crunch: referencing variables within a dataset. In most cases, you probably won’t even set aliases, though: they’ll be set when you import your dataset and will be whatever the names were in your source data. Any string is valid for either alias or name, though you may want more machine-friendly strings as aliases. Access tens of thousands of datasets, perform complex analyses, and generate compelling reports in StatCrunch, Pearson’s powerful web-based statistical software. “Names”, however, only must be unique within variable order groups. Aliases must be unique across the entire dataset, including among array subvariables. What you may be used to thinking of as a variable “name”, Crunch calls “alias”.Īliases and names have slightly different validation constraints. What you may have thought of as a variable “label”, Crunch elevates to the status of “name”. So, Crunch stores two user-settable identifiers for variables. For another, when interacting with a dataset from the command line, it can be useful to have shorter, machine-friendlier references. For one, it’s what most any legacy statistical software uses for its identifiers, so retaining them on import will help us line up variables when appending a subsequent batch of imported data, for example. “Aided awareness: coffee roasters” is much nicer and more presentable than “Q2B_V1”.Īt the same time, shorter, user-defined, unique identifiers for variables do have their uses. Variables should have “names” that are human-readable and searchable by their meaning-there is no reason to constrain variable names to be eight characters, all caps, etc. A rose by any other moniker: “names” and “aliases”Ĭrunch takes the principled stand that working with data in the 21st Century should not be constrained by legacies of the punch-card era.
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |