nhs-r-community / NHSRpopulation

API package to get postcode and Indices of Multiple Deprivation (IMD) data from the ONS by LSOA, currently for England.
https://nhs-r-community.github.io/NHSRpopulation/
Other
11 stars 1 forks source link

Check for vectors as opposed to data.frames #46

Closed Lextuga007 closed 5 months ago

Lextuga007 commented 5 months ago

https://adv-r.hadley.nz/vectors-chap.html#:~:text=Avoid%20is.vector()%2C%20is.atomic()%2C%20and%20is.numeric()%3A%20they%20don%E2%80%99t%20test%20if%20you%20have%20a%20vector%2C%20atomic%20vector%2C%20or%20numeric%20vector%3B%20you%E2%80%99ll%20need%20to%20carefully%20read%20the%20documentation%20to%20figure%20out%20what%20they%20actually%20do