help for setdtapaperalso see: dtapaper

Title

Create global macros for dtapaper

Syntax

setdtapaper, [options]

- or -

setdtapaper, clear

Description

You can use setdtapaper to create global macros that will be used as default values in dtapaper.
With setdtapaper you can also enable (value "1") or disable (value "0") the checkboxes in dtapaper.
Thus you avoid entering all the information, that is required for dtapaper, over and over again.

Options

For a detailed description of each field see: dtapaper

options description

title:() Dataset title

abstract:() Short description

keywords:() Keywords describing the data. Separate by ";"

source:() Original source of data

access:() Access to data: DOI, URL, ...

from:() Year of data: start

to:() Year of data: end

author:() Author. Separate multiple authors with "and".

Format: (lastname, firstname)

institution:() Institution

contact:() Contact (E-Mail, Address, ...)

path:() Path to an *.html file on your computer

cb_var() Include list of variables and labels (default 1)

cb_val() Include value labels (default 0)

cb_lab() Label dataset (default 1)

cb_note() Add note to dataset (default 1) *

cb_drop() Drop old note (default 0)

cb_save() Save and replace data (default 0)

cb_n() Include number of observations (default 1)

cb_nvar() Include number of variables (default 1)

cb_name() Include filename (default 1)

clear clears out all global macros

* The single notes cannot be modified by setdtapaper.
If you want to enable/disable those checkboxes you have to use dtapaper.

Examples

. setdtapaper, author(Thewes, Christoph) contact(thewes@uni-potsdam.de)

. setdtapaper, ///
title(A new Panel Survey) ///
abstract(This new panel survey is based on ...) ///
keywords(Panel; Income; Inequality; Germany) ///
access(http://webserver.com/files.zip) ///
from(2011) ///
to(2014) ///
author(Thewes, Christoph and Saalbach, Claudia) ///
institution(University of Potsdam) ///
contact(thewes@uni-potsdam.de) ///
path(D:/Folder/filename.html)

. setdtapaper, ///
author(Thewes, Christoph and Saalbach, Claudia) ///
title(A new Panel Survey) ///
cb_var(1) ///
cb_val(1) ///
cb_lab(0) ///
cb_note(1) ///
cb_drop(0) ///
cb_save(1) ///
cb_n(1) ///
cb_nvar(0) ///
cb_name(0)

with abbreviations:

. setdtapaper, ///
t(A new Panel Survey) ///
ab(This new panel survey is based on ...) ///
k(Panel; Income; Inequality; Germany) ///
ac(http://webserver.com/files.zip) ///
f(2011) ///
t(2014) ///
au(Thewes, Christoph and Saalbach, Claudia) ///
i(University of Potsdam) ///
c(thewes@uni-potsdam.de) ///
p(D:/Folder/filename.html)

Clear out all global macros:

. setdtapaper, clear

Author

Christoph Thewes, University of Potsdam, thewes@uni-potsdam.de

http://www.uni-potsdam.de/soziologie-methoden/thewes.html

Version

1.0.0: 02/12/2015