Retrieve carrier name with get_carrier()
(#6).
Add geocoding functions get_geocode()
and get_timezone()
(#5).
get_example()
returns an empty phone number if the provided type is invalid for the provided region (#8).
phone()
constructor now supports parsing phone numbers in international format without a default region by specifying NA
or ""
in the region
argument (#4).
get_type()
gets a strict
argument. If TRUE
, invalid phone numbers return NA
instead of "UNKNOWN"
.
Rename “One shot methods” vignette to remove redundant “dialr”.
Code calling libphonenumber methods via rJava has been tweaked for performance, including using more efficient rJava acess methods and caching commonly used static values. Most operations are now approx. 10 times faster.
New introductory vignette("dialr")
.
New is_match()
function supports proper phone
equality checks. ==
and !=
now use is_match()
for phone
vectors. (#1)
More region and type functions implemented. See ?`dialr-region`
or ?`dialr-type`
for details.
New get_example()
function generates example phone numbers for provided regions and types.
Improved function documentation.
dialrjars
To separate libphonenumber
updates from structural package updates, the libphonenumber
jars have been split into the new package dialrjars
. This is a breaking change, and dialrjars
will need to be installed for dialr
to continue to work.
In addition to the one-shot phone processing functions, dialr now has a “phone” S3 class to reduce the processing load from re-parsing phone numbers for every operation. This is a fundamental package change with a full set of replacement functions, for details see ?phone
.
Initial release.