class: left, middle background-color: #ffffff <div style="position: absolute; top: 40px; right: 60px;"> <img src="D:/SOUTK_KOREA_DATASETS/logo_medxr_001.png" width="120px"/> </div> <div style="margin-left: 50px; margin-top: 120px;"> <h1 style="color: #17a2b8; font-size: 2.5em; font-weight: 600; margin-bottom: 10px;">MedxR Package</h1> <hr style="border: none; border-top: 2px solid #17a2b8; width: 100%; margin: 30px 0;"> <h3 style="color: #0c5460; font-size: 1.8em; font-weight: 500; margin-bottom: 25px;">Bridging Regulatory Drug Data from the FDA and Health Canada into R</h3> <p style="color: #0c5460; font-size: 1.3em; margin-bottom: 15px;">Caceres Rossi, Renzo</p> <p style="color: #0c5460; font-size: 1.1em; margin-bottom: 15px;">Independent Researcher / R Package Developer</p> <p style="color: #0c5460; font-size: 1.3em;">November 5, 2025</p> </div> --- class: left, middle background-color: white # Agenda <div style="position:absolute; top:40px; right:60px;"> <img src="D:/SOUTK_KOREA_DATASETS/logo_medxr_001.png" width="140px"/> </div> <br> -- - **Motivation & Context** -- - **Package Overview** -- - **MedxR Functions – FDA & Health Canada APIs** -- - **MedxR in Action: Live Demo** -- - **Future Work** -- - **Acknowledgements & Contact** --- class: left, middle background-color: white <div style="position:absolute; top:40px; right:60px;"> <img src="D:/SOUTK_KOREA_DATASETS/logo_medxr_001.png" width="140px"/> </div> # Motivation & Context <br> -- - Every country or region has a **regulatory authority** responsible for controlling and monitoring drugs, medicines, and related products. -- - However, most agencies **lack open, RESTful, and login-free APIs** that can be easily integrated into analytical tools such as **R**. -- - This fragmentation limits **data accessibility**, **transparency**, and the ability to perform **real-time pharmacovigilance** or **cross-agency analysis**. -- - There is a clear **opportunity** to connect and standardize regulatory data through open-source tools — empowering both **R users** and **domain experts** in regulatory science. -- - **MedxR** addresses this gap by bridging public drug data from the **U.S. FDA** and **Health Canada** into the R ecosystem. --- class: left, middle background-color: white <div style="position:absolute; top:40px; right:60px;"> <img src="D:/SOUTK_KOREA_DATASETS/logo_medxr_001.png" width="140px"/> </div> # Package Overview <br> -- **MedxR** is an R package that provides seamless access to regulatory drug databases from the **FDA** and **Health Canada**. -- Access drug approvals, adverse events, recalls, and product details through RESTful APIs. The package also includes curated open datasets focused on pharmaceuticals and clinical studies. -- **Installation:** From CRAN: ```r install.packages("MedxR") ``` -- From GitHub: ```r # install.packages("devtools") devtools::install_github("lightbluetitan/MedxR") ``` --- class: left, middle background-color: white <div style="position:absolute; top:40px; right:60px;"> <img src="D:/SOUTK_KOREA_DATASETS/logo_medxr_001.png" width="140px"/> </div> # MedxR Functions <br> -- **MedxR** integrates data from the official public APIs of the **U.S. Food and Drug Administration (FDA)** and **Health Canada**. These APIs were used to build the main functions of the package, allowing users to access real-time regulatory drug data directly within **R**. -- ### **FDA Functions** -- - `get_fda_adverse_events()`: Search Adverse Events by Drug Name in FDA Adverse Event Reporting System -- - `get_fda_drug_labels()`: Search Drug Labels by Drug Name in FDA Drug Labeling Database -- - `get_fda_drugs_approved()`: Search FDA-Approved Drugs by Drug Name -- - `get_fda_ndc_directory()`: Search National Drug Code (NDC) Directory by Drug Name --- class: left, middle background-color: white <div style="position:absolute; top:40px; right:60px;"> <img src="D:/SOUTK_KOREA_DATASETS/logo_medxr_001.png" width="140px"/> </div> # MedxR Functions ### **Health Canada Functions** -- - `get_hc_active_ingredients()`: Get Active Ingredients from Health Canada Drug Product Database. -- - `get_hc_companies()`: Get Companies from Health Canada Drug Product Database. -- - `get_hc_din()`: Get All DINs from Health Canada Drug Product Database. -- - `get_hc_drug_by_din()`: Get a Drug Product by DIN from Health Canada Drug Product Database. -- - `get_hc_drug_products()`: Retrieve Drug Products from Health Canada Drug Product Database. -- - `get_hc_forms()`: Get Pharmaceutical Forms from Health Canada Drug Product Database. -- - `get_hc_search_drug()`: Search Drug Products by Brand Name in Health Canada Drug Product Database. --- class: left, middle background-color: white <div style="position:absolute; top:40px; right:60px;"> <img src="D:/SOUTK_KOREA_DATASETS/logo_medxr_001.png" width="140px"/> </div> # MedxR in Action <br> -- In this live session, we will demonstrate how to work with the **MedxR** package directly in **RStudio**. We will explore the **core functions of the package**, showing how they retrieve real-time regulatory data from the **FDA** and **Health Canada** APIs. -- All MedxR functions return results as **tibbles**, enabling seamless integration with the **tidyverse** ecosystem — including packages like **dplyr** for data wrangling and **ggplot2** for data visualization. -- This makes **MedxR** both powerful and intuitive for researchers, analysts, and data scientists working in regulatory and pharmaceutical domains. --- class: left, middle background-color: white <div style="position:absolute; top:40px; right:60px;"> <img src="D:/SOUTK_KOREA_DATASETS/logo_medxr_001.png" width="140px"/> </div> # Future Work <br> -- Our main goal is to make **MedxR** the go-to tool that **does the heavy lifting** for pharmaceutical and regulatory data analysis — allowing researchers and analysts to focus on insights instead of complex data collection and cleaning. -- Over the next **2 to 3 months**, we will expand MedxR beyond the FDA and Health Canada APIs by integrating several **open, no-login RESTful APIs** from global regulatory and clinical sources, including: - **RxNorm / RxNav (U.S. National Library of Medicine)** – standardized drug identifiers - **DailyMed API** – official drug labeling and structured product information - **ClinicalTrials.gov API** – clinical trials, study results, and global trial metadata -- These additions will help MedxR connect R users to a **truly global network of regulatory and pharmaceutical data**, while maintaining a clean, unified, and analysis-ready format in R. -- --- class: left, middle background-color: white <div style="position:absolute; top:40px; right:60px;"> <img src="D:/SOUTK_KOREA_DATASETS/logo_medxr_001.png" width="140px"/> </div> # Acknowledgements & Contact <br> -- - I would like to express my sincere gratitude to the **R/Pharma APAC 2025 Conference Committee** for the opportunity to share this work. -- - A special thanks to **Daniel Sabanés Bové**, Entrepreneur in **Biostatistics Consulting and Engineering**, for his continuous support and guidance in the weeks leading up to this presentation. -- - Thank you all for attending — it has been a pleasure sharing **MedxR** with you today. <br> 📧 **Contact:** [arenzocaceresrossi@gmail.com](mailto:arenzocaceresrossi@gmail.com) 🔗 **LinkedIn:** [linkedin.com/in/andrescaceresrossi](https://www.linkedin.com/in/andrescaceresrossi/) --- class: center, middle background-color: #ffffff <div style="text-align: center;"> <img src="D:/SOUTK_KOREA_DATASETS/logo_medxr_001.png" width="400px"/> <br><br> <h2 style="color:#003366;">Thank you!</h2> <p style="font-size:18px; color:#555555;">R/Pharma APAC 2025</p> </div>