OPENDF: Stata module to work with Open Data Format files in Stata
Tom Hartl ()
Additional contact information
Tom Hartl: DIW Berlin
Statistical Software Components from Boston College Department of Economics
Abstract:
The opendf package provides functions to work with the Open Data Format (ODF) in Stata. The ODF is an open, non-proprietary, multilingual, metadata-enriched, and zip-compressed data format designed to meet the FAIR principles for scientific data management and stewardship. It is platform-independent and open-source, ensuring broad accessibility and usability. The package provides three core functions: opendf read, opendf docu, and opendf write. opendf read: This function imports ODF files into Stata, loading both data and associated metadata into the environment. The metadata is stored in labels and characteristics within Stata. Users can specify the additional parameters rowrange, colrange, clear, save, replace, and verbose. opendf docu: This function displays metadata for the dataset or specific variables in a user-friendly style within Stata. When called without arguments, it shows metadata for the entire dataset. When provided with a variable name, it displays metadata specific to that variable. The function also supports a languages argument to display metadata in one or several specific languages. opendf write: This export function allows users to save Stata datasets in the ODF format. It captures all metadata stored in labels and characteristics that are compatible with the ODF specification and writes it to an XML file within the ODF zip file. The function requires the file name or path for the new ODF zip file and offers additional arguments such as input, languages, variables, replace, and verbose.
Language: Stata
Requires: Stata version 16
Keywords: data management; open data format (search for similar items in EconPapers)
Date: 2024-08-27, Revised 2025-01-21
Note: This module should be installed from within Stata by typing "ssc install opendf". The module is made available under terms of the GPL v3 (https://www.gnu.org/licenses/gpl-3.0.txt). Windows users should not attempt to download these files with a web browser.
References: Add references at CitEc
Citations:
Downloads: (external link)
http://fmwww.bc.edu/repec/bocode/o/opendf.ado program code (text/plain)
http://fmwww.bc.edu/repec/bocode/o/opendfFile-URL: ... bocode/_/csv2dta.ado program code (text/plain)
Our link check indicates that this URL is bad, the error code is: 404 Not Found
http://fmwww.bc.edu/repec/bocode/o/opendfFile-URL: ... bocode/_/csv2zip.ado program code (text/plain)
Our link check indicates that this URL is bad, the error code is: 404 Not Found
http://fmwww.bc.edu/repec/bocode/o/opendf_docu.ado program code (text/plain)
http://fmwww.bc.edu/repec/bocode/o/opendf_dta2csv.ado program code (text/plain)
http://fmwww.bc.edu/repec/bocode/o/opendf_installpython.ado program code (text/plain)
http://fmwww.bc.edu/repec/bocode/o/opendf_read.ado program code (text/plain)
http://fmwww.bc.edu/repec/bocode/o/opendf_removepython.ado program code (text/plain)
http://fmwww.bc.edu/repec/bocode/o/opendf_write.ado program code (text/plain)
http://fmwww.bc.edu/repec/bocode/o/opendf_zip2csv.ado program code (text/plain)
http://fmwww.bc.edu/repec/bocode/o/opendf.sthlp help file (text/plain)
http://fmwww.bc.edu/repec/bocode/o/opendfFile-URL: ... code/_/csv2dta.sthlp help file (text/plain)
Our link check indicates that this URL is bad, the error code is: 404 Not Found
http://fmwww.bc.edu/repec/bocode/o/opendfFile-URL: ... code/_/csv2zip.sthlp help file (text/plain)
Our link check indicates that this URL is bad, the error code is: 404 Not Found
http://fmwww.bc.edu/repec/bocode/o/opendf_docu.sthlp help file (text/plain)
http://fmwww.bc.edu/repec/bocode/o/opendf_dta2csv.sthlp help file (text/plain)
http://fmwww.bc.edu/repec/bocode/o/opendf_installpython.sthlp help file (text/plain)
http://fmwww.bc.edu/repec/bocode/o/opendf_read.sthlp help file (text/plain)
http://fmwww.bc.edu/repec/bocode/o/opendf_removepython.sthlp help file (text/plain)
http://fmwww.bc.edu/repec/bocode/o/opendf_write.sthlp help file (text/plain)
http://fmwww.bc.edu/repec/bocode/o/opendf_zip2csv.sthlp help file (text/plain)
http://fmwww.bc.edu/repec/bocode/c/csv2xml.py program code (text/plain)
http://fmwww.bc.edu/repec/bocode/x/xml2csv.py program code (text/plain)
http://fmwww.bc.edu/repec/bocode/o/opendf_example_data.zip zip archive (application/zip)
Related works:
This item may be available elsewhere in EconPapers: Search for items with the same title.
Export reference: BibTeX
RIS (EndNote, ProCite, RefMan)
HTML/Text
Persistent link: https://EconPapers.repec.org/RePEc:boc:bocode:s459367
Ordering information: This software item can be ordered from
http://repec.org/docs/ssc.php
Access Statistics for this software item
More software in Statistical Software Components from Boston College Department of Economics Boston College, 140 Commonwealth Avenue, Chestnut Hill MA 02467 USA. Contact information at EDIRC.
Bibliographic data for series maintained by Christopher F Baum ().