Closed stijnvanhoey closed 6 years ago
@peterdesmet and @WillemMaetens if we agree on the responses in the PR, we can merge and I'll provide asap a response to https://github.com/ropensci/onboarding/issues/255#issuecomment-442282220
After further discussion with reviewer and if agreed (maybe after some other PRs), I'll bump minor version up (as we have small added features, nothing breaking) and release package again.
goodpractice
packageR CMD CHECK
:0 errors ✔ | 0 warnings ✔ | 0 notes ✔
Nice work @stijnvanhoey. Language translation: I agree with your rebuttal that it would be translating against a moving target that we do not control and would thus keep it out of scope.
This PR tackles the suggestions provided by the ropensci onboarding review:
Good suggestion, adapted both the roxygen header of the
get_token
function as well as theReadme.md
file.@peterdesmet what about this suggestion? I understand the idea, but as we are not controlling the error messages neither the dutch fields embedded in the waterinfo.be website, how could we properly provide this kind of translated version? Ideas/suggestions are welcome, but I would say to keep is as such.
Good point, as such users can iterate over these frequencies or subset them. Adapted (and adapted test).
Checked this and the main issue is the
get_variables
function, returning all factors instead of characters. I would keep it to characters by default as suggested. Adapted (and added test).Available to the user, as it sometimes could be useful to have a quick check or control on the datasource (1 or 4 for the moment) themselves. hence, keep it public.
Great suggestion! I found a possible solution to add the URL of the response as a
comment
attribute to the returneddata.frame
. As such we can actually check the URL later... Updated roxygen documentation and tests as well.