bulk_postcode_lookup() requires postcodes to be a length-one list that contains only a character vector, as exemplified in the function's help page:
pc_list <- list(postcodes = c("PR3 0SG", "M45 6GN", "EX165BL"))
bulk_postcode_lookup(pc_list)
I'm continually caught off-guard by this counter-intuitive requirement. What is the purpose of the list?
Please implement support for accepting a character vector and/or ..., like so:
bulk_postcode_lookup(c("PR3 0SG", "M45 6GN", "EX165BL"))
bulk_postcode_lookup("PR3 0SG", "M45 6GN", "EX165BL")
Those inputs could be coerced into list form under the hood so that the functionality of old code is preserved.