Skip to content

Instantly share code, notes, and snippets.

@denisGustin
Created March 8, 2023 21:56
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save denisGustin/26d2f54f5ecc3f2e1dd5af6c10a9b1ae to your computer and use it in GitHub Desktop.
Save denisGustin/26d2f54f5ecc3f2e1dd5af6c10a9b1ae to your computer and use it in GitHub Desktop.
refpmsi spe_pharma_ssr_lib
library(dplyr)
library(refpmsi)
spe_pharma_ssr <- refpmsi::refpmsi("spe_pharma_ssr")
spe_pharma_ssr_lib <- spe_pharma_ssr %>%
dplyr::mutate(date_fin = as.Date(date_fin)) %>%
dplyr::group_by(ucd_13) %>%
dplyr::filter(date_fin == max(date_fin))
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment