Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

finalize PubMed feature by creating landing table #15

Open
meerapatelmd opened this issue Dec 2, 2020 · 1 comment
Open

finalize PubMed feature by creating landing table #15

meerapatelmd opened this issue Dec 2, 2020 · 1 comment

Comments

@meerapatelmd
Copy link
Owner

So far a PM_RESULTS Table is created. This needs to be pivoteted across to get the earliest to latest date range:

  1. Average of each boundary with a standard deviation
  2. Names of publications and snippets to be able to determine that the search returned a drug
@meerapatelmd
Copy link
Owner Author

pm_results <-
fantasia::qOMOP(
        "select * 
        from patelm9.pm_results"
)

pm_results %>%
        group_by(search_term, search_type) %>%
        summarize(is_missing = all(is.na(snippet))) %>%
        filter(is_missing == TRUE) %>%
        ungroup() %>%
        group_by(search_term) %>%
        summarize(no_results = all((is_missing == TRUE))) %>%
        filter(no_results == TRUE)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant