-
-
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
nomisr #190
Comments
Hi all, submitting this as a presubmission because I'm not sure how much it fits with rOpenSci's remit. Best, Evan |
👋 @evanodell I will also be the editor on your submission, so stay tuned for next steps. |
nomisrEditor checks:
Editor commentsHere are results of a check on the good practice package on some best practices. You can re-run this yourself (as you fix issues) by running
Reviewer 1: @cderv Reviewer 2: @pegeler |
Package Review for
|
I'm not the editor handling this review but I find that it is a very good review @cderv, thank you! |
Quick note: I’ll be away from the internet for about a week and will be back online around 02/21. So I will be back to editorial activities shortly. |
Package Review for
|
@hi @cderv and @pegeler, thank you both of you very much for your helpful comments and suggestions, apologies for not being able to respond to them sooner. Response to @cderv
Response: I've added a similar example to the vignette, which is similar enough to your example that I feel I should cite you as a contributor if that is okay.
Response: Added a CONTRIBUTING.md in ropensci/nomisr@e4bbb02
Response: Now only using Authors@R
Response: I a code of conduct in ropensci/nomisr@ede3558 and
Response: Now following versioning best practice in development version
Response: I've added more details to the README, including more details on Nomis itself, a simple example and citation information.
Response: As mentioned above, I've added your suggestions on exploring list-columns to the vignette, and fixed the online formatting issues. I've changed echo to TRUE to show code, pre built vignette in ropensci/nomisr@1c9cd3f
Response: I've changed \dontrun{} to \donttest{} in ropensci/nomisr@ac3e5a4
Response: I have changed the names in examples in ropensci/nomisr@ac3e5a4 to be more descriptive of the data they are actually retrieving, and added a print call so the head is actually displayed.
Response: I've removed the very long examples from nomis_get_data ropensci/nomisr@ac3e5a4 - I considered wrapping them in \dontrun{} but I think dropping them is the better option.
Response: Thank you!
Response: I keep all the source code for my documentation website in my docs repo. I did this so I could host on netlify with a custom domain and https encryption and not have to use separate subdomains for each package. I'm not sure if that is the best option or not.
Response: I've turned the API URL into its own variable in ropensci/nomisr@ac3e5a4
Response: I've dropped suppressMessage and used
Response: I've dropped the use of case_when and if_else in favour the the style you described above in ropensci/nomisr@ac3e5a4.
Response: I've added Response: I've gone through the code and changed temporary variable names to be more meaningful, and formatted the code to improve indentation, spaces around if and for operators, ==, etc.
Response: I've used
Response: I was not aware of it, but it is something I should explore for the future, thank you for pointing me towards it. Response to pegeler
The README.md does not contain citation information, per rOpenSci packaging guide. Reponse: Added in ropensci/nomisr@b75a47d
Response: I've added a minimum version of R (>= 3.4.0) to the DESCRIPTION in ropensci/nomisr@b75a47d Response: Not including curl was causing errors with jsonlite on travis - I'm not sure why, as jsonlite is supposed to import curl itself.
Response: I've hardcoded 2018 into the CITATION file in ropensci/nomisr@b75a47d, which I think is the easiest solution, as its the year the package was first released, although I'm open to other suggestions as well. Documentation
Response: I've expanded the documentation and used roxygen tags to improve organisation. I've also added an expanded explanation to the package vignette, all in ropensci/nomisr@b75a47d
Response: I've added glimpsing to the examples in different functions, and removed long-running API calls, which aren't good practice due to rate limiting, as of ropensci/nomisr@b75a47d
Response: I've now pre-built the vignette, and expanded on the various sections in ropensci/nomisr@1c9cd3f
Response: I have re-written nomis_search in keeping with your suggestions. It now accepts five parameters - name, description, keywords, content_type, units - and can search in any or all of them at the same time, with or without wildcards, and each parameter accepts character vectors of multiple queries. I've also added a nomis_content_type() function to assist in looking up specific content types, which may be used with nomis_search(). All in ropensci/nomisr@b75a47d
|
Hi @evanodell Great work ! And thanks a lot for your answer formatting just above. It is very easy to follow how you took our comments into account. Nice. I updated my first post by checking some boxes ✅ and ⏲ of review. I still have a few remarks after taking another pass on your updated code Package WebsiteNice idea to centralize all your documentation. However, there is still a few things to adjust as I get 404 error navigating through doc. I can only view the reference page of the package but not the vignette for example. Must be something to do with how Contributing.mdGreat addition. Two things:
ReadmeGreat improvement !! I find it now a good introduction to your 📦 with nice examples.
About formatting, take care : links won't works when between single quote ``.
must be changed to
in order to get Also, you need to keep in mind to synchronise your VignettesIt looks good ! No problem to take the example I gave you. It was just to illustrate, it could be rework but if you found it useful to you, it could be useful to other. about curl and travisI read something on that but I did not found it. Sorry. It may worth asking on ropencsi forum, rstudio community. About download data limitI saw you wanted to do something with I think your 📦 is ready ! Very nice work, I still find it a simple one but powerful one as always with data packages. Thanks! |
Thank you @cderv I did not know about I've split off the the The curl and travis issue seems to stem from the internal Regarding pkgdown, |
Enhancements to documentation as part of rOpenSci review ropensci/software-review#190
Package Review for
|
@evanodell Well done! I am really impress with the evolution of this really a great 📦 from the beginning of the review and now. Awesome work ! Thanks for having taken into account our advices, I really appreciated it like @pegeler. It was really a pleasure to review your package and it gave me the chance to discover the NOMIS database. I think your package is a great example of using a simple api and prepare the data return to an easier and practical format for the users. I agree with @pegeler, this package is more than ready to ✨ in ropensci 📦 collections! @karthik, what are the following steps ? |
A few minor edits prior to submitting second round of review. ropensci/software-review#190
Congrats @evanodell! Your submission is now approved and accepted! 🎉 Thank you for submitting and many thanks to @cderv and @pegeler for thorough and timely reviews. To-dos:
Welcome aboard! We'd also love a blog post about your package, either a short-form intro to it (https://ropensci.org/tech-notes/) or long-form post with more narrative about its development. ((https://ropensci.org/blog/). If you are, @stefaniebutland will be in touch about content and timing. |
Thanks @karthik! I'm more than happy to write something up on the package, whichever format you prefer. |
Hi @evanodell. Great to hear you're interested in contributing a post about You can read example narrative posts about onboarded packages here: https://ropensci.org/tags/onboarding/ and technotes are here: https://ropensci.org/technotes/ Technical and editorial guidelines: https://github.com/ropensci/roweb2#contributing-a-blog-post. The only difference in YAML for technote is
I will add the topicid before publishing. Happy to answer questions here. |
@evanodell Final suggestion. If you found feedback from the reviewers valuable, consider adding them as reviewers in the description of your package (this is entirely up to you and not a requirement). If you decide to, you'll need:
|
Changed the way API keys are handled ropensci/software-review#190
@cderv do you have an ORCID I can include to list you as a reviewer in the package description? |
@stefaniebutland A technote seems good to me. I can send it to you by the end of the week if that works? |
@evanodell Yes I have one : https://orcid.org/0000-0003-4474-2498 |
@evanodell Thanks again for the submission. I'll close the issue since the review is complete but please feel free to continue the conversation with Stefanie re the blog post. |
Summary
Downloads UK official statistics from the Nomis API and converts to R objects, primarily tibbles. The API is based around different statistical geographies.
https://github.com/EvanOdell/nomisr
[e.g., "data extraction, because the package parses a scientific data file format"]
Data retrieval, because the package assists the downloading of a data from an API into R.
Demographers, economists, geographers, public health researchers, any other social scientists who are interested in geographic factors. The package will aid reproducibility, reduce the need to manually download area profiles, and allow easy linking of different datasets covering the same geographic area.
yours differ or meet our criteria for best-in-category?
There are no other R packages specifically for retrieving this data. Some of the data on Nomis is also available through the UK Data Service with the
ukds
package, but other ONS data, including labour force, benefits, mortality and business statistics are not otherwise available through an R package. The UK Data Service also requires users registration, while Nomis does not, and does not, as far as I can tell, provide the same linking with statistical geographies as Nomis.Requirements
Confirm each of the following by checking the box. This package:
Publication options
paper.md
matching JOSS's requirements with a high-level description in the package root or ininst/
.Detail
Does
R CMD check
(ordevtools::check()
) succeed? Paste and describe any errors or warnings:Does the package conform to rOpenSci packaging guidelines? Please describe any exceptions:
If this is a resubmission following rejection, please explain the change in circumstances:
If possible, please provide recommendations of reviewers - those with experience with similar packages and/or likely users of your package - and their GitHub user names:
The text was updated successfully, but these errors were encountered: