DataUSA / datausa-tracker

0 stars 0 forks source link

update PUMS degree field captions #263

Closed davelandry closed 4 years ago

davelandry commented 4 years ago

@jspeis I'm looking to add captions to a couple of PUMS dimensions (per Cesar's request). How would I go about doing this? Is it as simple as adding an attribute/value like this?

<Level column="cip2" nameColumn="cip2_name" name="CIP2" caption="2 Digit Course" uniqueMembers="true"/>
jspeis commented 4 years ago

@davelandry I've never used that before but it appears -- technically -- that could work. The front-end would just need to know to display the caption field for that level instead of the "name"

davelandry commented 4 years ago

As long as that's what comes through the /cubes and "members" endpoints as the "caption", we should be all set on the front-end, thanks! 👍