Fixes to examples and tests to use correct variable labels and names (thanks Derrick Atherton for pointing this out).
Fix version number in NEWS
v 0.2.0
integerise() now uses the wrswoR package for sampling without replacement. This is in the order of 100s of times faster, reducing the time taken for the function to return from hours to minutes. I have implemented the sample_int_crank() function as this has given results similar to that of base R’s sample() in testing, so this should minimise changes between the two. See https://stackoverflow.com/questions/15113650/faster-weighted-sampling-without-replacement or https://cran.r-project.org/package=wrswoR for details of the implementation.
simulate() is deprecated. Instead of weight() %>% integerise() %>% simulate(), just use weight() %>% integerise(). This is to improve consistency with the steps to produce fractional weights (weight() %>% extract()).
extract_weights() has been deprecated. Use extract() instead.