Open lirnish 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:
2.5 hours
Congratulations group 27 and well done on your covizpy
package! It's a well-organized and user-friendly package for anyone with basic python programming knowledge to quickly understand the covid-19 data summaries. Overall, I think your project is well designed. Some highlights are the package repo is clearly structured, mostly everything required being included, easy to follow, and the written documentation being very well organized which is simple to follow.
I have a few recommendations for improvement:
get_data
. location
in the function plot_summary
(var
input), plot_spec
, and plot_metric
are optional but they are built based on whatever input is entered in the function get_data
. Maybe this needs to be clearly documented in the docstring, and so we don't run into below unclear presentation.
get_data
be always the first to run prior to others? Like the function is listed in the third under Features. alt.renderers.enable('mimetype')
might save a backup image of each Altair plot as a PNG so that we can see the plots in output. Other than above minor suggestions, I feel that the code is in a good state; again, great work team, I really enjoyed reading through this. Thank you.
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
The package looks very neat and cool in general. The documentations are clear and easy to follow, in which users with little python programming skills could use this handy visualization tool without any barrier. The pipeline for data retreival and visualization are seamless, and the charts could present the data clearly.
Here are some recommendations and suggestions that you might work on for the future:
plot_spec
and plot_summary
both have df
as their primary input, while plot_metric
does not. This might confused the users a bit, and I suggest that all the plotting functions could consider using similar function interface and keyword arguments so that the user experience would be smoother.date_from
and date_to
for plot_metric
are setting it to two actual date, while the other functions set the range to 7 days prior to the current date.get_data
is a pandas dataframe, where its date
column is in datatype of pandas.Timestamp
, you might consider support such datatype as input for arguments like date_from
and date_to
. I believe it could enhance the usability of the package when users want to play around with the data set.plot_summary
, the argument fun
only accept string object. However as a user, I don't know what could I input for the parameter apart from "sum". I suggest that you might put a list of possible values for this particular argument in the documentation. It is also suggested that a function or lambda could be passed to the argument so that users could defined their own aggregate functions. plot_metric
do not have an example section. I think adding the section could make the whole package more unified and easier for users to follow.Apart from the minor concerns stated above, the package in general is already so comprehensive and ready-to-use. I really appreciate that you could make the data visualization much easier for non-tech people with this package. Thank you!
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: 2 hours
Great job team! The package seems extremely helpful for beginners who wish to visualize the trend of Covid-19 cases and draw meaningful conclusions. I found the installation and the functions extremely smooth to work with. The README is also very well structured.
For further improvement, I suggest the following changes:
The function descriptions in the README file can include the input variables and their data types so that users have a clear idea of the requirements for the functions.
The plot_spec
function does not check for the correctness of the location name. I tried to input the country 'USA' (correct input is 'United States') but the plot does not throw an error. It just does not consider the incorrect input location.
The functions can be more flexible in terms of input data types. For example, you could accept more date formats instead of limiting the input type to YYYY-MM-DD.
Lastly, to amp up the 'wow' factor, you could make the plots interactive. I personally find interactive plots very fascinating and would love to use packages that offer this functionality.
In summary, I really liked the inspiration of the package and would definitely be using it to keep abreast of the Covid-19 cases.
Submitting Author: Rohit Rawat (@rrrohit1), Rong Li (@lirnish), Thomas Siu (@thomassiu), Ting Zhe Yan (@ytz) Package Name: covizpy One-Line Description of Package: Python package for easily visualizing COVID-19 statistics Repository Link: https://github.com/UBC-MDS/covizpy Version submitted: 1.0.23 Editor: Rohit Rawat (@rrrohit1), Rong Li (@lirnish), Thomas Siu (@thomassiu), Ting Zhe Yan (@ytz) Reviewer 1: Sukhleen Kaur (@sukhleen999) Reviewer 2: Philson Chan (@PhilsChan) Reviewer 3: Kingslin Lv (@Kingslin0810)
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.
Explain how the and why the package falls under these categories (briefly, 1-2 sentences):
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?
If you made a pre-submission enquiry, please paste the link to the corresponding issue, forum post, or other discussion, or
@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
P.S. *Have feedback/comments about our review process? Leave a comment here
Editor and Review Templates
Editor and review templates can be found here