What R package is needed for IPUMS USA for weighting? Is it "survey"? Do you have sample code?

See this answer to a related question.