Recent Releases of phsmethods
phsmethods - phsmethods 1.0.2
- No user-facing changes. Fix some tests for
age_from_chi()due to a helper functionexpected_age()caused the tests fail when the new year comes. It has been replaced with a fixed reference date.
- R
Published by Tina815 over 2 years ago
phsmethods - phsmethods 1.0.1
Fix a bug in
extract_fin_year()to make sure financial years are displayed correctly from 1999/20 to 2008/09.A new article has been added to the documentation - Working with CHI numbers.
- R
Published by Tina815 over 2 years ago
phsmethods - phsmethods 1.0.0
- This is the first new major release to CRAN.
- R
Published by Tina815 almost 3 years ago
phsmethods - phsmethods 0.2.3
The {gdata} import has been dropped and replaced with {scales}.
extract_fin_year()is now much faster and will use less memory, especially for smaller vectors (1 to 1,000).format_postcode()is now faster and also gains aquietparameter, the default value isFALSEbut setting it toTRUEwill skip some of the checks and messages, this is useful when usingformat_postcode()to 'clean-up' and format a vector of postcodes, rather than wanting to check them. Because of the skipped checksquiet = TRUEshould also run faster.The installation instructions in the README have been updated.
- R
Published by Tina815 almost 3 years ago
phsmethods - phsmethods 0.2.2
Improve
chi_check()function to make it more efficient and run faster.Improve "Using phsmethods" section in readme to be shorter and more accessible.
Update all errors, warnings and messages to use the
clipackage.Improve errors when giving incorrect types to some functions(#86, @Moohan).
- R
Published by Tina815 over 3 years ago
phsmethods - phsmethods 0.2.1
Three functions renamed to improve code clarity:
postcode()toformat_postcode();age_group()tocreate_age_groups();fin_year()toextract_fin_year(). The old functions will still work but will produce a warning. After a reasonable amount of time they will be removed completely.New functions added:
age_calculate()(#65, @Nic-chr);dob_from_chi()(#42, @Moohan); andage_from_chi()(#42, @Moohan)Change the output for
chi_checkso that empty string ("") reports as missing (#76)
- R
Published by Tina815 over 4 years ago
phsmethods - phsmethods 0.2.0
New functions added:
age_group()(#23, @chrisdeans);chi_check()(#30, @graemegowans);chi_pad()(#30, @graemegowans); andmatch_area()(#13, @jvillacampa).The first argument of
postcode()is nowx, as opposed tostring. This is unlikely to break much, if any, existing code.postcode()is also now slightly faster.phsmethodsno longer importsstringi.phsmethodsnow depends on a version of R >= 2.10.Jack Hannah is no longer a maintainer.
- R
Published by jackhannah95 over 6 years ago
phsmethods - phsmethods 0.1.1
file_size(),fin_year(),qtr(),qtr_end(),qtr_next()andqtr_prev()now useinherits(x, "y")instead ofclass(x) == "y"to check class. The reasoning is explained in this blogpost by Martin Maechler.The performance of
fin_year()has been improved. The function now extracts the unique date(s) from the input, calculates the associated financial year(s), and joins to the original input. This is in contrast with the original method, which directly calculated the financial year of all input dates individually.
- R
Published by jackhannah95 over 6 years ago
phsmethods - phsmethods 0.1.0
- Initial package release.
file_size,fin_year,postcode,qtr,qtr_end,qtr_nextandqtr_prevfunctions added.
- R
Published by jackhannah95 over 6 years ago