#' @import reticulate
extract_case_counts <- function(article_text) {
if (!nlp_avail) {
stop("NLP not available without Python")
}
out <- nhcNlp$extract_case_counts(article_text)
return(out)
}
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.