Skip to content

addDrugUse returned error when running DUS code #59

@yl3613

Description

@yl3613

https://github.com/oxford-pharmacoepi/MegaStudy/blob/d15cf1b355178b356be8c7eef442d42c597c8852/DUS%20Code/DUS.R#L458
Hi Team, I got this error when running the DUS code on our data source. This error was caused by the "addDrugUse" on L458 of DUS.R. Is this because the version of the package I'm using? I'm using DrugUtilisation 0.5.0

Error: Failed to prepare query: ERROR: syntax error at or near "DISTINCT"
LINE 106: "LHS"."amount_numeric" IS NOT DISTINCT FROM "dbp...
^
In addition: There were 50 or more warnings (use warnings() to see the first 50)

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions