-
Notifications
You must be signed in to change notification settings - Fork 3
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
Some remarks on the full package PR #128
Comments
I have noticed this. The subject ids in that column are all numeric. I have introduced a coercion into character in the function. This will change once the review is done
I have noticed this also in the
Yes - the first section of the references list all the function, including both exported and internal functions. The second section is where the functions are described.
The age calculation is now handle by the
The dictionary file is just a data frame. By providing the template dictionary, users will be able to reproduce this with the
I don't think that we need this function. When the age is in years, you can multiply by 12 to get the age in months or by 365.25 to get the age in days. This is usually intuitive and users are generally able to figure this out with “no pain”
Will add the |
In the Readme file, remove the first occurrence of
standardize_col_names
. It has bee defined twice.Standardize or standardise, be consistency. I prefer the first option.
For readability, add an
s
to theremove_constant()
to becomeremove_constants()
to be parallel withremove_duplicates()
.Check the implementation of
check_subject_ids()
with range only. for now it gives an error, see the below exampleOn applying standardize_dates()
function into our simulated Ebola dataset, if the parameter target_columns set to
NULL`, the gender column (which has mixture of characters and integers) will also consider as a date column.In the reference page of the vignette, some functions appear more than one time.
What if you include a function calculating age category from a given age column. I think this relevant to `{cleanepi}'s module that perform some transformations.
Add a function to define/create new dictionary, so that end-user can define a new dictionary and utilize the
add_to_dictionary()
function to populate.Add function to convert age column at different time units, e.g., if the age is given in years but you want to do analysis in months. Such function can be part of the transformation module in package structure.
Include
span
andcheck_date_sequence
operations intoclean_data
function.The text was updated successfully, but these errors were encountered: