Open adammorphy opened 2 years ago
Please check off boxes as applicable, and elaborate in comments below. Your review is not limited to these topics, as described in the reviewer guide
The package includes all the following forms of documentation:
URL
, BugReports
and Maintainer
(which may be autogenerated via Authors@R
).Estimated hours spent reviewing: 1.5 Hours
Hello Group 10 members,
Congratulations, you did a great job on your package.
I have the following comments about your package:
It would be relevant to show examples of all functions in Usage and Example
in the README
like you did in the python version of the package for get_deaths
, get_recoveries
get_vaccinations
. You can also include a link to the vignettes to avoid including all the examples in this section
If you decided not to publish the package in CRAN, please remove the instructions install. packages("canadacovidmetricsR")
in the README.
You can add exception handling for incorrect values in the argument date
. When I run get_cases(loc = "BC", date = "2015-01-31")
, I got this error:
No encoding supplied: defaulting to UTF-8.
Error in `colnames<-`(`*tmp*`, value = `*vtmp*`) :
attempt to set 'colnames' on an object with less than two dimensions
This can be confusing for the user.
When running the functions I get a warning message related to the encoding. It would be great if you can suppress this
In the vignettes the example of usage for the function get_deaths
, returns an error. If I run get_deaths(loc = "BC", date = "2020-01-31")
. The error is because there are no deaths on this date so it is a missing value in the query. You can add exemption handling for those dates with missing values or change the vignette example.
The Contributing Document is missing. The link in the README file is not working.
Please check off boxes as applicable, and elaborate in comments below. Your review is not limited to these topics, as described in the reviewer guide
The package includes all the following forms of documentation:
URL
, BugReports
and Maintainer
(which may be autogenerated via Authors@R
).Estimated hours spent reviewing: 1hr
I think you have a great concept for your package. Easily accessible data is very important to understand the dynamics of the pandemic. I really like how simple it is to use your functions and the simple outputs it gives you! The majority of your package is good but, as always, there is room for improvement. Here are some specific items that you may want to address.
Please check off boxes as applicable, and elaborate in comments below. Your review is not limited to these topics, as described in the reviewer guide
The package includes all the following forms of documentation:
URL
, BugReports
and Maintainer
(which may be autogenerated via Authors@R
).Estimated hours spent reviewing: 1 hours
Hi Group 10,
Once again congratulations on completing the R package! The package is very handy to use and it is with clear instructions on how to install and navigate. Here are some comments that you may consider to improve in the future:
CANADA
or 'bc' then it doesn't work.get_cases(date = '2021-05-05')
returns record of 2020-05-05.get_recoveries(loc = c("BC", "AB"))
.Please check off boxes as applicable, and elaborate in comments below. Your review is not limited to these topics, as described in the reviewer guide
The package includes all the following forms of documentation:
URL
, BugReports
and Maintainer
(which may be autogenerated via Authors@R
).Estimated hours spent reviewing: 1 hour
Hi Group 10 members, great job on this R package. The package was a joy to use, and I just have several remarks for potential future improvement:
name: CanadaCovidMetrics about: Our package extracts covid data from OpenAPI, and formats the results in usable dataframes
Submitting Author Name: Adam Morphy Submitting Author Github Handle: !--author1-->@adammorphy<!--end-author1-- Other Package Authors Github handles: @Valli180, @LukeAC, @ming0701 Repository: https://github.com/UBC-MDS/canadacovidmetricsR Version submitted: v1.0.0 Submission type: Standard Editor: TBD Reviewers: Cuthbert Chow @cuthchow, Francisco Mejia @RamiroMejia, Margot Vore @voremargot, Thomas Siu @thomassiu
Archive: TBD Version accepted: TBD Language: en
Description
Scope
pkgcheck
items which your package is unable to pass.Technical checks
Confirm each of the following by checking the box.
This package:
Publication options
MEE Options
Code of Conduct