R/load-maps.R
standardiseMap.Rd
Standardise maps to a minimal set of attributes with consistent naming with code, name and codeType columns and an optional altCode column
standardiseMap(sf, codeCol, nameCol, altCodeCol, codeType)
- a non standard map
- a column name containing the unique code or id for the map
- the name column
- an alternative code column
- a fixed value for the codeType
a standardised map