R/get.r
gcomments.RdGet the comment records of an Steem ID within a period from SteemSQL gcomments means 'get comment information'.
gcomments(id = NA, from = Sys.Date() - 7, to = Sys.Date(), select = c("root_title", "root_comment", "created", "body"), sql_con, ylab = "Daily Comments", if_plot = FALSE)
| id | A character string of a Steem ID |
|---|---|
| from | A Date object or character in '2017-10-24' format of the beginning of the period |
| to | A Date object or character in '2017-10-24' format of the end of the period |
| select | A character string vector of the column names |
| sql_con | A SQL connection |
| ylab | Label on the y-axis |
| if_plot | A logic value of whether plot the time series |
A data frame of the comment information with a figure
# NOT RUN { gcomments() # }