Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/zdavatz/ymeteor
Parsing Swissmedic, Pharmnet, HCP, DHCP, Chargenrückrufe, Drugshortages, PEI with Meteor
https://github.com/zdavatz/ymeteor
chargenrueckrufe dhpc hpc pharmnet swissmedic
Last synced: about 2 months ago
JSON representation
Parsing Swissmedic, Pharmnet, HCP, DHCP, Chargenrückrufe, Drugshortages, PEI with Meteor
- Host: GitHub
- URL: https://github.com/zdavatz/ymeteor
- Owner: zdavatz
- License: gpl-3.0
- Created: 2019-09-04T08:49:15.000Z (over 5 years ago)
- Default Branch: master
- Last Pushed: 2024-06-19T05:15:05.000Z (7 months ago)
- Last Synced: 2024-06-19T20:02:04.005Z (7 months ago)
- Topics: chargenrueckrufe, dhpc, hpc, pharmnet, swissmedic
- Language: JavaScript
- Homepage: https://ywesee.com
- Size: 770 KB
- Stars: 4
- Watchers: 3
- Forks: 3
- Open Issues: 11
-
Metadata Files:
- Readme: Readme.md
- License: LICENSE
Awesome Lists containing this project
README
# Parsing Swissmedic and Pharmnet with Meteor
#### Ubuntu dependencies for puppeteer
libx11-xcb1
libx11
libx11-dev
libXcomposite
libxcomposite-dev
libxcursor-dev
libxdamage-dev
libxi-dev
libxtst-dev
libnss3-dev
libcups2-dev
libxss-dev
libxrandr-dev
libatk1.0-dev
libatk-bridge2.0-dev
libpangocairo
libpangocairo-1.0
libgtk-3-dev#### Install Meteor on Linux
`curl https://install.meteor.com/ | sh`#### Install dependencies
$ meteor npm install#### Run GUI at localhost:3000 with pharmnet data
$ meteor --once --settings pharma.json#### Import HPC, DHPC and Chargenrückrufe from Swissmedic.ch
$ meteor --once --settings swissmedic.json#### Import from Pharmnet
$ meteor --once --settings atc.json### Import from drugshortage
$ meteor --settings drugshortage.json --once
### Import from pei.de
$ meteor --settings pei.json --once### Generate Schemas
$ meteor --settings generate-schema.json --once\
$ cd public/schema
Note: To generate the correct Schema files, you will need the latest version of the output files.#### Check files
$ cd public/exports#### Check files in Browser
Open http://localhost:3000 in the browser#### Debugging
$ METEOR_PROFILE=1 METEOR_LOG=debug meteor --verbose### Missing ATC-Code
./atc.jsonset "loadMissing":true
set "Missing" => Missing code in array### Convert json2csv
/home/zeno/.nvm/versions/node/v11.12.0/bin/json2csv