Hi,
I'm new in R, and sorry in advance if my question is super simple.
I am having difficulties grouping_by time hourly with the counts of the column(numbers). In my df Time column had initially "character" class, then I converted to "Period"

Apparently, I can't use group_by function for this class
Error in UseMethod("group_by") :
no applicable method for 'group_by' applied to an object of class "c('Period', 'Timespan', 'numeric', 'vector')"

The {lubridate} has good facilities for dealing with date times, so let's construct a toy data frame to see how you could make hourly time counts. The example below uses the analogous process of summarizing observations by day, since hourly data was easier to make up than by minute.

Thank you very much for the answer. I have a data frame with number of cases happened in particular time during the day. So I wanted to group the number of cases hourly for 24 hours in order to display total number of cases every hour during the day in a line graph to the see whether there is a dependence with time.