knitr::opts_chunk$set( collapse = TRUE, comment = "#>", #out.width = "100%", fig.path = "man/figures/README-" )
The goal of promedreadr
is to provide a simple tool for collecting information from https://pro.medicin.dk, a key reference on medicines marketed in Denmark.
Note that the package is not yet "production ready", especially it doesn't yet honour robots.txt (improvement is underway and will be up shortly.)
Please use this package thoughtfully as web-scraping can lead to e.g. copyright infringement. If in doubt, please contact the team behind medicin.dk.
library(promedreadr) atc_codes <- c(Quetiapine = "N05AH04", Lithium = "N05AN01") product_urls <- extract_product_urls(atc_codes) all_ade_tables <- fetch_ade_tables(product_urls) combined_ade_tables <- reconcile_ade_tables(all_ade_tables) combined_ade_tables
promedreadr
isn't yet on CRAN, but you can install it easily directly from GitHub with:
# install.packages("devtools") # if not already installed remotes::install_github("epiben/promedreadr")
We use the GitHub issue tracker for all bugs/issues/enhancements
promedreadr
is licensed under the MIT licence.
promedreadr
is developed in RStudio and maturing under active development.
The package maintainer received funding from Innovation Fund Denmark (5153-00002B) and the Novo Nordisk Foundation (NNF14CC0001).
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.