Skip to content

Example template for adding a new item to a folder #2

@apfister

Description

@apfister

When a new script is added to a folder, the individual will create a sub-folder that will at least have a README.md that will follow the template below, along with any script files and/or supporting files, screenshots, etc.

/arcade
    |
    --> /predominance-map-lotsa-columns
         |
          --> script.js
          --> README.md
          --> screenshot.png          

example README.md

Create Predominance Map with a lot of columns

Original Author: Bonnie Stayer
Ever wanted to create a predominance map but had too many columns to consider? I came up with this simple script to do just that. I'm back in the NAICS industry world, so the field names and output text reflect that (you'd obviously have to swap in whatever your working with)

View it Live

Considerations:

I'd be particularly interested to see if someone has more clever way of addressing the highlighted step (how you get the column name back once you've got the highest value). That's the most cumbersome part, and you're actually returning hardcoded text rather than the real column name.

Use Case

[optional]

Dependencies or Workspace requirements

  • ArcGIS Online

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions