portCodeUK: UK port codes

Description Usage Format Details Source Examples

Description

The LOCODE of UK ports with additional sub UK level country codes

Usage

1

Format

A data frame with columns:

ctryCode: The country code at sub UK level

loCode: The location code, a 5 letter code the first two of which are country specific, the following 3 are the unique identifier

of the location

locName: The location name.

lat: Decimal latitude of the location.

lon: Decimal longitude of the location.

Details

The UN LOCODE data is the United Nations Code for Trade and Transport Locations. However the GBR code is used for all UK potrs. This data set resolves the GBR country codes down to Scotland, England, Wales, Northern Ireland, Channel Iselands and the Isle of Man.

Source

Alastair Pout a.pout@marlab.ac.uk and fishPi core team

Examples

1
2
3
4
5
6
7
8
# loading the data
data(portCodeUK)

# looking at the first 5 rows
head(portCodeUK)

# plotting locations
plot(portCodeUK$lon,portCodeUK$lat,pch=".")

MarineScotlandScience/fishPiCodes documentation built on Dec. 17, 2021, 3:12 a.m.