- changes the name of the primary function from
xstatic_slurp
to justxstatic
- adds initial attempt at an interactive version,
xstatic_interactive
- to be completed - improves
get_area_codes
process. This now allows you (should allow you!) to pass in something likelad21
not justlad
, if that is what your custom lookup requires - imported functions are all now namespaced to their package, so no more @importFrom decs
- removes
batch_size
param fromxstatic
- it only ever needs to be 1000 anyway
- Moves
lookup
to internal data as it should always have been (better understanding of data in packages nowadays thanks to Hadley)
- Bit more tidying up and fixing things I just broke
- Making the logic for parameter choice in
get_dwp_codes
more robust, and reworked it so default params are NULL, you can override with your own selections - changed
period_id
tomeasure_id
but I am not sure if that is good or not - TODO: write up parameter choice combinations eg what to do if you want to switch from Universal Credit claims (caseload) dataset to the Households on UC dataset.
- Not sure what happened to 0.4.1
- Rejigged
get_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 (!)
- changes the name of the primary function from
statx_slurp
toxstatic_slurp
! - (and changes the name of the relevant file)
- makes significant changes to the parameter names of the main function:
location_level
becomesfilter_level
filter_location
becomesfilter_area
data_level
becomesreturn_level
use_alias
becomesuse_aliases
- and other standardisations between parameter names in the primary function and auxiliary functions
- makes changes to the examples in the man page and in the README
- adds additional explanation and makes corrections in README.md
- many, many, many exhausting battles with the R package checks and documentation procedures
- SO MANY mysterious and nonsensical error messages that contradict what's right in front of your eyes
- ended up adding 'packagename::' to the beginning of most of my functions to get rid of warnings about packages not being found or properly available. I don't understand!
- fixed the above by doing lots of @importFrom statements instead
- but hopefully I have made this at last into a valid package... it's been a battle.
- added Travis CI integration as per http://r-pkgs.had.co.nz/check.html#travis
- added Code of Conduct statement
- I learned that you don't need to
source
other R scripts in a package, just put them in theR
folder and R will source them all automatically.source
commands tend to cause devtools::check() to fail.
- initial commit that works but maybe needs extending and maybe refactoring
- wrote up README.md with acknowledgements and a commented example