Visualize the time series data (time series) in R language, and use the geom_textsmooth function of the geomtextpath package to set the trend text label in the area where the time series needs to be labeled
Installation of the #geomtextpath package
# install.packages("remotes")
remotes::install_github("AllanCameron/geomtextpath")
#Install and import packages and libraries
li