File: keyTemplateStata.Rd

package info (click to toggle)
r-cran-kutils 1.70%2Bdfsg-2
  • links: PTS, VCS
  • area: main
  • in suites: bookworm, bullseye
  • size: 1,632 kB
  • sloc: sh: 13; makefile: 2
file content (25 lines) | stat: -rw-r--r-- 728 bytes parent folder | download | duplicates (2)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
% Generated by roxygen2: do not edit by hand
% Please edit documentation in R/variableKey.R
\name{keyTemplateStata}
\alias{keyTemplateStata}
\title{Import a Stata (version 12 or lower) file, create a key
representing the numeric -> factor transition}
\usage{
keyTemplateStata(dat, long = TRUE)
}
\arguments{
\item{dat}{A character string path to the Stata file}

\item{long}{TRUE returns a long key, otherwise a wide key}
}
\value{
A variable key (long or wide)
}
\description{
This is a way to keep track of the scores that are used in the Stata file.
It is also an easy way to start a new variable key that makes it convenient
to work on the value_new column with R text functions.
}
\author{
Paul Johnson <pauljohn@ku.edu>
}