UBC-MDS / software-review-2022

0 stars 0 forks source link

Submission Group 03: gdphelperr (R) #11

Open gfairbro opened 2 years ago

gfairbro commented 2 years ago

Submitting Author Name: Gabriel Fairbrother Submitting Author Github Handle: !--author1-->@gfairbro<!--end-author1-- Other Package Authors Github handles: (comma separated, delete if none) @aldojasb, @ramiromejia, @gloriawyy Repository: https://github.com/UBC-MDS/gdphelperR Version submitted: Submission type: Standard

Archive: TBD Version accepted: TBD Language: en

Package: gdphelperR
Title: Summarize GDP Data and Make Plots
Version: 0.0.0.9000
Authors@R: 
    c(person("Aldo", "Barros", , "aldosaltao@gmail.com", role = c("aut", "cre")),
    person("Gabe", "Fairbrother", , "gfairbrother@gmail.com", role = c("aut", "cre")),
    person("Wanying", "Ye", , "wanying.ye2020@gmail.com", role = c("aut", "cre")),
    person("Ramiro", "Mejia", , "ramiromejiap@gmail.com", role = c("aut", "cre")))
Description: What the package does (one paragraph).
License: MIT + file LICENSE
Encoding: UTF-8
LazyData: true
Roxygen: list(markdown = TRUE)
RoxygenNote: 7.1.1
URL: https://github.com/GloriaWYY/gdphelperR
BugReports: https://github.com/GloriaWYY/gdphelperR/issues
Config/testthat/edition: 3
Imports: 
    stats,
    dplyr,
    readr,
    utils,
    stringr,
    ggplot2,
    vdiffr,
    testthat,
    tibble,
    rlang,
    tidyselect
Suggests: 
    rmarkdown,
    knitr
VignetteBuilder: knitr

Scope

This package is used to download, extract and format data from the open government portal. It also has a data visualisation element which is not listed above.

Data analysts, statisticians or any interested party looking to use data on historical GDP across Canada.

Not with specific scope for this data.

NA

Technical checks

Confirm each of the following by checking the box.

This package:

Publication options

MEE Options - [ ] The package is novel and will be of interest to the broad readership of the journal. - [ ] The manuscript describing the package is no longer than 3000 words. - [ ] You intend to archive the code for the package in a long-term repository which meets the requirements of the journal (see [MEE's Policy on Publishing Code](http://besjournals.onlinelibrary.wiley.com/hub/journal/10.1111/(ISSN)2041-210X/journal-resources/policy-on-publishing-code.html)) - (*Scope: Do consider MEE's [Aims and Scope](http://besjournals.onlinelibrary.wiley.com/hub/journal/10.1111/(ISSN)2041-210X/aims-and-scope/read-full-aims-and-scope.html) for your manuscript. We make no guarantee that your manuscript will be within MEE scope.*) - (*Although not required, we strongly recommend having a full manuscript prepared when you submit here.*) - (*Please do not submit your package separately to Methods in Ecology and Evolution*)

Code of conduct

nobbynguyen commented 2 years ago

Package Review

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

Documentation

The package includes all the following forms of documentation:

Functionality

Estimated hours spent reviewing: 1,5hour


Review Comments

Estimated hours spent reviewing: 1 hour

Hi team gdhelper! The package is well documented and well-organized. I attempted to run check() and everything works well. I just have some minor comments on the package as follows:

Overall, these are all very minor suggestions and I find the package has a clear purpose and the functions are easy to use.

jcasoli commented 2 years ago

Package Review

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

Documentation

The package includes all the following forms of documentation:

Functionality

Estimated hours spent reviewing: 1.5 hours


Review Comments

Love the package! I think you've done a great job making it easy to work with data from the open government portal. I only have a few minor ideas for improvement:

  1. In the gdpplotterr() function, I think it would be really cool if you could also pass in a vector of province names as an argument. This would easily allow me to get a quick glance at the GDP's of the provinces i'm interested in. At the same time It's a bit hard to read the current graph output as there are 11 different lines that show up.

  2. Although there is a brief description in the README file, I think it would be super helpful to have an even more flushed out statement of need. ie even though it may be somewhat obvious.. what problem does your package solve? Why is it needed?

  3. Overall really nice job on the documentation! I found it super easy to install the package and get started right away using the different functions. The only thing I noticed was that maybe the vignette could provide some additional context over and above just how the package functions work. For example, it would be great if it provided some additional information about what kind of data the package works on and where to access the data.

  4. Even though the code is well commented, I think there are some areas where more useful (high level) comments could be given. For example, in gdpimporter.R, there is a code block from line 36-52 that I think could be made more clear with a useful comment at the beginning of the block.

  5. Very small thing, but you could consider renaming your functions according to section 1.3 of the rOpenSci packaging guide. What this boils down to is changing your function name structure from objectverb() to object_verb()

gauthampughazhendhi commented 2 years ago

Package Review

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

Documentation

The package includes all the following forms of documentation:

Functionality

Estimated hours spent reviewing: 1 hour 30 minutes


Review Comments

  1. The function APIs are simple, intuitive and it's very easy to use if someone with no previous experience using this package wants to incorporate the functionalities provided into their work.
  2. The function names can be improved by making them start with an action verb such as read.csv(), the words can be separated by _, and the function names need not end with "r" which is a package naming convention.
  3. Good work in allowing the user to pick the statistics that they wish to explore with good defaults as part of the gdpdescriberr() function.
  4. Though gdpdescriberr() function allows the user to pick the stats, it calculates all the stats irrespective of what the user wanted and then filters the results. This can be further improved by calculating only the stats that the user wanted.
  5. Good work in extracting the global variables used in the source files into a separate file called globals.R.
rrrohit1 commented 2 years ago

Package Review

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

Documentation

The package includes all the following forms of documentation:

Functionality

Estimated hours spent reviewing:


Review Comments

Again, great work guys! The package is consistent with your other work and the descriptions of your functions are apt. The use of API to extract open source increase the reach of the package and its users.

Minor suggestions: