When calling pm_parse with an address that only has a PO Box and no street, the following error is returned:
Error in x:y : argument of length 0
Expected behavior
Address formatted to PO Box Number, City, State, Zip
To Reproduce
addr1b <- tibble(pm.id = 1, pm.uid = 1, pm.type = "full", address = "PO Box 111, Los Angeles, CA 90027")
pm_parse(addr1b,
input = "full",
address = "address",
output = "short")
Desktop (please complete the following information):
R version 4.1.1 (2021-08-10)
Platform: x86_64-w64-mingw32/x64 (64-bit)
Running under: Windows 10 x64 (build 19045)
When calling pm_parse with an address that only has a PO Box and no street, the following error is returned: Error in x:y : argument of length 0
Expected behavior Address formatted to PO Box Number, City, State, Zip
To Reproduce addr1b <- tibble(pm.id = 1, pm.uid = 1, pm.type = "full", address = "PO Box 111, Los Angeles, CA 90027") pm_parse(addr1b, input = "full", address = "address", output = "short")
Desktop (please complete the following information): R version 4.1.1 (2021-08-10) Platform: x86_64-w64-mingw32/x64 (64-bit) Running under: Windows 10 x64 (build 19045)
Additional context postmastr:0.1.0.9000