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:
setup.py
file or elsewhere.Readme requirements The package meets the readme requirements below:
The README should include, from top to bottom:
Reviewers are encouraged to submit suggestions (or pull requests) that will improve the usability of the package as a whole. Package structure should follow general community best-practices. In general please consider:
Note: Be sure to check this carefully, as JOSS's submission requirements and scope differ from pyOpenSci's in terms of what types of packages are accepted.
The package contains a paper.md
matching JOSS's requirements with:
Estimated hours spent reviewing:
1.5 hours
Hello Group 10 members,
Congratulations, you did a great job on your package.
Overall, your repo is well organized, everything is easy to find and your package complies with all the requirements asked in the Milestones.
I have the following comments about your package:
I found some inconsistencies in the Usage & Example section of your README
file and in the published documentation. The examples for National vaccination completion in 2021
and for Daily new case count by province
are not running correctly because of the name of the 'date' column produced by the query.
In the published documentation, the code is running a Module not Found
error in the examples section.
The main functionality of the package is the query of data, so, it would be relevant to show the output datasets (a few rows of data). I think it would be great if you can show more examples on how to query data using different arguments like date or location
You can make your functions more robust by adding exception handling for the argument after
. If I enter an invalid date E.g "2000-01-01" or "2019-12-31" we should expect an error message to let the user know the date does not make sense or there is no data for those dates.
I tried to retrieve the deaths from "2020-01-01" to "2020-03-01", it seems like there is no data for those dates, this is an expected outcome because it was the start of the pandemic. However, the error that the function shows is a "KeyError", this could be confusing because the date format entered is correct. You can try to add some exception handling for those dates that do not have data.
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:
setup.py
file or elsewhere.Readme requirements The package meets the readme requirements below:
The README should include, from top to bottom:
Reviewers are encouraged to submit suggestions (or pull requests) that will improve the usability of the package as a whole. Package structure should follow general community best-practices. In general please consider:
Note: Be sure to check this carefully, as JOSS's submission requirements and scope differ from pyOpenSci's in terms of what types of packages are accepted.
The package contains a paper.md
matching JOSS's requirements with:
Estimated hours spent reviewing:
Hi Group 10,
Congratulations and well done on developing the package! All the contents are well organized, and clear examples are provided in the readme which is really great. The 100% code coverage is really an exceptional job!
Here are some of the comments for your considerations to improve. Note that I created a new conda environment with only python 3.9 installed for the test.
README
so that the users can install it along with this package. For example, when I run the installation and the first example, I realized that matplotlib
is required.KeyError: 'date_vaccine_completed'
. I also found that the test case does not check against this column (line #119) in test_canadacovidmetrics.py
ccm.get_cases()
, the code ccm.get_cases().set_index('date_report')
throws error of "None of ['date_report'] are in the columns"
. get_recoveries
is added back to readme examplesbefore
must be smaller or equal to after
, instead of throwing Key error.Once again, congratulations team on the nice work!
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:
setup.py
file or elsewhere.Readme requirements The package meets the readme requirements below:
The README should include, from top to bottom:
Reviewers are encouraged to submit suggestions (or pull requests) that will improve the usability of the package as a whole. Package structure should follow general community best-practices. In general please consider:
Note: Be sure to check this carefully, as JOSS's submission requirements and scope differ from pyOpenSci's in terms of what types of packages are accepted.
The package contains a paper.md
matching JOSS's requirements with:
Hi Group 10 members,
Excellent work on the canadacovidmetrics package! Generally, the package is well produced and well documented, and it was easier to install the software for myself to use and explore. However, I just have some several specific remarks which you may want to consider for future improvements to this Python package:
from canadacovidmetrics.get_vaccinations import get_vaccinations
. get_recoveries()
function, which may be helpful to some usersPlease 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:
setup.py
file or elsewhere.Readme requirements The package meets the readme requirements below:
The README should include, from top to bottom:
Reviewers are encouraged to submit suggestions (or pull requests) that will improve the usability of the package as a whole. Package structure should follow general community best-practices. In general please consider:
Estimated hours spent reviewing: 1hr
You did a good job with your package. While it is simple it makes the task of getting covid data easy and efficient. Below you will see some suggestions to improve your model in future releases!
date_vaccine_complete
was not found as a column name. I think this should call should be date
not date_vaccine_complete
.None of ['date_report'] are in the columns
. As a user I am unsure what this error means and do not know how to easily fix it. key error: Date
. This error could be clearer for the user so they know what has gone wrong.
Submitting Author: Name @adammorphy Package Name: CanadaCovidMetrics One-Line Description of Package: Return up to date covid-19 data in Canada in usable Pandas DataFrames Repository Link: https://github.com/UBC-MDS/canadacovidmetrics Version submitted: v1.1.0 Editor: TBD Reviewer 1: Cuthbert Chow @cuthchow, Reviewer 2: Francisco Mejia @RamiroMejia Reviewer 3: Margot Vore @voremargot Reviewer 4: Thomas Siu @thomassiu Archive: TBD Version accepted: TBD
Description
Scope
* Please fill out a pre-submission inquiry before submitting a data visualization package. For more info, see notes on categories of our guidebook.
- Who is the target audience and what are scientific applications of this package?
- Are there other Python packages that accomplish the same thing? If so, how does yours differ?
@tag
the editor you contacted:Technical checks
For details about the pyOpenSci packaging requirements, see our packaging guide. Confirm each of the following by checking the box. This package:
Publication options
JOSS Checks
- [ ] The package has an **obvious research application** according to JOSS's definition in their [submission requirements][JossSubmissionRequirements]. Be aware that completing the pyOpenSci review process **does not** guarantee acceptance to JOSS. Be sure to read their submission requirements (linked above) if you are interested in submitting to JOSS. - [ ] The package is not a "minor utility" as defined by JOSS's [submission requirements][JossSubmissionRequirements]: "Minor ‘utility’ packages, including ‘thin’ API clients, are not acceptable." pyOpenSci welcomes these packages under "Data Retrieval", but JOSS has slightly different criteria. - [ ] The package contains a `paper.md` matching [JOSS's requirements][JossPaperRequirements] with a high-level description in the package root or in `inst/`. - [ ] The package is deposited in a long-term repository with the DOI: *Note: Do not submit your package separately to JOSS*Are you OK with Reviewers Submitting Issues and/or pull requests to your Repo Directly?
This option will allow reviewers to open smaller issues that can then be linked to PR's rather than submitting a more dense text based review. It will also allow you to demonstrate addressing the issue via PR links.
Code of conduct
Editor and Review Templates
Editor and review templates can be found here