xstatic_slurp to just xstaticxstatic_interactive - to be completedget_area_codes process. This now allows you (should allow you!) to pass in something like lad21 not just lad, if that is what your custom lookup requiresbatch_size param from xstatic - it only ever needs to be 1000 anywaylookup to internal data as it should always have been (better understanding of data in packages nowadays thanks to Hadley)get_dwp_codes more robust, and reworked it so default params are NULL, you can override with your own selectionsperiod_id to measure_id but I am not sure if that is good or notget_dwp_codes quite a bit. Some queries weren't working. Still needs better documentation.Tidies up the chatty bits of get_dwp_codes
Restores the original name of the dwp_get_data_util function in dwp_get_data_util.R
Adds more comments to code
Fixes error in data-raw/get_lookup_data.R
Adds extra hack to get_dwp_codes.R to cover change of ds:
if (ben %in% pension_type && ds == 3) {
period = 2
geo_type = 3
}
fixes issue #1 (!)
statx_slurp to xstatic_slurp!location_level becomes filter_levelfilter_location becomes filter_areadata_level becomes return_leveluse_alias becomes use_aliasessource other R scripts in a package, just put them in the R folder and R will source them all automatically. source commands tend to cause devtools::check() to fail.