-
-
Notifications
You must be signed in to change notification settings - Fork 104
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
rfema: access data through the FEMA API. #484
Comments
Thanks for submitting to rOpenSci, our editors and @ropensci-review-bot will reply soon. Type |
🚀 The following problem was found in your submission template:
👋 |
Checks for rfema (v0.0.0.9000)git hash: dcc9bd2c
Important: All failing checks above must be addressed prior to proceeding Package License: MIT + file LICENSE 1. Statistical PropertiesThis package features some noteworthy statistical properties which may need to be clarified by a handling editor prior to progressing. Details of statistical properties (click to open)
The package has:
Statistical properties of package structure as distributional percentiles in relation to all current CRAN packages
The final measure (
1a. Network visualisationClick to see the interactive network visualisation of calls between objects in package 2.
|
name | conclusion | sha | date |
---|---|---|---|
R-CMD-check | success | dcc9bd | 2021-11-09 |
3b. goodpractice
results
R CMD check
with rcmdcheck
R CMD check generated the following note:
- checking dependencies in R code ... NOTE
Namespaces in Imports field not imported from:
‘dplyr’ ‘httr’ ‘plyr’ ‘rvest’
All declared Imports should be used.
R CMD check generated the following check_fail:
- rcmdcheck_imports_not_imported_from
Test coverage with covr
Package coverage: 90.56
Cyclocomplexity with cyclocomp
No functions have cyclocomplexity >= 15
Static code analyses with lintr
lintr found the following 75 potential issues:
message | number of times |
---|---|
Avoid 1:length(...) expressions, use seq_len. | 1 |
Avoid using sapply, consider vapply instead, that's type safe | 3 |
Lines should not be more than 80 characters. | 71 |
Package Versions
package | version |
---|---|
pkgstats | 0.0.2.72 |
pkgcheck | 0.0.2.107 |
Editor-in-Chief Instructions:
Processing may not proceed until the items marked with ✖️ have been resolved.
I'm sorry @dylan-turner25, I'm afraid I can't do that. That's something only editors are allowed to do. |
The most recent commit has attempted to address all of the failed initial checks. |
@ropensci-review-bot check package |
Thanks, about to send the query. |
🚀 The following problem was found in your submission template:
👋 |
Checks for rfema (v0.0.0.9000)git hash: 568c9783
Important: All failing checks above must be addressed prior to proceeding Package License: MIT + file LICENSE 1. Statistical PropertiesThis package features some noteworthy statistical properties which may need to be clarified by a handling editor prior to progressing. Details of statistical properties (click to open)
The package has:
Statistical properties of package structure as distributional percentiles in relation to all current CRAN packages
The final measure (
1a. Network visualisationClick to see the interactive network visualisation of calls between objects in package 2.
|
name | conclusion | sha | date |
---|---|---|---|
R-CMD-check | success | 568c97 | 2021-11-10 |
3b. goodpractice
results
R CMD check
with rcmdcheck
R CMD check generated the following note:
- checking dependencies in R code ... NOTE
Namespaces in Imports field not imported from:
‘dplyr’ ‘httr’ ‘plyr’ ‘rvest’
All declared Imports should be used.
R CMD check generated the following check_fail:
- rcmdcheck_imports_not_imported_from
Test coverage with covr
Package coverage: 90.56
Cyclocomplexity with cyclocomp
No functions have cyclocomplexity >= 15
Static code analyses with lintr
lintr found the following 75 potential issues:
message | number of times |
---|---|
Avoid 1:length(...) expressions, use seq_len. | 1 |
Avoid using sapply, consider vapply instead, that's type safe | 3 |
Lines should not be more than 80 characters. | 71 |
Package Versions
package | version |
---|---|
pkgstats | 0.0.2.72 |
pkgcheck | 0.0.2.107 |
Editor-in-Chief Instructions:
Processing may not proceed until the items marked with ✖️ have been resolved.
@ropensci-review-bot assign @emilyriederer as editor |
Assigned! @emilyriederer is now the editor |
Hi @dylan-turner25 ! 👋 It's nice to meet you, and I'm excited to be working with you on this package. I'm going to start seeking out good reviewers for this package. In the meantime, I wanted to direct your attention to a few items from the automated checks:
Thanks again ! |
@emilyriederer , thank you for the initial comments. The latest commit for the package has attempted to address each of these. |
Thanks @dylan-turner25 ! I'll take another look. I've also started reaching out to prospective reviewers. |
@ropensci-review-bot check package |
Thanks, about to send the query. |
🚀 The following problem was found in your submission template:
👋 |
Checks for rfema (v0.0.0.9000)git hash: f42a4d3c
Package License: MIT + file LICENSE 1. Statistical PropertiesThis package features some noteworthy statistical properties which may need to be clarified by a handling editor prior to progressing. Details of statistical properties (click to open)
The package has:
Statistical properties of package structure as distributional percentiles in relation to all current CRAN packages
The final measure (
1a. Network visualisationClick to see the interactive network visualisation of calls between objects in package 2.
|
name | conclusion | sha | date |
---|---|---|---|
R-CMD-check | success | f42a4d | 2021-11-15 |
3b. goodpractice
results
R CMD check
with rcmdcheck
R CMD check generated the following check_fail:
- no_import_package_as_a_whole
Test coverage with covr
Package coverage: 85.53
Cyclocomplexity with cyclocomp
No functions have cyclocomplexity >= 15
Static code analyses with lintr
lintr found the following 25 potential issues:
message | number of times |
---|---|
Avoid using sapply, consider vapply instead, that's type safe | 3 |
Lines should not be more than 80 characters. | 22 |
Package Versions
package | version |
---|---|
pkgstats | 0.0.2.72 |
pkgcheck | 0.0.2.107 |
Editor-in-Chief Instructions:
This package is in top shape and may be passed on to a handling editor
Thanks for the update @dylan-turner25 ! Adding the first reviewer now and still in search of a second. When I change the tag, the bot will give instructions for adding an "Under Review" tag to your README, so please do that! |
@ropensci-review-bot @fmichonneau as reviewer |
@ropensci-review-bot seeking reviewers |
Please add this badge to the README of your package repository: [![Status at rOpenSci Software Peer Review](https://badges.ropensci.org/484_status.svg)](https://github.com/ropensci/software-review/issues/484) Furthermore, if your package does not have a NEWS.md file yet, please create one to capture the changes made during the review process. See https://devguide.ropensci.org/releasing.html#news |
@ropensci-review-bot add @fmichonneau as reviewer |
@fmichonneau added to the reviewers list. Review due date is 2021-12-10. Thanks @fmichonneau for accepting to review! Please refer to our reviewer guide. |
@dylan-turner25 - please meet your reviewers @fawda123 and @fmichonneau ! Thanks so much to them both for volunteering their time. I'm excited to hear their thoughts on this package. |
Hi @fawda123 and @fmichonneau ! I hope you both are doing well. This is just a friendly reminder that the target review deadline for |
Package ReviewPlease check off boxes as applicable, and elaborate in comments below. Your review is not limited to these topics, as described in the reviewer guide
DocumentationThe package includes all the following forms of documentation:
Functionality
Estimated hours spent reviewing: 5
Review CommentsHi @dylan-turner25, thanks for the opportunity to review the Looking at the README, you make a nice case for why you developed the package. I particularly like that you showed a side-by-side comparison of how a query would work with and without For example, it looks like most of the function calls return date/time columns as characters, but consider having those columns formatted as POSIX objects to save the user time (maybe even formatted to the system timezone). This would be a nice added feature of your package that one would not get if building the API calls from scratch. One could readily plot time series data if the date/time columns were already formatted. The code for the example comparison that runs As an aside, I really like that the FEMA API does not require a key. I know this is completely out of your hands, but getting connected to an API is often a critical hurdle that can prevent others from using what very well may be a very helpful package. So, this is definitely a good-selling point because the package works out of the box without having to talk to a third-party. Perhaps emphasize this a bit more in the README/vignette, i.e., most other APIs require a "complicated" token exchange process, etc. I think one of the major issues a naive user would have is understanding the datasets available from the API. I really appreciate that you've included a function to view what's available ( Also going through the vignette, it seems like one limitation of the package is that the data needs to be downloaded first to identify values that are queryable. There's one point in the vignette where you state that the Another limitation is that you've hard-coded the download from which the queryable parameters are identified to the first 1000 rows, so this very likely does not represent the entire suite of parameters in a column of the entire dataset. If the API only provides the ability to download the data, then there's no way around the issue, but you should state this in the vignette so users are aware of the limitation. Personally, I would just download all of the data for a table I'm interested in, then query later in R (using Finally, I really like the examples at the end of the vignette. These gave me a good sense of how I could use this package to address some more general questions. I suspect many users will find this section of the vignette helpful. One minor concern about the examples is I would not use Coding issuesMinor issue, but on the README file, please update the badge link for the RCMD checks to GitHub Actions. It currently goes to a .svg file for the Use this:
Instead of this:
I've also noticed a few typos on the README, vignette, and function docs. Please make sure to proofread since I'm not sure the automated package checks have caught everything. Other than that, the package structure seems pretty solid. The testing infrastructure on GitHub Actions is very comprehensive (covers multiple platforms and R versions) and I did not even notice a single ERROR, WARNING, or NOTE for any of the checks. Code coverage at ~85% is pretty good too. Nice work! Cheers, |
Thank you for the thoughtful review, @fawda123 ! @fmichonneau , do you have a sense when your review may be ready? Thank you! |
Package Review
DocumentationThe package includes all the following forms of documentation:
The need for the package is well justified. When reading quickly the README the first time, I was slightly confused by the first block of code that demonstrates what it would be to not have the package to work with this data. I suggest adding a comment in the block of text to clarify this: ropensci/rfema#3
The installation instructions are straightforward. I suggest you recommend your users to use the
The vignette is clear and comprehensive. However, the source of the vignette file is in the
It's only something to worry about after the approval, but it'd be useful to add the URL for the pkgdown-generated site in the GitHub repo info. I also notice that
If you plan to submit your package to CRAN, I recommend you wrap your examples in your function help pages with
The link to the code of conduct from the CONTRIBUTING file is broken. Functionality
Estimated hours spent reviewing: 5
Review CommentsThanks for the opportunity to review your package @dylan-turner25. I really don't know much about this domain so it is difficult for me to come up with good questions to try to explore the package and the FEMA API on my own. However, your vignette and the examples give a good indication of how to use the package and interact with the API. I especially appreciated the extra examples you provide in the vignette. I think the package's interface gives the appropriate building blocks to interact with an API that provides access to a lot of relatively complex data. I agree with everything that @fawda123 said in his excellent and comprehensive review (I read his review only after interacting with the package for a little bit). He expressed elequantly the main things I found about the package so I'm not going to repeat them. I do encourage you to proofread carefully your README, vignette, and help files. The I noticed that you use I submitted a few pull requests on your package for suggestions to improve/simplify the code. Don't hesitate to let me know if you have questions:
Great work on this package and on making public data easily accessible in the R ecosystem! |
Thanks @fmichonneau for the great review and even PRs! That's really nice. @dylan-turner25 , the ball is back in your court now! Please take some time to review the feedback from our reviewers and incorporate changes. We typically aim for this step to take ~2 weeks. Feel free to use this thread to ask reviewers any questions about their feedback that you have along the way. |
@ropensci-review-bot submit review #484 (comment) time 5 |
Logged review for fmichonneau (hours: 5) |
@ropensci-review-bot submit review #484 (comment) time 5 |
Logged review for fawda123 (hours: 5) |
@fmichonneau and @fawda123, thank you both for taking time to review this package. Peer reviewing can be a thankless job, but know that your time spent on this is much appreciated. I think all the suggestions made are good ones and will start working on implementing them. |
@emilyriederer, @fawda123 , and @fmichonneau, I have incorporated all the feedback I received and documented all the changes made in the NEWS.md file. I'll note that I'm still kind of perplexed on the best practices for making vignettes available. My understanding is a package down site will document everything once the package is hosted with the other rOpensci packages. When I generate the package down site for this package, everything seems to be working as intended with all documentation and vignettes made available. I also made a copy of my vignette as a .md file so it can be viewed directly on Github (the README links directly to this .md file). Let me know if some other method of vignette distribution is a better choice. Thanks again for all your feedback, |
Generally, you write your vignette as an Rmd file in the When you build your package (using The If you leave it as it is, your vignette would only be available from the |
@fmichonneau , thank you for the explanation. I just pushed a new commit that removed the path to my vignette's .Rmd file from |
Hey @dylan-turner25 - thanks for working through the review feedback! @fmichonneau and @fawda123 , if you could please take on final look and confirm with the approval template, that would be great! |
It's all good on my end! Great work @dylan-turner25! Reviewer ResponseFinal approval (post-review)
|
Hey @fawda123 ! Just checking in - if you could please take a look at @dylan-turner25 's updates and let us know if we have your final approval, that would be great! |
Hi there, apologies for the delay. The revisions look fantastic, I especially like the addition of the Everything looks good on my end, nice work @dylan-turner25! Reviewer ResponseFinal approval (post-review)
Estimated hours spent reviewing: 6 |
@ropensci-review-bot approve rfema |
Approved! Thanks @dylan-turner25 for submitting and @fmichonneau, @fawda123 for your reviews! 😁 To-dos:
Should you want to acknowledge your reviewers in your package DESCRIPTION, you can do so by making them Welcome aboard! We'd love to host a post about your package - either a short introduction to it with an example for a technical audience or a longer post with some narrative about its development or something you learned, and an example of its use for a broader readership. If you are interested, consult the blog guide, and tag @stefaniebutland in your reply. She will get in touch about timing and can answer any questions. We maintain an online book with our best practice and tips, this chapter starts the 3d section that's about guidance for after onboarding (with advice on releases, package marketing, GitHub grooming); the guide also feature CRAN gotchas. Please tell us what could be improved. Last but not least, you can volunteer as a reviewer via filling a short form. |
@ropensci-review-bot finalize transfer of rfema |
Transfer completed. The |
Date accepted: 2022-01-23
Due date for @fmichonneau: 2021-12-10Reviewers:
Submitting Author Name: Dylan Turner
Submitting Author Github Handle: @dylan-turner25
Repository: https://github.com/dylan-turner25/rfema
Version submitted: 0.0.0.9000
Submission type: Standard
Editor: @emilyriederer
Reviewers: @fmichonneau, @fawda123
Due date for @fawda123: 2021-12-14
Archive: TBD
Version accepted: TBD
Language: en
Scope
Please indicate which category or categories from our package fit policies this package falls under: (Please check an appropriate box below. If you are unsure, we suggest you make a pre-submission inquiry.):
Explain how and why the package falls under these categories (briefly, 1-2 sentences):
rfema
allows users to access The Federal Emergency Management Agency's (FEMA) publicly available data through the open FEMA API. The package provides a set of functions to easily navigate and access all data sets provided by FEMA, including (but not limited to) data from the National Flood Insurance Program and FEMA's various disaster aid programs.Who is the target audience and what are scientific applications of this package?
rfema
is intended to be used by researchers that require the use of data that is available through the FEMA API, but may not have familiarity in working with APIs.Are there other R packages that accomplish the same thing? If so, how does yours differ or meet our criteria for best-in-category?
I am unaware of any other packages that offer similar functionality.
N/A
Technical checks
Confirm each of the following by checking the box.
This package:
Publication options
Do you intend for this package to go on CRAN?
Do you intend for this package to go on Bioconductor?
Do you wish to submit an Applications Article about your package to Methods in Ecology and Evolution? If so:
MEE Options
Code of conduct
The text was updated successfully, but these errors were encountered: