Skip to content

Rust_output CSV #65

Description

@DeviPriya-Kolla

Description:
This issue involves implementing functionality to export TBL sections from a TBE file into CSV format within a Rust environment.

Developer Notes:

  • Develop a function, export_tbl_to_csv, that reads TBL sections from TBE files and structures them into CSV-compatible formats. Use Rust libraries such as csv or serde_csv for efficient CSV handling.
  • Design the function to fit seamlessly within Rust applications, supporting use cases in both command-line tools and web applications (e.g., Actix or Rocket) for exporting data in response to user requests.

Acceptance Criteria:

  • Export TBL Sections to CSV Format
  • Attribute Mapping for CSV Headers
  • Handle Multiple TBL Sections
    • Each TBL section as a separate CSV file
    • All TBL sections in a single CSV file
  • handle cases of empty or malformed TBL sections
    • empty TBL sections will appear in the CSV as rows with blank cells rather than being skipped
    • For malformed sections (e.g., missing ATT attributes), provide a clear error message and attempt to skip or correct where feasible.
  • ensure exported CSV files are opened correctly in common spreadsheet applications

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions