An R package for confidence intervals and sample size determination for a binomial proportion under simple random sampling and pooled sampling.
The package is available under the GPL-3 license from CRAN as http://cran.r-project.org/web/packages/binomSamSize/