Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

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

Open
apfister opened this issue Sep 16, 2020 · 0 comments
Open

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

apfister opened this issue Sep 16, 2020 · 0 comments

Comments

@apfister
Copy link
Collaborator

apfister commented Sep 16, 2020

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
@apfister apfister changed the title Template for adding a new item to a folder Example template for adding a new item to a folder Sep 16, 2020
@apfister apfister pinned this issue Sep 22, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant