The hardware and bandwidth for this mirror is donated by METANET, the Webhosting and Full Service-Cloud Provider.
If you wish to report a bug, or if you are interested in having us mirror your free-software or open-source project, please feel free to contact us at mirror[@]metanet.ch.
age_from_chi()
due to a helper function expected_age()
caused the tests fail when the new year comes. It has been replaced with a fixed reference date.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.
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 a quiet
parameter, the default value is FALSE
but setting it to TRUE
will skip some of the checks and messages, this is useful when using format_postcode()
to ‘clean-up’ and format a vector of postcodes, rather than wanting to check them. Because of the skipped checks quiet = TRUE
should also run faster.
The installation instructions in the README have been updated.
Improved chi_check()
to make it more efficient and run faster.
Improved the “Using phsmethods” section in the README to be shorter and more accessible.
Update all errors, warnings and messages to use {cli}.
Improve errors when giving incorrect types to some functions.
Three functions renamed to improve code clarity: postcode()
to format_postcode()
; age_group()
to create_age_groups()
; fin_year()
to extract_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](https://github.com/Nic-Chr)); dob_from_chi()
(#42, [@Moohan](https://github.com/Moohan)); and age_from_chi()
(#42, [@Moohan](https://github.com/Moohan))
Change the output for chi_check
so that empty string ("") reports as missing (#76)
New functions added: age_group()
(#23, [@chrisdeans](https://github.com/chrisdeans)); chi_check()
(#30, [@graemegowans](https://github.com/graemegowans)); chi_pad()
(#30, [@graemegowans](https://github.com/graemegowans)); and match_area()
(#13, [@jvillacampa](https://github.com/jvillacampa)).
The first argument of postcode()
is now x
, as opposed to string
. This is unlikely to break much, if any, existing code. postcode()
is also now slightly faster.
phsmethods
no longer imports stringi
.
phsmethods
now depends on a version of R >= 2.10.
Jack Hannah is no longer a maintainer.
file_size()
, fin_year()
, qtr()
, qtr_end()
, qtr_next()
and qtr_prev()
now use inherits(x, "y")
instead of class(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.
file_size()
, fin_year()
, postcode()
, qtr()
, qtr_end()
, qtr_next()
and qtr_prev()
functions added.These binaries (installable software) and packages are in development.
They may not be fully stable and should be used with caution. We make no claims about them.