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
Create JSON mapping file for person similar to normedPublicationObjectToCSVMap.json
Convert loadPerson to static method in NormedPerson.ts and rename to loadFromCSV so that it would be called in the form NormedPerson.loadFromCSV with returning NormedPerson[]. Use JSON mapping file in load
Create writeToCSV static method in NormedPerson.ts takes NormedPerson[] and filepath as parameters, using JSON mapping
Convert NormedPerson from and a Typescript interface to a Typescript class similar to NormedPublication
Convert usages of loadPerson in other scripts to use new method
Move queryNormalizedPeople methods into NormedPerson.ts (perhaps rename to loadFromDB ?)
Audit the db attribute names in DB and NormedPerson to see if they can be normalized together
For unit tests that use loadPerson convert to use new methods and json mapping
Similar to NormedPublication, do the following