R/apha_cpd_survey.R
apha_cpd_survey.Rd
Full raw data from the AphA CPD Survey
apha_cpd_survey
This tidied raw data is available here as a tibble with 38 columns (blank or superfluous columns from the raw data were removed) and 237 rows (1 per respondent ID).
Variables have been named using a "controlled language" approach informed by Emily Riederer's "Column Names as Contracts" https://emilyriederer.netlify.app/post/column-name-contracts/.
Columns ending in "_id"
are numeric and represent a
unique ID for that response.
Columns ending in "_dttm"
are in datetime format.
Columns ending in "_cat"
contain categorical data,
though in some cases this is mixed with free text responses and may
require tidying if you need it to be strictly categorical/factor data.
Columns ending in "_n"
are theoretically counts, but in
this tibble they may be mixed with non-numeric values and so the columns
are in character format.
Columns ending in "_ind"
are theoretically indicator
values with 2 main value options (Yes/No). These are in character format,
but should be convertible to 1/0 or TRUE/FALSE values, if desired, with
minimal wrangling.
Columns ending in "_txt"
contain free text responses and
are in character format.
Multi-part questions have column name stubs with sequential letters. For
example, "q20a_"
, "q20b_"
and so on.
For formatting consistency, questions with a single part still have a
column name stub with the letter a, for example "q01a_"
.
Original survey questions (lightly edited) are provided as variable labels
using the {labelled}
package
https://larmarange.github.io/labelled/.
These labels provide more descriptive context for the "clean" column names.
Variable labels can be viewed using labelled::get_variable_labels
(apha_cpd_survey)
.
Survey press release web page: https://www.aphanalysts.org/ltnws/nhs-at-risk-of-losing-a-generation-of-data-analysts/
https://www.aphanalysts.org/documents/cpd-survey-results-raw-data/
The survey of NHS and other healthcare data analysts was conducted in July 2022. The results data is made available in this package with the permission of AphA.