{"id":37163235,"url":"https://github.com/drgo/sim","last_synced_at":"2026-01-14T19:24:55.708Z","repository":{"id":99210769,"uuid":"245026308","full_name":"DrGo/sim","owner":"DrGo","description":"generates random admin data using a template","archived":false,"fork":false,"pushed_at":"2020-04-10T16:58:08.000Z","size":39233,"stargazers_count":0,"open_issues_count":2,"forks_count":1,"subscribers_count":4,"default_branch":"master","last_synced_at":"2024-06-19T11:34:30.184Z","etag":null,"topics":["epidemiology","golang","healthcare","random-generation","statistics","testing"],"latest_commit_sha":null,"homepage":"","language":"C","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/DrGo.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":null,"code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2020-03-04T23:34:39.000Z","updated_at":"2020-04-10T16:58:10.000Z","dependencies_parsed_at":"2023-03-09T01:30:48.366Z","dependency_job_id":null,"html_url":"https://github.com/DrGo/sim","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/DrGo/sim","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/DrGo%2Fsim","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/DrGo%2Fsim/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/DrGo%2Fsim/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/DrGo%2Fsim/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/DrGo","download_url":"https://codeload.github.com/DrGo/sim/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/DrGo%2Fsim/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":28432591,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-01-14T18:57:19.464Z","status":"ssl_error","status_checked_at":"2026-01-14T18:52:48.501Z","response_time":107,"last_error":"SSL_connect returned=1 errno=0 peeraddr=140.82.121.6:443 state=error: unexpected eof while reading","robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":false,"can_crawl_api":true,"host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["epidemiology","golang","healthcare","random-generation","statistics","testing"],"created_at":"2026-01-14T19:24:55.044Z","updated_at":"2026-01-14T19:24:55.695Z","avatar_url":"https://github.com/DrGo.png","language":"C","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Sim\ngenerates random  but plausible healthcare utilization data using a template stored in config.json.\n\n## Usage\nsimply, type sim in a folder where config.json exists\n\n\n## Rules for config.json\nThe \"__doc\" key can be used to document the configuration file.\n\nversion: must be 1.0.\nn: the number of patient records to generate. Must be \u003e0.\n\n\t\"population\": {\n\t\t\"migrant_prob\": 0.15,\n\t\t\"cancel_prob\": 0.15,\n\t\t\"database_start_date\": \"1971-01-01\",\n\t\t\"earliest_birth_date\": \"1920-01-01\"\n\t},\n\nhospitalization: sets parameters for all hospitalizations regardless of disease\n  stay_length: provides the mean and SD of the distribution of hospital length of stay in days\n\ndiseases: array of disease descriptor\n\nchronic and recurrence are not implemented\n\nhospital_rate: provides the mean and SD of the distribution of number of hospitalizations per year.\n\nclinic_rate: provides the mean and SD of the distribution of number of hospitalizations per year.\n\nrx_rate: provides the mean and SD of the distribution of the number of prescription filled per year.\n\ndins: an array of 1 or more drugs filled. din=as per the DPD; prob= probability of getting this DIN.\n\nlocator: used to generate a random geolocation code \n\t\tname: is the name of the field in the generated dataset, eg. postal_code.\n\t\tcsv_filename: the relative/absolute path of a csv file that must\"\n      - start by the following string \"code, freq\"\n      - each subsequent line contains geocode and the probability of residing in that geocode, eg R3L1E9, 0.10\n\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fdrgo%2Fsim","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fdrgo%2Fsim","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fdrgo%2Fsim/lists"}