Skip to content

sqldf with label attached to a variable does not work #56

Open
@spal2024

Description

@spal2024

I am a fan of sqldf when it comes to data wrangling as I came from SAS background. However I have noticed when a variable has a label attached to it, we could not use sqldf. We get the error message as 'Error in match.fun(asfn) :
'c("as.labelled", "as.Date")' is not a function, character or symbol' I think it's a known issue. The way I am dealing with this situation is creating a brand new variable without a label using mutate function and feed those columns into sqldf. Is there any alternative way you guys suggest?

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions