{
  "_id": "6acf6ce4e2d863f662951f22",
  "Package": "sampleone",
  "Type": "Package",
  "Title": "Survey Sampling Methods for Teaching and Practice",
  "Version": "0.1.0",
  "Authors@R": "c(\nperson(\"Miguel Luiz\", \"de Almeida Pinto\", role = c(\"aut\", \"cre\"),\nemail = \"phd20x@gmail.com\"),\nperson(\"Mariano\", \"Martinez Espinosa\", role = \"aut\",\ncomment = \"Author of the source course material (course notes) this package implements\")\n)",
  "Description": "Planning, selection, and estimation for surveys under the\nmain probability sampling designs taught in introductory\nsampling courses: simple random sampling with and without\nreplacement, stratified sampling (proportional, Neyman, and\ncost-based allocation), systematic sampling, one- and two-stage\ncluster sampling, and ratio and regression estimators.\nFunctions accept a superset of the inputs a given formula\nrequires and silently ignore arguments that are not needed for\nthe selected computation. Each function returns a structured\nobject with the point estimate, the associated variance and\nconfidence interval, a step-by-step breakdown of the\ncalculation, and a short pedagogical note suggesting related\nmethods to explore, making the package suitable both for\napplied survey work and for classroom use. Methods follow\nCochran (1977, ISBN:0-471-16240-X) and Bolfarine & Bussab\n(2005, ISBN:8521203675), among others referenced in each\nfunction's documentation.",
  "License": "MIT + file LICENSE",
  "Encoding": "UTF-8",
  "Roxygen": "list(markdown = TRUE)",
  "Config/testthat/edition": "3",
  "VignetteBuilder": "knitr",
  "URL": "https://github.com/mdelapi/sampleone",
  "BugReports": "https://github.com/mdelapi/sampleone/issues",
  "Language": "en-US",
  "Config/roxygen2/version": "8.1.0",
  "Repository": "https://mdelapi.r-universe.dev",
  "Date/Publication": "2026-10-01 04:17:06 UTC",
  "RemoteUrl": "https://github.com/mdelapi/sampleone",
  "RemoteRef": "HEAD",
  "RemoteSha": "1dec215168511545f94144ce3c4041fd78e601e1",
  "NeedsCompilation": "no",
  "Packaged": {
    "Date": "2026-10-14 11:46:49 UTC",
    "User": "root"
  },
  "Author": "Miguel Luiz de Almeida Pinto [aut, cre],\nMariano Martinez Espinosa [aut] (Author of the source course material\n(course notes) this package implements)",
  "Maintainer": "Miguel Luiz de Almeida Pinto <phd20x@gmail.com>",
  "_user": "mdelapi",
  "_type": "src",
  "_file": "sampleone_0.1.0.tar.gz",
  "_fileid": "https://r2.ropensci.org/42c4720a4c21fc13b7c85336ec36fae621e8e85a4996e9dad8e971e5492997d4",
  "_filesize": 306552,
  "_sha256": "42c4720a4c21fc13b7c85336ec36fae621e8e85a4996e9dad8e971e5492997d4",
  "_expires": "2027-01-22T11:52:02.000Z",
  "_created": "2026-10-14T11:46:49.000Z",
  "_published": "2026-10-14T11:52:04.456Z",
  "_buildurl": "https://github.com/r-universe/mdelapi/actions/runs/38558628868",
  "_status": "success",
  "_host": "GitHub-Actions",
  "_jobs": [
    {
      "job": 115835197818,
      "time": 107,
      "config": "linux-devel-x86_64",
      "r": "4.7.0",
      "check": "OK",
      "artifact": "11891481826"
    },
    {
      "job": 115835197651,
      "time": 112,
      "config": "linux-release-x86_64",
      "r": "4.6.1",
      "check": "OK",
      "artifact": "11891047673"
    },
    {
      "job": 115835197671,
      "time": 182,
      "config": "macos-oldrel-arm64",
      "r": "4.5.3",
      "check": "OK",
      "artifact": "11890808146"
    },
    {
      "job": 115835197595,
      "time": 167,
      "config": "macos-release-arm64",
      "r": "4.6.1",
      "check": "OK",
      "artifact": "11891447086"
    },
    {
      "job": 115834031475,
      "time": 176,
      "config": "source",
      "r": "4.6.1",
      "check": "OK",
      "artifact": "11891341535"
    },
    {
      "job": 115835197561,
      "time": 90,
      "config": "wasm-release",
      "r": "4.6.0",
      "check": "OK",
      "artifact": "11891726703"
    },
    {
      "job": 115835197842,
      "time": 75,
      "config": "windows-devel-x86_64",
      "r": "4.7.0",
      "check": "OK",
      "artifact": "11891816624"
    },
    {
      "job": 115835197855,
      "time": 69,
      "config": "windows-oldrel-x86_64",
      "r": "4.5.3",
      "check": "OK",
      "artifact": "11892031437"
    },
    {
      "job": 115835197760,
      "time": 66,
      "config": "windows-release-x86_64",
      "r": "4.6.1",
      "check": "OK",
      "artifact": "11890702768"
    }
  ],
  "_upstream": "https://github.com/mdelapi/sampleone",
  "_commit": {
    "id": "1dec215168511545f94144ce3c4041fd78e601e1",
    "author": "Miguel Luiz <phd20x@gmail.com>",
    "committer": "Miguel Luiz <phd20x@gmail.com>",
    "message": "Respond to CRAN review: Description, no console output outside print methods, no .GlobalEnv; add insights/references\n",
    "time": 1790828226
  },
  "_maintainer": {
    "name": "Miguel Luiz de Almeida Pinto",
    "email": "phd20x@gmail.com",
    "login": "mdelapi",
    "description": "",
    "uuid": 185193365
  },
  "_distro": "resolute",
  "_registered": true,
  "_dependencies": [
    {
      "package": "R",
      "version": ">= 4.1.0",
      "role": "Depends"
    },
    {
      "package": "stats",
      "role": "Imports"
    },
    {
      "package": "utils",
      "role": "Imports"
    },
    {
      "package": "withr",
      "role": "Imports"
    },
    {
      "package": "testthat",
      "version": ">= 3.0.0",
      "role": "Suggests"
    },
    {
      "package": "knitr",
      "role": "Suggests"
    },
    {
      "package": "rmarkdown",
      "role": "Suggests"
    },
    {
      "package": "covr",
      "role": "Suggests"
    }
  ],
  "_owner": "mdelapi",
  "_selfowned": true,
  "_usedby": 0,
  "_updates": [
    {
      "week": "2026-38",
      "n": 2
    },
    {
      "week": "2026-39",
      "n": 3
    },
    {
      "week": "2026-40",
      "n": 4
    }
  ],
  "_tags": [],
  "_stars": 0,
  "_contributors": [
    {
      "user": "mdelapi",
      "count": 9,
      "uuid": 185193365
    }
  ],
  "_userbio": {
    "uuid": 185193365,
    "type": "user",
    "name": "mdelapi",
    "followers": 0
  },
  "_downloads": {
    "count": 0,
    "source": "https://cranlogs.r-pkg.org/downloads/total/last-month/sampleone"
  },
  "_devurl": "https://github.com/mdelapi/sampleone",
  "_searchresults": 0,
  "_rbuild": "4.6.1",
  "_assets": [
    "extra/citation.cff",
    "extra/citation.html",
    "extra/citation.json",
    "extra/citation.txt",
    "extra/contents.json",
    "extra/manual.pdf",
    "extra/NEWS.html",
    "extra/NEWS.txt",
    "extra/readme.html",
    "extra/readme.md",
    "extra/sampleone.html",
    "LICENSE"
  ],
  "_homeurl": "https://github.com/mdelapi/sampleone",
  "_realowner": "mdelapi",
  "_cranurl": true,
  "_releases": [
    {
      "version": "0.1.0",
      "date": "2026-10-13"
    }
  ],
  "_exports": [
    "aas_ajustar_perdas",
    "aas_comparar_reposicao",
    "aas_estima_media",
    "aas_estima_proporcao",
    "aas_estima_total",
    "aas_tamanho_amostra",
    "aas_tamanho_media",
    "aas_tamanho_proporcao",
    "amostra_estimadores",
    "amostragem_ajustar_deff_resposta",
    "amostragem_ajustar_resposta",
    "amostragem_comparar_planos",
    "cong_estima",
    "cong1_ajustar_deff",
    "cong1_estima_media",
    "cong1_estima_proporcao",
    "cong1_tamanho_media",
    "cong1_tamanho_proporcao",
    "cong2_estima_media",
    "cong2_estima_proporcao",
    "cong2_estima_razao_media",
    "estr_alocacao_custo",
    "estr_alocacao_neyman",
    "estr_alocacao_proporcional",
    "estr_estima_media",
    "estr_estima_proporcao",
    "estr_tamanho_amostra",
    "estr_tamanho_media",
    "estr_tamanho_proporcao",
    "pop_media",
    "pop_proporcao",
    "pop_total",
    "razao_estima_media",
    "razao_estima_R",
    "razao_estima_total",
    "razao_tamanho_media",
    "razao_tamanho_R",
    "razao_tamanho_total",
    "razao_variancia_piloto",
    "razao_vs_regressao_decidir",
    "reg_ajustar",
    "reg_estima_media",
    "reg_teste_origem",
    "sist_intervalo",
    "sist_selecionar_amostra"
  ],
  "_help": [
    {
      "page": "aas_ajustar_perdas",
      "title": "Adjust a sample size by a flat percentage buffer (\"acrescimo\")",
      "topics": [
        "aas_ajustar_perdas"
      ]
    },
    {
      "page": "aas_comparar_reposicao",
      "title": "Compare the \"with replacement\" and \"without replacement\" designs (EPA/deff)",
      "topics": [
        "aas_comparar_reposicao"
      ]
    },
    {
      "page": "aas_estima_media",
      "title": "Estimate the population mean under simple random sampling (AAS)",
      "topics": [
        "aas_estima_media"
      ]
    },
    {
      "page": "aas_estima_proporcao",
      "title": "Estimate a population proportion under simple random sampling (AAS)",
      "topics": [
        "aas_estima_proporcao"
      ]
    },
    {
      "page": "aas_estima_total",
      "title": "Estimate the population total under simple random sampling (AAS)",
      "topics": [
        "aas_estima_total"
      ]
    },
    {
      "page": "aas_tamanho_amostra",
      "title": "Sample size for AAS: automatic formula selection (umbrella function)",
      "topics": [
        "aas_tamanho_amostra"
      ]
    },
    {
      "page": "aas_tamanho_media",
      "title": "Sample size to estimate a population mean (AAS)",
      "topics": [
        "aas_tamanho_media"
      ]
    },
    {
      "page": "aas_tamanho_proporcao",
      "title": "Sample size to estimate a population proportion (AAS)",
      "topics": [
        "aas_tamanho_proporcao"
      ]
    },
    {
      "page": "amostra_estimadores",
      "title": "Sample-based estimators (mean, variance, proportion)",
      "topics": [
        "amostra_estimadores"
      ]
    },
    {
      "page": "amostragem_ajustar_deff_resposta",
      "title": "Adjust a sample size for design effect and expected response rate",
      "topics": [
        "amostragem_ajustar_deff_resposta"
      ]
    },
    {
      "page": "amostragem_ajustar_resposta",
      "title": "Adjust a sample size for a minimum expected response rate",
      "topics": [
        "amostragem_ajustar_resposta"
      ]
    },
    {
      "page": "amostragem_comparar_planos",
      "title": "Compare the variance of different sampling plans for the same problem",
      "topics": [
        "amostragem_comparar_planos"
      ]
    },
    {
      "page": "cong_estima",
      "title": "Umbrella estimator for two-stage cluster sampling",
      "topics": [
        "cong_estima"
      ]
    },
    {
      "page": "cong1_ajustar_deff",
      "title": "Adjust a cluster/element sample size for design effect and response rate",
      "topics": [
        "cong1_ajustar_deff"
      ]
    },
    {
      "page": "cong1_estima_media",
      "title": "Estimate the population mean under one-stage cluster sampling",
      "topics": [
        "cong1_estima_media"
      ]
    },
    {
      "page": "cong1_estima_proporcao",
      "title": "Estimate the population proportion under one-stage cluster sampling",
      "topics": [
        "cong1_estima_proporcao"
      ]
    },
    {
      "page": "cong1_tamanho_media",
      "title": "Sample size (number of clusters) to estimate a mean (one-stage cluster sampling)",
      "topics": [
        "cong1_tamanho_media"
      ]
    },
    {
      "page": "cong1_tamanho_proporcao",
      "title": "Sample size (number of clusters) to estimate a proportion (one-stage cluster sampling)",
      "topics": [
        "cong1_tamanho_proporcao"
      ]
    },
    {
      "page": "cong2_estima_media",
      "title": "Estimate the population mean under two-stage cluster sampling",
      "topics": [
        "cong2_estima_media"
      ]
    },
    {
      "page": "cong2_estima_proporcao",
      "title": "Estimate the population proportion under two-stage cluster sampling",
      "topics": [
        "cong2_estima_proporcao"
      ]
    },
    {
      "page": "cong2_estima_razao_media",
      "title": "Estimate the population mean via ratio estimator (two-stage cluster sampling, M unknown)",
      "topics": [
        "cong2_estima_razao_media"
      ]
    },
    {
      "page": "estr_alocacao_custo",
      "title": "Cost-based optimum allocation of a stratified sample",
      "topics": [
        "estr_alocacao_custo"
      ]
    },
    {
      "page": "estr_alocacao_neyman",
      "title": "Neyman (optimum) allocation of a stratified sample",
      "topics": [
        "estr_alocacao_neyman"
      ]
    },
    {
      "page": "estr_alocacao_proporcional",
      "title": "Proportional allocation of a stratified sample",
      "topics": [
        "estr_alocacao_proporcional"
      ]
    },
    {
      "page": "estr_estima_media",
      "title": "Estimate the population mean under stratified sampling",
      "topics": [
        "estr_estima_media"
      ]
    },
    {
      "page": "estr_estima_proporcao",
      "title": "Estimate the population proportion under stratified sampling",
      "topics": [
        "estr_estima_proporcao"
      ]
    },
    {
      "page": "estr_tamanho_amostra",
      "title": "Sample size for stratified sampling: automatic formula selection (umbrella)",
      "topics": [
        "estr_tamanho_amostra"
      ]
    },
    {
      "page": "estr_tamanho_media",
      "title": "Sample size for stratified sampling: mean (proportional / Neyman / cost)",
      "topics": [
        "estr_tamanho_media"
      ]
    },
    {
      "page": "estr_tamanho_proporcao",
      "title": "Sample size for stratified sampling: proportion (proportional / Neyman / cost)",
      "topics": [
        "estr_tamanho_proporcao"
      ]
    },
    {
      "page": "pop_media",
      "title": "Population mean",
      "topics": [
        "pop_media"
      ]
    },
    {
      "page": "pop_proporcao",
      "title": "Population proportion",
      "topics": [
        "pop_proporcao"
      ]
    },
    {
      "page": "pop_total",
      "title": "Population total",
      "topics": [
        "pop_total"
      ]
    },
    {
      "page": "print.sampling_result",
      "title": "Print method for sampling_result objects",
      "topics": [
        "print.sampling_result"
      ]
    },
    {
      "page": "razao_estima_media",
      "title": "Ratio estimator of the population mean",
      "topics": [
        "razao_estima_media"
      ]
    },
    {
      "page": "razao_estima_R",
      "title": "Ratio estimator of the population ratio R",
      "topics": [
        "razao_estima_R"
      ]
    },
    {
      "page": "razao_estima_total",
      "title": "Ratio estimator of the population total",
      "topics": [
        "razao_estima_total"
      ]
    },
    {
      "page": "razao_tamanho_media",
      "title": "Sample size to estimate the population mean via the ratio estimator",
      "topics": [
        "razao_tamanho_media"
      ]
    },
    {
      "page": "razao_tamanho_R",
      "title": "Sample size to estimate the population ratio R",
      "topics": [
        "razao_tamanho_R"
      ]
    },
    {
      "page": "razao_tamanho_total",
      "title": "Sample size to estimate the population total via the ratio estimator",
      "topics": [
        "razao_tamanho_total"
      ]
    },
    {
      "page": "razao_variancia_piloto",
      "title": "Pilot-sample variance estimate for the ratio estimator",
      "topics": [
        "razao_variancia_piloto"
      ]
    },
    {
      "page": "razao_vs_regressao_decidir",
      "title": "Ratio vs. regression: full side-by-side comparison (umbrella function)",
      "topics": [
        "razao_vs_regressao_decidir"
      ]
    },
    {
      "page": "reg_ajustar",
      "title": "Fit a simple linear regression (ratio/regression estimator groundwork)",
      "topics": [
        "reg_ajustar"
      ]
    },
    {
      "page": "reg_estima_media",
      "title": "Regression estimator of the population mean",
      "topics": [
        "reg_estima_media"
      ]
    },
    {
      "page": "reg_teste_origem",
      "title": "Decide between the ratio and regression estimators",
      "topics": [
        "reg_teste_origem"
      ]
    },
    {
      "page": "sist_intervalo",
      "title": "Sampling interval for systematic sampling",
      "topics": [
        "sist_intervalo"
      ]
    },
    {
      "page": "sist_selecionar_amostra",
      "title": "Select a systematic sample",
      "topics": [
        "sist_selecionar_amostra"
      ]
    },
    {
      "page": "summary.sampling_result",
      "title": "Summary method for sampling_result objects",
      "topics": [
        "summary.sampling_result"
      ]
    }
  ],
  "_readme": "https://github.com/mdelapi/sampleone/raw/HEAD/README.md",
  "_rundeps": [
    "withr"
  ],
  "_vignettes": [
    {
      "source": "catalogo-formulas.Rmd",
      "filename": "catalogo-formulas.html",
      "title": "Catalogo de formulas: da apostila as funcoes do sampleone",
      "engine": "knitr::rmarkdown",
      "headings": [
        "Sobre este catalogo",
        "Capitulo 2 -- Conceitos base",
        "Capitulo 3 -- Amostragem Aleatoria Simples (AAS)",
        "Capitulo 4 -- Amostragem Estratificada",
        "Capitulo 5 -- Amostragem Sistematica",
        "Capitulo 6 -- Conglomerados",
        "Capitulo 7 -- Regressao e Razao",
        "Funcao transversal",
        "Nota sobre arredondamento de tamanho de amostra",
        "Rastreabilidade dos testes"
      ],
      "created": "2026-09-20 21:06:48",
      "modified": "2026-09-20 21:06:48",
      "commits": 1
    }
  ],
  "_score": 4.176091259055681,
  "_indexed": true,
  "_nocasepkg": "sampleone",
  "_universes": [
    "mdelapi"
  ],
  "_binaries": [
    {
      "r": "4.7.0",
      "os": "linux",
      "version": "0.1.0",
      "date": "2026-10-14T11:48:38.000Z",
      "distro": "resolute",
      "commit": "1dec215168511545f94144ce3c4041fd78e601e1",
      "fileid": "https://r2.ropensci.org/370fb038de2587b488287cd528744a56b2cae2243173a16f860d6c4387bb3482",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/mdelapi/actions/runs/38558628868"
    },
    {
      "r": "4.6.1",
      "os": "linux",
      "version": "0.1.0",
      "date": "2026-10-14T11:48:42.000Z",
      "distro": "resolute",
      "commit": "1dec215168511545f94144ce3c4041fd78e601e1",
      "fileid": "https://r2.ropensci.org/450c1a68ce55935815c4e4e2c15f1460972382dd3272d232e6d9c5b4fc42b075",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/mdelapi/actions/runs/38558628868"
    },
    {
      "r": "4.5.3",
      "os": "mac",
      "version": "0.1.0",
      "date": "2026-10-14T11:50:47.000Z",
      "commit": "1dec215168511545f94144ce3c4041fd78e601e1",
      "fileid": "https://r2.ropensci.org/5a8ef0ff18049f95367249251eb6a37b2a0ecaa663b7bc84ba32b54a775ad8e6",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/mdelapi/actions/runs/38558628868"
    },
    {
      "r": "4.6.1",
      "os": "mac",
      "version": "0.1.0",
      "date": "2026-10-14T11:49:35.000Z",
      "commit": "1dec215168511545f94144ce3c4041fd78e601e1",
      "fileid": "https://r2.ropensci.org/87d0d5a27815228d9a04f67f14dee1d6df32eb203c7c0dc2fe57c7cc14a54cb6",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/mdelapi/actions/runs/38558628868"
    },
    {
      "r": "4.6.0",
      "os": "wasm",
      "version": "0.1.0",
      "date": "2026-10-14T11:48:38.000Z",
      "commit": "1dec215168511545f94144ce3c4041fd78e601e1",
      "fileid": "https://r2.ropensci.org/3ff14f0cef75ec7cafc2cbe590f5ac7a5526b42610da3a443405fab1b8ff76c0",
      "status": "success",
      "buildurl": "https://github.com/r-universe/mdelapi/actions/runs/38558628868"
    },
    {
      "r": "4.7.0",
      "os": "win",
      "version": "0.1.0",
      "date": "2026-10-14T11:48:00.000Z",
      "commit": "1dec215168511545f94144ce3c4041fd78e601e1",
      "fileid": "https://r2.ropensci.org/bb5dd846a8c7faa5280adc1e67bda492a956d20d50bca821d37fdd1e0f1a837e",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/mdelapi/actions/runs/38558628868"
    },
    {
      "r": "4.5.3",
      "os": "win",
      "version": "0.1.0",
      "date": "2026-10-14T11:47:58.000Z",
      "commit": "1dec215168511545f94144ce3c4041fd78e601e1",
      "fileid": "https://r2.ropensci.org/5c6d0a28e88655262243a41f75a8aef84390d449fe2561ede99144bc685ef010",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/mdelapi/actions/runs/38558628868"
    },
    {
      "r": "4.6.1",
      "os": "win",
      "version": "0.1.0",
      "date": "2026-10-14T11:47:52.000Z",
      "commit": "1dec215168511545f94144ce3c4041fd78e601e1",
      "fileid": "https://r2.ropensci.org/9e82c88f9e92c4bf9f2c94f5b95c5d88cfe983c4c52ed509ee3a8d535862bb05",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/mdelapi/actions/runs/38558628868"
    }
  ]
}