kndm / iati-diff

Iati XML files differences check
GNU Affero General Public License v3.0
1 stars 1 forks source link

iati-diff

Script made to spot differences between XML files IATI activities against the XML file provided by the Datastore on the same activity.

Requirements

pip install -r requirements.txt

Files found in this repository

Running IATI-Diff

IATI-Diff can be run using the following command via command prompt:

python iati-diff.py "query_to_file"

query_to_file: Query to the list of activities, enclosed by quotes. It is downloaded as a XML file to be compared by IATI-Diff.

Output and Visualization

IATI-Diff produces a XML file with the differences found on each activity compared to its datastore counterpart, as well as a HTML version for friendly visualization. The output files can be found in the /differences/ folder, named after its IATI-Identifier.