Skip to content

Instantly share code, notes, and snippets.

@mocon
Created January 15, 2021 20:20
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save mocon/d4324906ae20850aca758260926dfaa9 to your computer and use it in GitHub Desktop.
Save mocon/d4324906ae20850aca758260926dfaa9 to your computer and use it in GitHub Desktop.
Possible solution
// 1. Loop through all tree IDs, and make a map with unique, auto-generated, letter-only keys for each one
var nameMap = {
"01234a": "ayenej",
"01234a": "oowket",
// ...and so on
}
// 2. Convert column names according to map above
// 3. Use map to display tree IDs by their key
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment