Skip to content

1.2.0

Compare
Choose a tag to compare
@mikix mikix released this 02 Jul 13:51
· 6 commits to main since this release
e153b3f

This release adds three new methods for reading NDJSON:

  • list_multiline_json_in_dir: scans for files & their resource types
  • read_multiline_json: returns line by line results from a file
  • read_multiline_json_from_dir: returns line by line results from a folder

Headline features:

  • Lets you filter by FHIR resource type (by actually inspecting the contents of a file, rather than playing guessing games with filenames)
    • But these functions are not restricted to FHIR-based JSON, you can read arbitrary multi-line JSON too
  • Transparently handles I/O and decode errors by logging a warning and continuing - these are designed for bulk processing
  • You can read from remote filesystem locations using the optional fsspec support
  • Supports both NDJSON and JSON Lines formats