UNLOCODE: UN Location Codes

Description Usage Format Details Source Examples

Description

UN Location Codes v 1.7.

Usage

1

Format

A data frame with columns: ctryCode: The country code

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.

fishPort: Logical variable Y and N as to whether the location is a fish port.

funcCode: 8 character string relating to the location function and the following 8 columns: port, rail, road, airport, post, multi, fixed, border.

port: Logical variable Y and N as to whether the location is a port.

rail: Logical variable Y and N as to whether the location is a rail terminal.

road: Logical variable Y and N as to whether the location is a road terminal.

airport: Logical variable Y and N as to whether the location is a airport.

post: Logical variable Y and N as to whether the location is a postal exchange office.

multi: Logical variable Y and N as to whether the location is a multi functional.

fixed: Logical variable Y and N as to whether the location is a fixed transport function e.g. oil platform.

boarder: Logical variable Y and N as to whether the location is a boarder crossing.

Details

The UN LOCODE data is the United Nations Code for Trade and Transport Locations. Full details of the data can be obtained at [http://www.unece.org/cefact/locode/welcome.html]http://www.unece.org/cefact/locode/welcome.html.

Source

Alastair Pout a.pout@marlab.ac.uk and Work Package 2.2 core team

Examples

1
2
3
4
5
6
7
# loading the data
data(UNLOCODE)
# looking at the first 5 rows
head(UNLOCODE)
# metiers allowable in areas 27.4 and 27.7.d
# plotting locations
plot(UNLOCODE$lon,UNLOCODE$lat,pch=".")

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