Skip to content

SAS date formats (YYMMDDxw) not converted #324

Closed

Description

I have come upon SAS files where the date format string is not purely YYMMDD but a bit more detailed - YYMMDDN in my case. These are not converted to R dates by haven but left as doubles.

It appears that there are multiple date formats in SAS: http://support.sas.com/documentation/cdl/en/lrdict/64316/HTML/default/viewer.htm#a000589916.htm

However these extended ones are not considered:

else if (format == "YYMMDD") return HAVEN_DATE;

Would it be possible to load these extended formats as dates as well?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

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