/csv2mongo

csv files are imported to mongodb database

Primary LanguagePythonCreative Commons Zero v1.0 UniversalCC0-1.0

csv2mongo

  • csv files are imported to mongodb database

  • This script imported the csv files in the given path to the mongodb database as a collection. For this:

  • Edit the "info.json" file. Collect the csv files in a folder. The folder path is filePath variable. Database is your database and collection is your collection. If there is no collection with this name, a new collection is created.

  • If you edited "info.json" file, you can run this script.