Advertisement
Guest User

Untitled

a guest
Nov 14th, 2019
152
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Bash 0.24 KB | None | 0 0
  1. jq -r '.[] | [.id, .name, .population, .allegiance_id] | @csv' systems_populated.json >systems.csv
  2. jq -r '.[] | [.id] + (.minor_faction_presences[] | [.minor_faction_id, .influence]) | @csv' systems_populated.json > minor-faction-presences.csv
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement