Open xiangwxt 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 hour
Great job team! This seems like a very interesting package and is definitely valuable to the intended audience as you have mentioned in your documentation. I hope you have used this package to find some interesting analytics from Twitter polls. Overall you have done an excellent job of creating this package. The documentation seems to be clear and concise on the usage of the functions and I was able to follow it well.
Further comments:
Minor suggestions:
get_poll_by_id
instead of get_poll_by_id()Functions get_polls_from_user:
Function get_poll_id(id)
, visualize_poll
Invalid argument type: input tweet_id must be a list of numeric IDs.
error when running this function. This can also be noted in the example usage page on read the docs: https://tweepypoll.readthedocs.io/en/latest/example.html .
Solution: When I checked the documentation I realized the data type for ID is string type so changing get_poll_by_id(1239677278193438722) to get_poll_by_id(['1239677278193438722']) should do it!Exception: The type of the argument 'poll_obj' mush be a dictionary
. Also looks like there is a typo in the exception error "must" instead of "mush"Consistency with the naming of the package
Tweepypoll
. I would suggest keeping the name consistently.I am excited to see future developments on this package and looking forward to seeing the R version of tweepypoll as well. Once again, great job with this package!
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 hour
Great job. the package is useful and can give insight. It was interesting that you put a note for This package and tell that you assume the user has a Twitter API Developer account, and the bearer token and give a link for those who are not familiar with the token. it was simply installed on my system by pip install tweepypoll
without any error. I liked your rationale about the usefulness of this package and its place in the Python ecosystem as it seems like existing Python packages that perform tweets text analysis and sentiment analysis do not have poll analysis. Good Job!
documentation:
In readme file you can add badges like c-cd badge or license badge, and also the link to the pytweet package. It makes your readme more professional
There are 9 branches in your repo, I believe as you are done with the one branch and merged it in main, just delete it.
The functions are ok, but documentation is somehow confusing. in get_poll_by_id
you define the parameter as a string but it is just a list. the list should be numeric, but for example, you pass sting.. you can modify it to avoid mistakes.
Tests:
Functions:
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:
Estimated hours spent reviewing:
1 hr
Hi guys, great work on this package. I can really see this making it so easy to automate the process of parsing twitter data! It's very user-friendly and I enjoyed testing it with some soccer-related twitter users' polls even though I don't even use twitter.
Some constructive feedback I have:
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 hour
I enjoy this package idea, and I think it is very creative and could be of great help to visualize the poll results especially for someone who checks for poll results frequently. Here are some observations from my review and I hope these will help with further improvement of the package.
get_polls_from_user('ElonMusk')
is better than get_polls_from_user('username')
. However, by running get_polls_from_user('ElonMusk')
as instructed in the descriptions, the returned list is empty. So, this 'ElonMusk' example might not be a good example to reflect the purpose of the function. example.ipynb
file in the docs directory, it was not mentioned anywhere in the Readme file. So, it might not be intuitive to find. Also, I did not find any links to the vignettes. It might be helpful to include links to the documentation or examples in the Readme file.example.ipynb
file under docs directory seems out of date. The outputs from the code checking the package version is still 0.1.0, which is a previously released version. The visualizations in the example usage is not rendered. poll = get_poll_by_id(1239677278193438722)
from example.ipynb needs to be updated as poll = get_poll_by_id([1239677278193438722])
. Again, the input should be a list of numeric number, not a numeric number.get_poll_by_id
function is noted as str
, while the example shows a list of string. get_poll_by_id(['1484375486473986049','1484375486473986049'])
Submitting Author: Wenxin Xiang (@xiangwxt), Rada Rudyak (@Radascript), Linh Giang Nguyen (@gn385x) Package Name: tweepypoll
One-Line Description of Package: A python package that allow users to extract and visualize poll data! Repository Link: https://github.com/UBC-MDS/tweepypoll Version submitted: v2.0.0 Editor: TBD Reviewer 1: Luming Yang Reviewer 2: Masha Sarafrazi Reviewer 3: Julien Gordon Reviewer 4: Arlin Cherian Archive: TBD Version accepted: TBD