-
A quick aide memoir on how to import data from a CSV formatted files into Firestore. If you have used the Pet Theory lab, this should be familar, but if not here is the code.
The general idea is to create a csv and import it directly into Cloud Firestore. To do this, the code will read the csv, then connect to …
Read More -
A quick guide on generating test data. If you have used the Pet Theory lab, this should be familar, but if not here is the code.
The general idea is to create a csv based on made up dataset. To do this, use the Fakerjs package and write the output as csv records.
If you have not worked with Fakerjs before, this is a …
Read More -
Convert Complex CSV with custom delimiter.
jq is like sed for JSON data - you can use it to slice and filter and map and transform structured data with the same ease that sed, awk, grep and friends let you play with text.
In a previous post I covered the task of converting JSON to CSV.
- Reference: Convert CSV to JSON. …
-
Convert CSV to JSON with JQ.
jq is like sed for JSON data - you can use it to slice and filter and map and transform structured data with the same ease that sed, awk, grep and friends let you play with text.
In a previous post I covered the task of converting JSON to CSV.
- Reference: Convert JSON to CSV.
Recently I …
Read More -
Convert JSON to CSV with JQ.
jq is like sed for JSON data - you can use it to slice and filter and map and transform structured data with the same ease that sed, awk, grep and friends let you play with text.
Being able to move between different file format is quite a common task, so I was delighted to find a quick and …
Read More