Skip to content

An application to create csv files from a schema based xml with information about medicines in Norway that are ready to be imported into neo4j db.

Notifications You must be signed in to change notification settings

psoszynski/import-fest-to-neo4j

Repository files navigation

import-fest-to-neo4j

An application to import data from a schema based xml with information about medicines in Norway to neo4j database.

Fest files that constitute input to the application can be downloaded from: https://legemiddelverket.no/andre-temaer/fest/nedlasting-av-fest

Possible usecases: dotnet run "C:\Temp\fest25\fest25.xml" dotnet run "C:\Temp\fest25.xml" "C:\Temp\Neo4jImport" dotnet run "C:\Temp\fest25.xml" LMM dotnet run "C:\Temp\fest25.xml" LMV dotnet run "C:\Temps\fest25.xml" VMS

Neo4j desktop can be downloaded from: https://neo4j.com/download-center/#desktop

Once a neo4j database are created and csv and cypher files are copied to import folder one can import these csv files by executing the following commando in cmd (in root folder of the database):

type import\installfest.cypher | bin\cypher-shell.bat -u username -p password

An example query : MATCH (lmm)-[r]->() RETURN lmm, count(r) AS rel_count ORDER BY rel_count desc LIMIT 3

About

An application to create csv files from a schema based xml with information about medicines in Norway that are ready to be imported into neo4j db.

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages