Description Usage Arguments Value
Lookup coordinates for UK postcodes that aren't in the ONS postcode directory (tends to be Guernsey, Jersey and Isle of Man), scraping them from https://checkmypostcode.uk/ where necessary. This function also saves the postcodes and coordinates into 'islands_file' to prevent needless re-scraping in future.
1 2 3 4 5 | lookup_islands_postcodes(
islands_postcodes,
islands_path = file.path(options("brclib.data_path"), "Postcodes"),
islands_file = "UK Islands postcodes.csv"
)
|
islands_postcodes |
A vector of postcodes to lookup. Note that these shouldn't contain spaces. |
islands_path |
Folder where the 'islands_file' is stored |
islands_file |
Filename for where to store the postcodes and coordinates. |
A data_frame containing postcodes and coordinates.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.