Phytosociological Inventory Import: ZIP with XMLs to Database
This workflow aims to streamline the integration of phytosociological inventory data stored in multiple XML files within a ZIP archive into a MongoDB database. This process is crucial for effective data management within the project's Virtual Research Environment (VRE). The workflow involves extracting XML files from the ZIP archive, converting them to JSON format for MongoDB compatibility, checking for duplicates to ensure data integrity, and uploading the data to increment the inventory count. This enhances the robustness and reliability of the inventory dataset for comprehensive analysis.
Background
Efficient data management is crucial in phytosociological inventories, necessitating seamless integration of inventory data. This workflow addresses a key aspect by facilitating the importation of phytosociological inventories stored in multiple XML files within a ZIP archive into the MongoDB database. This integration is vital for the project's Virtual Research Environment (VRE), providing a foundation for robust data analysis. The workflow comprises two essential components: converting XML to JSON and checking for inventory duplicates, ultimately enhancing the integrity and expansiveness of the inventory database.
Introduction
In phytosociological inventories, effective data handling is paramount, particularly concerning the integration of inventory data. This workflow focuses on the pivotal task of importing phytosociological inventories, stored in multiple XML files within a ZIP archive, into the MongoDB database. This process is integral to the VRE of the project, laying the groundwork for comprehensive data analysis. The workflow's primary goal is to ensure a smooth and duplicate-free integration, promoting a reliable dataset for further exploration and utilization within the project's VRE.
Aims
The primary aim of this workflow is to streamline the integration of phytosociological inventory data, stored in multiple XML files within a ZIP archive, into the MongoDB database. This ensures a robust and duplicate-free dataset for further analysis within the project's VRE. To achieve this, the workflow includes the following key components:
- ZIP Extraction and XML to JSON Conversion: Extracts XML files from the ZIP archive and converts each phytosociological inventory stored in XML format to JSON, preparing the data for MongoDB compatibility.
- Duplicate Check and Database Upload: Checks for duplicate inventories in the MongoDB database and uploads the JSON files, incrementing the inventory count in the database.
Scientific Questions
- ZIP Archive Handling: How effectively does the workflow handle ZIP archives containing multiple XML files with distinct phytosociological inventories?
- Data Format Compatibility: How successful is the conversion of XML-based phytosociological inventories to the JSON format for MongoDB integration?
- Database Integrity Check: How effective is the duplicate check component in ensuring data integrity by identifying and handling duplicate inventories?
- Inventory Count Increment: How does the workflow contribute to the increment of the inventory count in the MongoDB database, and how is this reflected in the overall project dataset?
Default
Identification
- Date ( Publication )
- 2023-12-31T00:00:00
- Status
- On going / operational
- Version
- 1.0
- Keywords
- Phytosociological inventory
- Keywords
- ZIP archive
- Keywords
- XML files
- Keywords
- JSON conversion
- Keywords
- MongoDB database
- Keywords
- Data integration
- Keywords
- Duplicate check
- Keywords
- Data integrity
- Keywords
- Virtual Research Environment (VRE)
- Keywords
- Inventory count increment
- Access constraints
- Copyright
- Other constraints
- Copyright 2023 Khaos Research Group
- Protocol
- DOI
- Service Name
- Import file ZIP
- Service Description
- Extract XML files from the provided ZIP archive
- Service Reference (id)
- https://gitlab.lifewatch.dev/lfw002-khaos/wrapper-library/-/tree/develop/core/ImportFile/0.0.5
- Service Name
- ZIP XML to JSON
- Service Description
- Convert each extracted XML file, which contains phytosociological inventory data, into JSON format for compatibility with MongoDB. Check the JSON data against existing entries in the MongoDB database to identify and handle any duplicates, ensuring data integrity.
- Service Reference (id)
- https://gitlab.lifewatch.dev/lfw002-khaos/wrapper-library/-/tree/develop/data-processing/Zipxml2json/1.0.0
- Service Name
- Import to DB
- Service Description
- Upload the verified, duplicate-free JSON data into the MongoDB database, updating the inventory count.
- Service Reference (id)
- https://gitlab.lifewatch.dev/lfw002-khaos/wrapper-library/-/tree/develop/data-sink/Json2db/1.0.0
- Workflow Helpdesk
- https://helpdesk.lifewatch.eu