Skip to content

Commit e1226a8

Browse files
author
Ethan O'Sullivan
authored
Update README.md
1 parent f0adca7 commit e1226a8

File tree

1 file changed

+13
-2
lines changed

1 file changed

+13
-2
lines changed

README.md

+13-2
Original file line numberDiff line numberDiff line change
@@ -1,2 +1,13 @@
1-
# json-to-csv
2-
is Python code helps convert several individual JSON files, locally, into one CSV.
1+
# Convert JSON to CSV in Python
2+
This Python code helps convert several individual JSON files, locally, into one CSV. Additionally, this code allows the user to cherry-pick the field names from the JSON dataset.
3+
4+
## How to Use the Code
5+
To run the code and get the expected output, use the following steps:
6+
7+
1. Compile all JSON files into one folder, locally.
8+
- Note: there shouldn't be any other file types or sub-folders
9+
1. Open the Python script in your IDE.
10+
1. Set up the following variables based on your preferences:
11+
- `file_path`: Enter the path to the JSON and the filename without appending `.json`
12+
- `key_list`: Extract data from the defined key names
13+
- `key_ignore`: Key names to ignore separated by a vertical bar (`|`)

0 commit comments

Comments
 (0)