I have an Excel sheet of all my data (thousands and thousands of rows). How do I get that "loaded" into Firebase to be used?
I've created a Firebase project and tried to look at some tutorials for the realtime database but that's not quite what I want. I don't want real-time data quite yet. I just want data that I have to be loaded in first. How do I go about doing that?
Thanks!
Step 1: Authenticate Microsoft Excel and Firebase / Firestore. Step 2: Pick one of the apps as a trigger, which will kick off your automation. Step 3: Choose a resulting action from the other app. Step 4: Select the data you want to send from one app to the other.
If you head to Firebase Forge (at https://[your-firebase].firebaseio.com ), you can load up the Graphical Debugger for your Firebase and manually add, modify, or remove data, as well as watch it as it changes in real-time.
I figured this out on my own.
First, take the Excel spreadsheet and clean it up in such a way that the first row contains the headers and everything else is the actual data. Remember that Firebase keys (which correspond to column headers) must be UTF-8 encoded which means that it cannot contain . $ # [ ] / or ASCII control characters 0-31 or 127.
Then, save it as a CSV file. For example, on Excel 2013 it would be: File > Export > Change File Type > CSV.
Then, visit various resources online that can do CSV to JSON conversion. The one I used was: http://codebeautify.org/csv-to-xml-json
Finally, take that .json file and load it into the Firebase database. Voila!
STEPS TO UPLOAD COUNTRY LIST IN FIREBASE:
click on (...) in verticle, beside + - sign,
click on import.
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With