This repository has been archived on 2022-12-21. You can view files and clone it, but cannot push or open issues or pull requests.
ddm/hw02
Claudio Maggioni 664584992e Added assignment descriptions 2022-12-21 10:22:04 +01:00
..
articles-dataset Added instructions 2022-11-20 15:04:45 +01:00
.gitignore Added instructions 2022-11-20 15:04:45 +01:00
00-data-design-modeling-brambilla-USI-project-work-part-2.pdf Added assignment descriptions 2022-12-21 10:22:04 +01:00
Papers.ts wip 2022-11-20 13:35:01 +01:00
README.md Added instructions 2022-11-20 15:04:45 +01:00
Untitled.ipynb Homework 2 and 3 2022-12-21 10:10:29 +01:00
import.py Homework 2 and 3 2022-12-21 10:10:29 +01:00
report.pdf Homework 2 and 3 2022-12-21 10:10:29 +01:00
report.tex Homework 2 and 3 2022-12-21 10:10:29 +01:00

README.md

DDM HW02 Data Importer

Instructions:

  • Run pip3 install faker pymongo
  • Install MongoDB (the connect string is the variable mongo_conn_str, set to a local DB with no password by default)
  • Download the ZIP file at https://elsevier.digitalcommonsdata.com/datasets/zm33cdndxs/ and extract all the JSON files in the articles-dataset folder
  • Run the script with python3 import.py articles-dataset