################################################################################
#
#'
#' Utilities to Extract and Analyse Text Data From the Emergency Nutrition
#' Network (en-net) Forum
#'
#' **en-net** is the go to online forum for field practitioners requiring prompt
#' technical advice for operational challenges for which answers are not readily
#' accessible in current guidelines. The questions and the corresponding answers
#' raised within en-net can provide insight into what the key topics of
#' discussion are within the nutrition sector. This package provides utility
#' functions for the extraction, processing and analysis of text data from the
#' online forum.
#'
#' @docType package
#' @keywords internal
#' @name ennet
#' @importFrom magrittr %>%
#' @importFrom rvest html_nodes html_attr html_text
#' @importFrom xml2 read_html url_absolute
#' @importFrom tibble tibble
#' @importFrom dplyr bind_rows mutate first group_by count ungroup arrange
#' desc filter starts_with summarise
#' @importFrom stringr str_replace str_detect str_extract_all str_to_lower
#' str_replace_na str_remove_all
#' @importFrom lubridate dmy_hm month year ymd mday
#' @importFrom utils read.csv
#' @importFrom tidyr pivot_longer pivot_wider
#'
#
################################################################################
"_PACKAGE"
## quiets concerns of R CMD check on global variables
if(getRversion() >= "2.15.1") {
utils::globalVariables(c("Posted", "Month", "Theme", "Views", "Replies",
"Author", "Year", "n", "month_name", "week",
"week_name", "year_name", "Extraction",
"Extraction Date", "Interaction", "Link", "Topic",
"nInteractions", "nPosts", "dailies", "weeklies",
"monthlies", "Extraction Week", "Extraction Month",
"Extraction Year", "Extraction.Date",
"Extraction.Week", "Extraction.Month",
"Extraction.Year", "New.Views", "New.Replies", "."))
}
################################################################################
#
#' Deprecated functions in ennet
#'
#' These functions still work but will be removed (defunct) in the next version
#' of `ennet`.
#'
#' | **Function** | **Notes** |
#' | :--- | :--- |
#' | [count_topics()] | Please use [count_topics_theme()] instead |
#' | [count_authors()] | Please use [count_topics_author()] instead |
#'
#' @name ennet-deprecated
#'
#
################################################################################
NULL
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.