help for opendf csv2zip (opendf_zip2csv) version 2.0.2 (28 August 2024)

opendf_zip2csv -- generates vour csvs from an opendf-format zip-file containing data meta data for survey data.

Syntax

opendf_zip2csv,
input_zip() output_dir() languages() [verbose]

options

input_zip(string) (Path and) Name to the ODF-zip-file.

output_dir(string) Indicates the output directory for the csvs.

languages(string) Chooses, which languages to keep. Default is all. Default is "all"

verbose More warnings are displayed.

Description

opendf_zip2csv Transforms survey data from an odf zip-file to four csvs several csv files into dta-format including metadata saved in labels and characteristics.

input_zip is the (path and) name of the ODF zip-folder.

output_dir is the path to the folder where 4 csvs will be written to.

languages(string) Indicates for which languages the metadata should be written to the csv files. By default all metadata in all available languages is written (languages("all")).

The option verbose indicates whether more warnings should be displayed.

Remarks

This command from the opendf package is part of the Open Data Format Project bundle, written to assist with survey data files in the open data format(.zip).

Examples

Builds and saves four csv-files in the C:\Documents\csv_files-folder from the datafile testdata.zip

. opendf_zip2csv, input_zip("C:\documents\testdata.zip") output_dir("C:\Documents\csv_files") languages("all")

Author

Tom Hartl (thartl@diw.de), Deutsches Institut für Wirtschaftsforschung Berlin.

Also see

Help: opendf_read, opendf_write, opendf_docu, opendf_csv2dta, opendf_csv2zip, opendf_dta2csv