This script converts a JSON file to a CSV file with a unique timestamped filename.
To convert the JSON file containing Star Atlas PIP voting records into manageable CSV files. References: https://govern.staratlas.com/proposals
- Make sure you have Python installed on your system.
- Install the Pandas library if you haven't already by running: pip install pandas
- Update the 'json_file_path' and 'csv_file_path' placeholders with the actual file paths. Note: Use double backslashes (\) in the file paths to escape the backslash character in Python strings.
- Save this script as 'convert_to_csv.py'.
- Open your command line interface and navigate to the directory where 'convert_to_csv.py' is saved.
- Run the script by executing: python convert_to_csv.py
Replace with your actual JSON file path Note: Use double backslashes (\) in the file paths to escape the backslash character in Python strings
Replace with your desired CSV output path Note: Use double backslashes (\) in the file paths to escape the backslash character in Python strings