csv2json
tool is used, and the data is imported using the Mutate tab in
Ratel.
csv2json
conversion tool.jq
a lightweight and flexible command-line JSON processor.names.csv
file with these details:
names.csv
file and convert it to
names.json
:
jq '.'
command:
"set"
key. You can use
jq
to transform the JSON into the correct format:
connects.csv
file thatβs connecting nodes together. The connects
field should be of the uid
type.
jq
to transform it in the correct format where the connects
edge is a
node uid
. This JSON file can be loaded into Dgraph using the programmatic
clients.