Search code examples
databaseneo4jfraud-prevention

Neo4j - Importing a Database of fraud detection


Hello i'm trying to deploy the Fraud Detection Use case that was shared in NEO4j use cases Following this link: https://neo4j.com/graphgist/credit-card-fraud-detection

To get deeper in the data I want to work with the database that was shared in the link https://www.dropbox.com/s/4uij4gs2iyva5bd/credit%20card%20fraud.zip

I don't know how to load it since there is no .csv file just .db with the same structure of system and neo4j Databases, I have tried to create a Database and connect it to the path of the fraud detection file,

Anyone can help me please to work with this database


Solution

  • If you are using Neo4j Desktop:

    1. Go to the management tab of your graph
    2. Click "Open terminal"
    3. Locate the folder data/databases/
    4. Copy the content of the folder you downloaded from Dropbox into data/databases/fraud.db
    5. Back to the management tab, go to the settings tab and identify the line:

      #dbms.active_database=graph.db
      
    6. Change this line to:

      dbms.active_database=fraud.db
      
    7. Restart your database

    In case of error, go back to the settings and uncomment:

    #dbms.allow_upgrade=true