{
  "_id": "6a11455eacfb0bcc41ce769b",
  "Package": "PopulateR",
  "Type": "Package",
  "Title": "Create Data Frames for the Micro-Simulation of Human Populations",
  "Version": "1.13",
  "Authors@R": "c(\nperson(\"Michelle\", \"Gosse\", email=\"michelle.a.gosse@gmail.com\", role=c(\"aut\",\"cre\",\"cph\")),\nperson(\"Jonathan\", \"Marshall\",email=\"J.C.Marshall@massey.ac.nz\", role=\"aut\"),\nperson(\"Mark\", \"Bebbington\", email=\"M.Bebbington@massey.ac.nz\", role=\"ctb\"))",
  "Maintainer": "Michelle Gosse <michelle.a.gosse@gmail.com>",
  "Description": "Tools for constructing detailed synthetic human\npopulations from frequency tables. Add ages based on age groups\nand sex, create households, add students to education\nfacilities, create employers, add employers to employees, and\ncreate interpersonal networks.",
  "License": "GPL-3",
  "Encoding": "UTF-8",
  "LazyData": "true",
  "RoxygenNote": "7.3.2",
  "URL": "https://github.com/programgirl/PopulateR",
  "BugReports": "https://github.com/programgirl/PopulateR/issues",
  "Config/pak/sysreqs": "libglpk-dev libicu-dev libxml2-dev",
  "Repository": "https://programgirl.r-universe.dev",
  "Date/Publication": "2025-02-02 00:40:08 UTC",
  "RemoteUrl": "https://github.com/programgirl/populater",
  "RemoteRef": "HEAD",
  "RemoteSha": "84ce2c734de1b10c94c5c162667f1e69bfa4fb78",
  "NeedsCompilation": "no",
  "Packaged": {
    "Date": "2026-05-23 06:09:20 UTC",
    "User": "root"
  },
  "Author": "Michelle Gosse [aut, cre, cph],\nJonathan Marshall [aut],\nMark Bebbington [ctb]",
  "MD5sum": "dcbfa86b68ba6902038dfa802edab840",
  "_user": "programgirl",
  "_type": "src",
  "_file": "PopulateR_1.13.tar.gz",
  "_fileid": "5e5ec73ff87877510db3d2dbb8fdc47f2bb3b0fa2983a30cc7f4624a28f4f11c",
  "_filesize": 428423,
  "_sha256": "5e5ec73ff87877510db3d2dbb8fdc47f2bb3b0fa2983a30cc7f4624a28f4f11c",
  "_created": "2026-05-23T06:09:20.000Z",
  "_published": "2026-05-23T06:12:46.960Z",
  "_distro": "noble",
  "_jobs": [
    {
      "job": 77502154493,
      "time": 164,
      "config": "linux-devel-x86_64",
      "r": "4.7.0",
      "check": "OK",
      "artifact": "7174827869"
    },
    {
      "job": 77502154499,
      "time": 155,
      "config": "linux-release-x86_64",
      "r": "4.6.0",
      "check": "OK",
      "artifact": "7174827084"
    },
    {
      "job": 77502154501,
      "time": 159,
      "config": "macos-oldrel-arm64",
      "r": "4.5.3",
      "check": "OK",
      "artifact": "7174824821"
    },
    {
      "job": 77502154491,
      "time": 141,
      "config": "macos-release-arm64",
      "r": "4.6.0",
      "check": "OK",
      "artifact": "7174823110"
    },
    {
      "job": 77501980745,
      "time": 186,
      "config": "source",
      "r": "4.6.0",
      "check": "OK",
      "artifact": "7174809408"
    },
    {
      "job": 77502154500,
      "time": 112,
      "config": "wasm-release",
      "r": "4.6.0",
      "check": "OK",
      "artifact": "7174822093"
    },
    {
      "job": 77502154519,
      "time": 121,
      "config": "windows-devel",
      "r": "4.7.0",
      "check": "OK",
      "artifact": "7174823225"
    },
    {
      "job": 77502154517,
      "time": 128,
      "config": "windows-oldrel",
      "r": "4.5.3",
      "check": "OK",
      "artifact": "7174824062"
    },
    {
      "job": 77502154516,
      "time": 76,
      "config": "windows-release",
      "r": "4.6.0",
      "check": "OK",
      "artifact": "7174818226"
    }
  ],
  "_buildurl": "https://github.com/r-universe/programgirl/actions/runs/26325356899",
  "_status": "success",
  "_host": "GitHub-Actions",
  "_upstream": "https://github.com/programgirl/populater",
  "_commit": {
    "id": "84ce2c734de1b10c94c5c162667f1e69bfa4fb78",
    "author": "programgirl <michelle.a.gosse@gmail.com>",
    "committer": "programgirl <michelle.a.gosse@gmail.com>",
    "message": "Add NEWS.md\n",
    "time": 1738456808
  },
  "_maintainer": {
    "name": "Michelle Gosse",
    "email": "michelle.a.gosse@gmail.com",
    "login": "programgirl",
    "description": "PhD student working in R.",
    "uuid": 14024307
  },
  "_registered": true,
  "_dependencies": [
    {
      "package": "R",
      "version": ">= 4.0",
      "role": "Depends"
    },
    {
      "package": "brainGraph",
      "version": ">= 3.1.0",
      "role": "Imports"
    },
    {
      "package": "data.table",
      "version": ">= 1.16.2",
      "role": "Imports"
    },
    {
      "package": "dplyr",
      "version": ">= 1.1.4",
      "role": "Imports"
    },
    {
      "package": "igraph",
      "version": ">= 2.1.1",
      "role": "Imports"
    },
    {
      "package": "magrittr",
      "version": ">= 2.0.3",
      "role": "Imports"
    },
    {
      "package": "PearsonDS",
      "version": ">= 1.3.1",
      "role": "Imports"
    },
    {
      "package": "plyr",
      "version": ">= 1.8.9",
      "role": "Imports"
    },
    {
      "package": "rlang",
      "version": ">= 1.1.4",
      "role": "Imports"
    },
    {
      "package": "sn",
      "version": ">= 2.1.1",
      "role": "Imports"
    },
    {
      "package": "tidyr",
      "version": ">= 1.3.1",
      "role": "Imports"
    },
    {
      "package": "tidyselect",
      "version": ">= 1.2.1",
      "role": "Imports"
    },
    {
      "package": "withr",
      "version": ">= 3.0.2",
      "role": "Imports"
    }
  ],
  "_owner": "programgirl",
  "_selfowned": true,
  "_usedby": 0,
  "_updates": [],
  "_tags": [],
  "_stars": 1,
  "_contributors": [
    {
      "user": "programgirl",
      "count": 1351,
      "uuid": 14024307
    }
  ],
  "_userbio": {
    "uuid": 14024307,
    "type": "user",
    "name": "Michelle",
    "description": "PhD student working in R."
  },
  "_downloads": {
    "count": 185,
    "source": "https://cranlogs.r-pkg.org/downloads/total/last-month/PopulateR"
  },
  "_devurl": "https://github.com/programgirl/populater",
  "_searchresults": 0,
  "_rbuild": "4.6.0",
  "_assets": [
    "extra/citation.cff",
    "extra/citation.html",
    "extra/citation.json",
    "extra/citation.txt",
    "extra/contents.json",
    "extra/NEWS.html",
    "extra/NEWS.txt",
    "extra/PopulateR.html",
    "extra/readme.html",
    "extra/readme.md",
    "manual.pdf"
  ],
  "_homeurl": "https://github.com/programgirl/populater",
  "_realowner": "programgirl",
  "_cranurl": true,
  "_releases": [
    {
      "version": "1.13",
      "date": "2025-01-29"
    }
  ],
  "_exports": [
    "ABMToCova",
    "addemp",
    "addind",
    "addnetwork",
    "addschool",
    "agedis",
    "createemp",
    "diffsample",
    "fastmatch",
    "fixhours",
    "fixrelations",
    "interdiff",
    "other",
    "otherNum",
    "pairbeta4",
    "pairbeta4Num",
    "pairmult",
    "pairmultNum",
    "pairnorm",
    "pairnormNum"
  ],
  "_datasets": [
    {
      "name": "AdultsNoID",
      "title": "Non-partnered synthetic people",
      "object": "AdultsNoID",
      "class": [
        "data.frame"
      ],
      "fields": [
        "Sex",
        "Relationship",
        "ID",
        "Age",
        "HoursWorked"
      ],
      "rows": 2213,
      "table": true,
      "tojson": true
    },
    {
      "name": "AllEmployers",
      "title": "Employers and employees, by industry",
      "object": "AllEmployers",
      "class": [
        "data.frame"
      ],
      "fields": [
        "ANZSIC06",
        "BusinessCount",
        "EmployeeCount",
        "minCo",
        "maxCo",
        "minStaff",
        "maxStaff"
      ],
      "rows": 183,
      "table": true,
      "tojson": true
    },
    {
      "name": "BadRels",
      "title": "Synthetic people restricted to an age range",
      "object": "BadRels",
      "class": [
        "data.frame"
      ],
      "fields": [
        "Sex",
        "Relationship",
        "ID",
        "Age",
        "HoursWorked",
        "AgeBand",
        "MinAge",
        "MaxAge"
      ],
      "rows": 7568,
      "table": true,
      "tojson": true
    },
    {
      "name": "EmployerSet",
      "title": "Synthetic employers and their employee counts",
      "object": "EmployerSet",
      "class": [
        "data.frame"
      ],
      "fields": [
        "ANZSIC06",
        "NumEmployees",
        "Company"
      ],
      "rows": 225,
      "table": true,
      "tojson": true
    },
    {
      "name": "GroupInfo",
      "title": "The proportion of people in a relationship, by age band within sex",
      "object": "GroupInfo",
      "class": [
        "data.frame"
      ],
      "fields": [
        "Sex",
        "AgeBand",
        "MinAge",
        "MaxAge",
        "Relationship",
        "RelProps",
        "MidPoints"
      ],
      "rows": 14,
      "table": true,
      "tojson": true
    },
    {
      "name": "InitialDataframe",
      "title": "People in age groups, in the Timaru District",
      "object": "InitialDataframe",
      "class": [
        "data.frame"
      ],
      "fields": [
        "Sex",
        "Age.group",
        "Relationship",
        "LowerAge",
        "UpperAge",
        "ID"
      ],
      "rows": 46293,
      "table": true,
      "tojson": true
    },
    {
      "name": "IntoSchools",
      "title": "Four person households, with a school status for each person",
      "object": "IntoSchools",
      "class": [
        "data.frame"
      ],
      "fields": [
        "Sex",
        "Relationship",
        "ID",
        "Age",
        "HoursWorked",
        "SchoolStatus",
        "HouseholdID",
        "SexCode"
      ],
      "rows": 980,
      "table": true,
      "tojson": true
    },
    {
      "name": "LeftSchool",
      "title": "School leavers",
      "object": "LeftSchool",
      "class": [
        "data.frame"
      ],
      "fields": [
        "YearLeft",
        "Sex",
        "Age",
        "Total"
      ],
      "rows": 120,
      "table": true,
      "tojson": true
    },
    {
      "name": "NetworkMatrix",
      "title": "The number of contacts for 5000 person",
      "object": "NetworkMatrix",
      "class": [
        "integer"
      ],
      "fields": [],
      "table": false,
      "tojson": true
    },
    {
      "name": "Ppl4networks",
      "title": "Synthetic people living in the Timaru District",
      "object": "Ppl4networks",
      "class": [
        "data.frame"
      ],
      "fields": [
        "Sex",
        "Relationship",
        "ID",
        "Age",
        "HoursWorked"
      ],
      "rows": 1000,
      "table": true,
      "tojson": true
    },
    {
      "name": "RegionalStructure",
      "title": "Sex/Age pyramid for teenagers in the Canterbury Region",
      "object": "RegionalStructure",
      "class": [
        "data.frame"
      ],
      "fields": [
        "Sex",
        "Age.group",
        "Value",
        "Age"
      ],
      "rows": 14,
      "table": true,
      "tojson": true
    },
    {
      "name": "SchoolsToUse",
      "title": "Schools and their roll counts",
      "object": "SchoolsToUse",
      "class": [
        "data.frame"
      ],
      "fields": [
        "School.ID",
        "School.Name",
        "Gender",
        "AgeInRoll",
        "RollCount"
      ],
      "rows": 266,
      "table": true,
      "tojson": true
    },
    {
      "name": "SingleAges",
      "title": "Sex/Age pyramid data for Timaru District",
      "object": "SingleAges",
      "class": [
        "data.frame"
      ],
      "fields": [
        "Age.group",
        "Sex",
        "Value",
        "Age"
      ],
      "rows": 190,
      "table": true,
      "tojson": true
    },
    {
      "name": "Township",
      "title": "Simulated township",
      "object": "Township",
      "class": [
        "data.frame"
      ],
      "fields": [
        "Sex",
        "Relationship",
        "ID",
        "Age",
        "HoursWorked"
      ],
      "rows": 10000,
      "table": true,
      "tojson": true
    },
    {
      "name": "WorkingAdolescents",
      "title": "Adolescents with a school status and employment hours",
      "object": "WorkingAdolescents",
      "class": [
        "data.frame"
      ],
      "fields": [
        "Sex",
        "Relationship",
        "ID",
        "Age",
        "HoursWorked",
        "SchoolStatus"
      ],
      "rows": 478,
      "table": true,
      "tojson": true
    }
  ],
  "_help": [
    {
      "page": "ABMToCova",
      "title": "Creates the four data frames of weighted contact pairs for use in Covasim",
      "topics": [
        "ABMToCova"
      ]
    },
    {
      "page": "addemp",
      "title": "Add employers to people in employment",
      "topics": [
        "addemp"
      ]
    },
    {
      "page": "addind",
      "title": "Add a variable indicating whether the person is in education, or has left education",
      "topics": [
        "addind"
      ]
    },
    {
      "page": "addnetwork",
      "title": "Create a social network for people in a population",
      "topics": [
        "addnetwork"
      ]
    },
    {
      "page": "addschool",
      "title": "Match school children to schools",
      "topics": [
        "addschool"
      ]
    },
    {
      "page": "AdultsNoID",
      "title": "Non-partnered synthetic people",
      "topics": [
        "AdultsNoID"
      ]
    },
    {
      "page": "agedis",
      "title": "Add a sex/age structure to a data frame of grouped ages",
      "topics": [
        "agedis"
      ]
    },
    {
      "page": "AllEmployers",
      "title": "Employers and employees, by industry",
      "topics": [
        "AllEmployers"
      ]
    },
    {
      "page": "BadRels",
      "title": "Synthetic people restricted to an age range",
      "topics": [
        "BadRels"
      ]
    },
    {
      "page": "createemp",
      "title": "Create employers, each with employee counts",
      "topics": [
        "createemp"
      ]
    },
    {
      "page": "diffsample",
      "title": "Sample from groups, when the sample size for each group is different",
      "topics": [
        "diffsample"
      ]
    },
    {
      "page": "EmployerSet",
      "title": "Synthetic employers and their employee counts",
      "topics": [
        "EmployerSet"
      ]
    },
    {
      "page": "fastmatch",
      "title": "Create couples using a weighted age group structure",
      "topics": [
        "fastmatch"
      ]
    },
    {
      "page": "fixhours",
      "title": "Reallocates working hours between people in education and people not in education",
      "topics": [
        "fixhours"
      ]
    },
    {
      "page": "fixrelations",
      "title": "Provide an age structure to relationship status, estimated from age groups",
      "topics": [
        "fixrelations"
      ]
    },
    {
      "page": "GroupInfo",
      "title": "The proportion of people in a relationship, by age band within sex",
      "topics": [
        "GroupInfo"
      ]
    },
    {
      "page": "InitialDataframe",
      "title": "People in age groups, in the Timaru District",
      "topics": [
        "InitialDataframe"
      ]
    },
    {
      "page": "interdiff",
      "title": "Interpolate ages from age group medians",
      "topics": [
        "interdiff"
      ]
    },
    {
      "page": "IntoSchools",
      "title": "Four person households, with a school status for each person",
      "topics": [
        "IntoSchools"
      ]
    },
    {
      "page": "LeftSchool",
      "title": "School leavers",
      "topics": [
        "LeftSchool"
      ]
    },
    {
      "page": "NetworkMatrix",
      "title": "The number of contacts for 5000 person",
      "topics": [
        "NetworkMatrix"
      ]
    },
    {
      "page": "other",
      "title": "Match people into new households",
      "topics": [
        "other"
      ]
    },
    {
      "page": "otherNum",
      "title": "Match people into existing households",
      "topics": [
        "otherNum"
      ]
    },
    {
      "page": "pairbeta4",
      "title": "Pair two people, using a four-parameter beta distribution, into households",
      "topics": [
        "pairbeta4"
      ]
    },
    {
      "page": "pairbeta4Num",
      "title": "Pair two people, using a four-parameter beta distribution, households already exist",
      "topics": [
        "pairbeta4Num"
      ]
    },
    {
      "page": "pairmult",
      "title": "Create many-to-one pairs of people and place them into households",
      "topics": [
        "pairmult"
      ]
    },
    {
      "page": "pairmultNum",
      "title": "Create many-to-one pairs, when there are existing households",
      "topics": [
        "pairmultNum"
      ]
    },
    {
      "page": "pairnorm",
      "title": "Pair two people, using either a normal or skew-normal distribution, into households",
      "topics": [
        "pairnorm"
      ]
    },
    {
      "page": "pairnormNum",
      "title": "Pair two people, using either a normal or skew-normal distribution, households already exist",
      "topics": [
        "pairnormNum"
      ]
    },
    {
      "page": "Ppl4networks",
      "title": "Synthetic people living in the Timaru District",
      "topics": [
        "Ppl4networks"
      ]
    },
    {
      "page": "RegionalStructure",
      "title": "Sex/Age pyramid for teenagers in the Canterbury Region",
      "topics": [
        "RegionalStructure"
      ]
    },
    {
      "page": "SchoolsToUse",
      "title": "Schools and their roll counts",
      "topics": [
        "SchoolsToUse"
      ]
    },
    {
      "page": "SingleAges",
      "title": "Sex/Age pyramid data for Timaru District",
      "topics": [
        "SingleAges"
      ]
    },
    {
      "page": "Township",
      "title": "Simulated township",
      "topics": [
        "Township"
      ]
    },
    {
      "page": "WorkingAdolescents",
      "title": "Adolescents with a school status and employment hours",
      "topics": [
        "WorkingAdolescents"
      ]
    }
  ],
  "_readme": "https://github.com/programgirl/populater/raw/HEAD/README.md",
  "_rundeps": [
    "abind",
    "brainGraph",
    "cli",
    "codetools",
    "cpp11",
    "data.table",
    "doParallel",
    "dplyr",
    "foreach",
    "generics",
    "glue",
    "igraph",
    "iterators",
    "lattice",
    "lifecycle",
    "magrittr",
    "MASS",
    "Matrix",
    "MatrixModels",
    "mnormt",
    "numDeriv",
    "PearsonDS",
    "permute",
    "pillar",
    "pkgconfig",
    "plyr",
    "purrr",
    "quantreg",
    "R6",
    "Rcpp",
    "rlang",
    "sn",
    "SparseM",
    "stringi",
    "stringr",
    "survival",
    "tibble",
    "tidyr",
    "tidyselect",
    "utf8",
    "vctrs",
    "withr"
  ],
  "_score": 2.6989700043360187,
  "_indexed": true,
  "_nocasepkg": "populater",
  "_universes": [
    "programgirl"
  ],
  "_binaries": [
    {
      "r": "4.7.0",
      "os": "linux",
      "version": "1.13",
      "date": "2026-05-23T06:11:33.000Z",
      "distro": "noble",
      "commit": "84ce2c734de1b10c94c5c162667f1e69bfa4fb78",
      "fileid": "8e01b9554f17e814fd64bc38233d063ac751e0b1b9e6fd154806ad0938c5bf66",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/programgirl/actions/runs/26325356899"
    },
    {
      "r": "4.6.0",
      "os": "linux",
      "version": "1.13",
      "date": "2026-05-23T06:11:30.000Z",
      "distro": "noble",
      "commit": "84ce2c734de1b10c94c5c162667f1e69bfa4fb78",
      "fileid": "783791157f4e6081dc61845e88798585a2330cb819b7d90696e947050d80db82",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/programgirl/actions/runs/26325356899"
    },
    {
      "r": "4.5.3",
      "os": "mac",
      "version": "1.13",
      "date": "2026-05-23T06:11:27.000Z",
      "commit": "84ce2c734de1b10c94c5c162667f1e69bfa4fb78",
      "fileid": "d26b6d159d4f250d5a935c84828c9b723471069f60ba2d966b8a7481a01e2151",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/programgirl/actions/runs/26325356899"
    },
    {
      "r": "4.6.0",
      "os": "mac",
      "version": "1.13",
      "date": "2026-05-23T06:11:12.000Z",
      "commit": "84ce2c734de1b10c94c5c162667f1e69bfa4fb78",
      "fileid": "c5f9db5bfd6c48ddbaccbe945882df00f1f946ac3169ff40d530ba10ce7dcc2f",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/programgirl/actions/runs/26325356899"
    },
    {
      "r": "4.6.0",
      "os": "wasm",
      "version": "1.13",
      "date": "2026-05-23T06:11:34.000Z",
      "commit": "84ce2c734de1b10c94c5c162667f1e69bfa4fb78",
      "fileid": "c4087c206dbfc0424d8539e5d9c0082570372ecca97460eeccda2ec6bc6bb784",
      "status": "success",
      "buildurl": "https://github.com/r-universe/programgirl/actions/runs/26325356899"
    },
    {
      "r": "4.7.0",
      "os": "win",
      "version": "1.13",
      "date": "2026-05-23T06:10:41.000Z",
      "commit": "84ce2c734de1b10c94c5c162667f1e69bfa4fb78",
      "fileid": "7ec2fb20e7f7df9454cc6a56c2f6c03cf9a4d57ae87430018ef8049c7985a65f",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/programgirl/actions/runs/26325356899"
    },
    {
      "r": "4.5.3",
      "os": "win",
      "version": "1.13",
      "date": "2026-05-23T06:10:52.000Z",
      "commit": "84ce2c734de1b10c94c5c162667f1e69bfa4fb78",
      "fileid": "ca627b3264e43f0ac8cfae4d47a0f24c67f9afc3d58d822375462ca6e6bfccfb",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/programgirl/actions/runs/26325356899"
    },
    {
      "r": "4.6.0",
      "os": "win",
      "version": "1.13",
      "date": "2026-05-23T06:10:27.000Z",
      "commit": "84ce2c734de1b10c94c5c162667f1e69bfa4fb78",
      "fileid": "fc89138567b1fd62997240f45ae073a6b437a35b8236d21c0cf4c4c8abd1b561",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/programgirl/actions/runs/26325356899"
    }
  ]
}