In [ ]:
import cf2mongo
Start MongoDB server!
Local data files are located in C:\Data\db
This directory must exist in order for the following to work!
If a custom location is desired, see mongoDB documentation online.
Do the following to initialize server on local Windows PC:
The cf2mongo.run_conversion function will now be able to connect to the database.
In [ ]:
cf2mongo.run_conversion()
In [ ]:
#cf2mongo.convert_and_insert()