RATA A Project for the Reason Analysis of Traffic Accidents(RATA) transfer the data into mongodb Step1:change the collection field in the shell script to what you need. Step2:execute and redirect the output to a file. Step3: $mongo +database < file.