You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Some description field values across various repositories have html-tagged/html-formatted text as the description. These become difficult to review/read as plain text when the record is exported to .csv (or if looking at the json file via the API).
To address these, create a helper function that can be used on a description field string that:
checks for common html tags (e.g. <p>, <br>, <i>, etc.) in the string
Uses beautifulsoup or some other means of replacing/cleaning out the html tags from the string
Once created, apply this helper function to clean up the description field and ensure that html tags are removed from this field and consequently the .csv dumps of this field.
Issue Discussion
2024.10.29
Please select the type of metadata improvement
Standardization (normalizing free text to an ontology)
Augmentation (adding values for metadata fields missing values)
Clean up (addressing redundancy or messy metadata)
Structure (changing the structuring of the metadata to support front end UI features)
Issue Name
create an html-clean-up helper
Issue Description
Some description field values across various repositories have html-tagged/html-formatted text as the description. These become difficult to review/read as plain text when the record is exported to .csv (or if looking at the json file via the API).
To address these, create a helper function that can be used on a description field string that:
<p>
,<br>
,<i>
, etc.) in the stringOnce created, apply this helper function to clean up the
description
field and ensure that html tags are removed from this field and consequently the .csv dumps of this field.Issue Discussion
2024.10.29
Please select the type of metadata improvement
Meta URL
No response
Related WBS task
https://github.com/NIAID-Data-Ecosystem/nde-roadmap/issues/2
For internal use only. Assignee, please select the status of this issue
Status Description
No response
Request status check list
The text was updated successfully, but these errors were encountered: