Skip to contents

#' Extracts data from topics, including guest editors' paper counts excluding editorials, time between last submission and issue closure, and whether guest editors served as academic editors for any published papers. Includes names of journals participating in topic

Usage

topic_info(journal_urls, sample_size, sleep = 2, show_progress = TRUE)

Arguments

journal_urls

A list of MDPI topics URLs

sample_size

A number. How many topics do you want to explore from the main vector. Leave blank for all

sleep

Number of seconds between scraping iterations. 2 sec. by default

show_progress

Logical. If TRUE, a progress bar is displayed during the function execution. Defaults to TRUE.

Value

A data frame (class: data.frame) with the following columns:

topic

The URL of the topics contained in the topic, not considering editorial type articles

flags

Number of articles in the topic with guest editorial pressence

prop_flag

Proportion of articles in the topic in which a guest editor is present

deadline

Time at which the topic was or will be closed

latest_sub

Time at which last article present in the topic was submitted

rt_sum_vector2

Numeric vector showing number of articles in which each individual guest editor is present

aca_flag

Number of articles in the topic where the academic editor is a guest editor too

d_over_deadline

Day differential between topic closure and latest article submission

journals

List of journals participating in the topic

Examples

# \donttest{
ge_issue<-"https://www.mdpi.com/topics/mechanisms_resistance_plant_diseases_volume"
ge_info<-topic_info(ge_issue)
#> 
  |                                                                            
  |                                                                      |   0%
  |                                                                            
  |======================================================================| 100%
# }