Wolfram Function Repository
Instant-use add-on functions for the Wolfram Language
Function Repository Resource:
Create an interface for editing an Association
ResourceFunction["AssociationEditor"][assoc] creates an interface for modifying the keys and values of assoc. |
Create an editor for a simple Association:
| In[1]:= |

Add a value with the add button:

Modify some values and print the updated Association:


Create an editor for real data:
| In[2]:= |
| Out[2]= | ![]() |
Associations do not support repeated keys. When a key is used multiple times in the editor, only the last value appears in the output Association. Create an editor and add a key matching the first:
| In[3]:= |

The output only includes the last value of "a":
Large content can be ugly and difficult to use:
| In[4]:= |

This work is licensed under a Creative Commons Attribution 4.0 International License