You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
It looks like we may have to routinely map local authority names to the 3 letter codes used within active travel England. It would be very nice to develop a simple tool that does this mapping simply and robustly.
I envisage it taking at least two arguments: a version and an input string. The version would map to a file (internal to package) that contains local authority name-code mappings where each time it has changed we increment a new version number (would recommend using CalVer). The input string would be for a local authority name on which we either exact (or fuzzy match) to a code. Values that don't match would return NA or None.
The text was updated successfully, but these errors were encountered:
It looks like we may have to routinely map local authority names to the 3 letter codes used within active travel England. It would be very nice to develop a simple tool that does this mapping simply and robustly.
I envisage it taking at least two arguments: a version and an input string. The version would map to a file (internal to package) that contains local authority name-code mappings where each time it has changed we increment a new version number (would recommend using CalVer). The input string would be for a local authority name on which we either exact (or fuzzy match) to a code. Values that don't match would return NA or None.
The text was updated successfully, but these errors were encountered: