Reporting date histogram

We can generate a histogram for the reporting date attribute with the following two lines:

ggplot(data = cash_flow_report,aes(y))+
geom_histogram(stat = 'count')

Which produces a quite...ehm...rectangular histogram:

Well, thinking a bit about it, it is actually a reassuring output: it shows us that all dates are recorded an equal number of times, and therefore that there is no missing record. We perform a final check on this looking at the sequence on the x axis: is there any date missing? No, so we can move on to the geographical area.

..................Content has been hidden....................

You can't read the all page of ebook, please click here login for view all page.
Reset