Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

Already on GitHub? Sign in to your account

row names for 0 counts #21

Open
helix123 opened this Issue Jun 25, 2017 · 0 comments

Comments

Projects
None yet
1 participant

There are some occasions where the count is 0 but it seems implausible. Maybe this is due to the server being offline this day. Whatever caused the 0, the row names for that row are not in sequence after that date anymore, see below:

b <- cranlogs::cran_downloads(from="2016-01-01", to="2016-12-31", packages = c("ggplot2"))

head(b, 35)
          date count package
1   2016-01-01  2822 ggplot2
2   2016-01-02  3135 ggplot2
3   2016-01-03  3124 ggplot2
4   2016-01-04  7788 ggplot2
5   2016-01-05  7669 ggplot2
6   2016-01-06  8144 ggplot2
7   2016-01-07  8405 ggplot2
8   2016-01-08  7641 ggplot2
9   2016-01-09  4170 ggplot2
10  2016-01-10  4103 ggplot2
11  2016-01-11  8640 ggplot2
12  2016-01-12  9702 ggplot2
13  2016-01-13  9255 ggplot2
14  2016-01-14  8894 ggplot2
15  2016-01-15  8146 ggplot2
16  2016-01-16  5411 ggplot2
17  2016-01-17  4577 ggplot2
18  2016-01-18  8759 ggplot2
19  2016-01-19  9553 ggplot2
20  2016-01-20 10585 ggplot2
21  2016-01-21 10023 ggplot2
22  2016-01-22  8350 ggplot2
23  2016-01-23  4690 ggplot2
24  2016-01-24  5263 ggplot2
25  2016-01-25 10046 ggplot2
26  2016-01-26  9741 ggplot2
27  2016-01-27 10819 ggplot2
28  2016-01-28 10622 ggplot2
29  2016-01-29  9362 ggplot2
30  2016-01-30  4389 ggplot2
31  2016-01-31  4951 ggplot2
32  2016-02-01  9863 ggplot2
33  2016-02-02 10677 ggplot2
355 2016-02-03     0 ggplot2
34  2016-02-04 10036 ggplot2
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment