SORMAS-Foundation / SORMAS-data-generator

SORMAS-data-generator
GNU General Public License v3.0
3 stars 7 forks source link

feat: generate data for indicated region, district and disease #33

Open obdulia-losantos opened 3 years ago

obdulia-losantos commented 3 years ago

Instead of use hard-coded values replace them with environment variables.

JonasCir commented 3 years ago

@obdulia-losantos

Thank you so much for your contribution :) I'm currently on vacation and review this later.

I appreciate your first-time contribution :+1: Could you elaborate a little bit how you came across this project?

obdulia-losantos commented 3 years ago

Hi @JonasCir

I'm working in a project that requires to connect to SORMAS to elaborate reports to control an outbreak, number of active cases, number of cases waiting for the sample results, ... and I needed a way to generate random data for my local instance. Taking a look at all the SORMAS repositories I found this one. It does more or less what I wanted but most of the values were hard-coded and based on the German location (not my case).

Enjoy your holidays!

DavidBaldsiefen commented 3 years ago

@obdulia-losantos FYI, there also is a (less realistic, less efficient) datagenerator built into SORMAS. To use it, you need to add devmode=true to your sormas.properties. Then, navigate to Configuration->Developer Mode

obdulia-losantos commented 3 years ago

Thanks!