Skip to content

"RuntimeException: Unable to select a random city id." When altering the demographics.csv file #1127

Answered by mikad98
mikad98 asked this question in Q&A
Discussion options

You must be logged in to vote

Could you maybe provide me a short "how to", for my task? Respectively a brief explanation of how you'd approach my problem?

Specifically, I want to create a patient population for Germany. I have a given patient population distribution regarding the 16 federal states of Germany. For example, I aim for a synthesized dataset where 5% of the population are from the federal state "lower saxony", 3% of the people from the federal state "Bremen" etc. The cities, zip codes etc. are not important for me, I just have the aim of a specific distribution regarding these federal states.

Originally, my approach was to just replace the demographics.csv file with a new one that has 16 rows, each row for…

Replies: 2 comments 6 replies

Comment options

You must be logged in to vote
3 replies
@mikad98
Comment options

@mikad98
Comment options

@jawalonoski
Comment options

Comment options

You must be logged in to vote
3 replies
@jawalonoski
Comment options

@mikad98
Comment options

@jawalonoski
Comment options

Answer selected by mikad98
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants