{
  "_id": "6acec4cbd9de2f3f33fc7b62",
  "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",
  "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",
  "NeedsCompilation": "no",
  "Packaged": {
    "Date": "2026-10-13 23:52:24 UTC",
    "User": "root"
  },
  "Author": "Miguel Luiz de Almeida Pinto [aut, cre], Mariano Martinez\nEspinosa [aut] (Author of the source course material (course\nnotes) this package implements)",
  "Maintainer": "Miguel Luiz de Almeida Pinto <phd20x@gmail.com>",
  "Repository": "https://cran.r-universe.dev",
  "Date/Publication": "2026-10-13 15:00:02 UTC",
  "RemoteUrl": "https://github.com/cran/sampleone",
  "RemoteRef": "HEAD",
  "RemoteSha": "2bf3d00e97688c0a1bcaa5f610c8cef3a4e9bf2a",
  "_user": "cran",
  "_type": "src",
  "_file": "sampleone_0.1.0.tar.gz",
  "_fileid": "https://r2.ropensci.org/283e403e70fe3361c6570915b67ba78783d4de1ce2a93bb8546e91ff1a27278b",
  "_filesize": 308409,
  "_sha256": "283e403e70fe3361c6570915b67ba78783d4de1ce2a93bb8546e91ff1a27278b",
  "_expires": "2027-01-21T23:54:49.000Z",
  "_created": "2026-10-13T23:52:24.000Z",
  "_published": "2026-10-13T23:54:51.801Z",
  "_buildurl": "https://github.com/r-universe/cran/actions/runs/38486555915",
  "_status": "success",
  "_host": "GitHub-Actions",
  "_jobs": [
    {
      "job": 115602581426,
      "time": 107,
      "config": "linux-devel-x86_64",
      "r": "4.7.0",
      "check": "OK",
      "artifact": "11859304002"
    },
    {
      "job": 115602581428,
      "time": 103,
      "config": "linux-release-x86_64",
      "r": "4.6.1",
      "check": "OK",
      "artifact": "11859803854"
    },
    {
      "job": 115601612819,
      "time": 176,
      "config": "source",
      "r": "4.6.1",
      "check": "OK",
      "artifact": "11859712564"
    },
    {
      "job": 115602581411,
      "time": 87,
      "config": "wasm-release",
      "r": "4.6.0",
      "check": "OK",
      "artifact": "11859437779"
    },
    {
      "job": 115602581320,
      "time": 87,
      "config": "windows-devel-x86_64",
      "r": "4.7.0",
      "check": "OK",
      "artifact": "11860380139"
    },
    {
      "job": 115602581413,
      "time": 94,
      "config": "windows-release-x86_64",
      "r": "4.6.1",
      "check": "OK",
      "artifact": "11859412892"
    }
  ],
  "_upstream": "https://github.com/cran/sampleone",
  "_commit": {
    "id": "2bf3d00e97688c0a1bcaa5f610c8cef3a4e9bf2a",
    "author": "Miguel Luiz de Almeida Pinto <phd20x@gmail.com>",
    "committer": "cran-robot <csardi.gabor+cran@gmail.com>",
    "message": "version 0.1.0\n",
    "time": 1791903602
  },
  "_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": "cran",
  "_selfowned": false,
  "_usedby": 0,
  "_updates": [
    {
      "week": "2026-42",
      "n": 1
    }
  ],
  "_tags": [
    {
      "name": "0.1.0",
      "date": "2026-10-13"
    }
  ],
  "_stars": 0,
  "_contributors": [
    {
      "user": "mdelapi",
      "count": 1,
      "uuid": 185193365
    }
  ],
  "_userbio": {
    "uuid": 6899542,
    "type": "organization",
    "name": "cran",
    "followers": 630,
    "description": "Unofficial read-only mirror of all CRAN R packages"
  },
  "_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"
  ],
  "_cranurl": false,
  "_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/cran/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-10-13 15:00:02",
      "modified": "2026-10-13 15:00:02",
      "commits": 1
    }
  ],
  "_score": 2.6989700043360187,
  "_indexed": false,
  "_nocasepkg": "sampleone",
  "_universes": [
    "cran",
    "mdelapi"
  ],
  "_indexurl": "https://mdelapi.r-universe.dev/sampleone",
  "_binaries": [
    {
      "r": "4.7.0",
      "os": "linux",
      "version": "0.1.0",
      "date": "2026-10-13T23:54:17.000Z",
      "distro": "resolute",
      "commit": "2bf3d00e97688c0a1bcaa5f610c8cef3a4e9bf2a",
      "fileid": "https://r2.ropensci.org/64399e1d3eb03dcd67150c6e4ebde7b86f5f1bcd7df3b8ad0deff20919121520",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/cran/actions/runs/38486555915"
    },
    {
      "r": "4.6.1",
      "os": "linux",
      "version": "0.1.0",
      "date": "2026-10-13T23:54:10.000Z",
      "distro": "resolute",
      "commit": "2bf3d00e97688c0a1bcaa5f610c8cef3a4e9bf2a",
      "fileid": "https://r2.ropensci.org/b2b6da3a08f617c678a2af13bddbc065cc707f6d5e122fdcc39efe76e2a87e47",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/cran/actions/runs/38486555915"
    },
    {
      "r": "4.6.0",
      "os": "wasm",
      "version": "0.1.0",
      "date": "2026-10-13T23:54:14.000Z",
      "commit": "2bf3d00e97688c0a1bcaa5f610c8cef3a4e9bf2a",
      "fileid": "https://r2.ropensci.org/611b35fc1858e4c21c0e75f6931f101626f5669a8fdd20cd63f191a0d7d6d624",
      "status": "success",
      "buildurl": "https://github.com/r-universe/cran/actions/runs/38486555915"
    },
    {
      "r": "4.7.0",
      "os": "win",
      "version": "0.1.0",
      "date": "2026-10-13T23:53:48.000Z",
      "commit": "2bf3d00e97688c0a1bcaa5f610c8cef3a4e9bf2a",
      "fileid": "https://r2.ropensci.org/a70c296ee38dcb0e4055abd2f819c6fdb0168648d38ac751ba1806511af1cc8e",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/cran/actions/runs/38486555915"
    },
    {
      "r": "4.6.1",
      "os": "win",
      "version": "0.1.0",
      "date": "2026-10-13T23:53:59.000Z",
      "commit": "2bf3d00e97688c0a1bcaa5f610c8cef3a4e9bf2a",
      "fileid": "https://r2.ropensci.org/7873b19ac19f3772add106c5ae49220f3d8c61d422bc3ea1340371b73b31906d",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/cran/actions/runs/38486555915"
    }
  ]
}