danielrosehill's picture
updated
8e9e1f0

Scripts for IFVI Value Factors Dataset

This directory contains scripts for working with the IFVI Value Factors dataset.

Directory Structure

  • conversion/: Scripts used to convert the original XLSM data to JSON, CSV, and Parquet formats
  • examples/: Example scripts demonstrating how to use the dataset for analysis

Conversion Scripts

The conversion/ directory contains scripts that document the process of converting the original IFVI XLSM data to the formats available in this repository. These scripts serve as documentation of the data transformation process and can be used to reproduce the conversion if needed.

Scripts to be added:

  • xlsm_to_json.py: Convert XLSM to JSON format
  • json_to_csv.py: Convert JSON to CSV format
  • csv_to_parquet.py: Convert CSV to Parquet format
  • validate_data.py: Validate data integrity across formats

Example Scripts

The examples/ directory contains example scripts demonstrating how to use the dataset for various analyses.

Examples to be added:

  • load_data.py: Basic examples of loading the data in different formats
  • country_comparison.py: Compare value factors across countries
  • methodology_analysis.py: Analyze value factors by methodology
  • visualization.py: Visualize value factors geographically

Contributing

Contributions of additional scripts and examples are welcome. Please ensure that all scripts are well-documented and include:

  1. A clear description of what the script does
  2. Required dependencies
  3. Usage examples
  4. Expected output

License

All scripts in this directory are subject to the same license as the rest of the repository, as specified in the root license.md file.