Skip to content

Feature request: support for writing "notes" to .dta files #712

@mafw

Description

@mafw

haven::read_dta has the ability to read “notes” from ".dta" files produced by STATA. haven::write_dta can write .dta files with a "label" attribute for the data set that STATA users can see when they load the data.

It would be great if haven:write_dta could write the value stored in an attribute named "notes" to the .dta file. In Stata, the "notes" attribute can contain more characters than the "label" attribute, so I find it more useful. For example, I would like to include a link to the source of the raw data in a file that contains the processed data.

It appears that this functionality is working in the underlying ReadStat package.

Metadata

Metadata

Assignees

No one assigned

    Labels

    featurea feature request or enhancement

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions