to a minimal set of attributes with consistent naming with code, name and
codeType columns and an optional altCode column
Usage
standardiseMap(sf, codeCol, nameCol, altCodeCol, codeType)
Arguments
- sf
- a non standard map
- codeCol
- a column name containing the unique code or id for the map
- nameCol
- the name column
- altCodeCol
- an alternative code column
- codeType
- a fixed value for the codeType