📄 input.hlp
字号:
{smcl}
{* 28nov2004}{...}
{cmd: help input}
{hline}
{title:Title}
{p2colset 5 18 20 2}{...}
{p2col :{hi:[D] input} {hline 2}}Enter data from keyboard{p_end}
{p2colreset}{...}
{title:Syntax}
{p 8 14 2}
{opt inp:ut}
[{varlist}]
[{cmd:,} {opt a:utomatic} {opt l:abel}]
{title:Description}
{pstd}
{opt input} allows you to type data directly into the dataset in memory.
See also {helpb edit} for a windowed alternative to {opt input}.
{title:Options}
{phang}{opt automatic} causes Stata to create value labels from the non-numeric
data it encounters. It also automatically widens the display format to fit
the longest label. Specifying {opt automatic} implies {opt label},
even if you do not explicitly type the {opt label} option.
{phang}{opt label} allows you to type the labels (strings) instead of the
numeric values for
variables with associated value labels. New value labels are not
automatically created unless {opt automatic} is specified.
{title:Examples}
{cmd:. input acc_rate spdlimit}
1. {cmd:4.58 55}
2. {cmd:1.86 60}
3. {cmd:1.61 .}
4. {cmd:end}
{cmd:. input str20 name age str6 sex}
1. {cmd:"A. Doyle" 22 male}
2. {cmd:"Mary Hope" 37 "female"}
3. {cmd:"Guy Fawkes" 48 male}
4. {cmd:end}
{title:Also see}
{psee}
Manual: {bf:[D] input}
{psee}
Online: {helpb edit},
{help infiling},
{helpb save}
{p_end}
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -