# \donttest{
# Search for diabetes clinical trials
results <- search_pubmed(
search_terms = c("diabetes", "clinical trial"),
max_results = 100,
date_range = c("2020-01-01", "2023-12-31")
)
# Use with SearchAnalyzer
analyzer <- SearchAnalyzer$new(results)
metrics <- analyzer$calculate_metrics()
# }
Run the code above in your browser using DataLab