windfall-elimination icon indicating copy to clipboard operation
windfall-elimination copied to clipboard

XML Parser

Open nvanwitt opened this issue 6 years ago • 4 comments

We need a functioning javascript XML parser for an individuals earning records.

  • Status? If we have working code: - Test with large dataset (team's earning records). - Add to React App. If not: - Write XML parser -Test sets: Individuals Earnings Records (get from MySSA)

nvanwitt avatar Apr 17 '19 01:04 nvanwitt

The first thing that comes to my mind is: https://www.gatsbyjs.org/packages/gatsby-transformer-xml/?=xml

dylanesque avatar Apr 20 '19 15:04 dylanesque

This is finished on the Observable notebook, as an alpha version. We can include it into the react app as an ES6 module.

thadk avatar Apr 21 '19 17:04 thadk

@thadk Is the code for the xml parser obfuscated? We were looking for the code on Tuesday but only saw the resulting JS Object with the data. In regards to observable, I replied in the other thread.

nvanwitt avatar Apr 21 '19 19:04 nvanwitt

It is a bit easier to search the code in this "safe" mode: https://observablehq.com/@thadk/windfall-awareness-notebook-prototype/safe

Look for the fastXml library and associated promise.

thadk avatar Apr 23 '19 20:04 thadk