Learn R Programming

NHSDataDictionaRy (version 1.2.5)

nhs_data_elements: NHS data elements method

Description

Searches all the data elements in the data element index of the NHS data dictionary and returns the links.

Usage

nhs_data_elements()

Arguments

Value

A tibble (class data frame) with the results of scraping the NHS Data Dictionary website for the data elements look ups, if no return this will produce an appropriate informational message.

  • link_name - the name of the scraped link. This relates to the actual name of the data element from the NHS Data Dictionary.

  • url - the url passed to the parameter

  • full_url - the full url of where the data element is on the NHS Data Dictionary website

  • xpath_nat_code - utilises the element in the website and appends the link_short - to pull back only national codes from the dictionary site. NOTE: not all of the returns will have national code tables.

  • xpath_default_codes - pulls back the data dictionary default codes - these can be then used with the national codes

  • xpath_also_known - pulls back the data dictionary elements alias table - this will be available for all data elements

Details

This function has no input parameters and returns the

Examples

Run this code
# NOT RUN {
nhs_data_lookup <- nhs_data_elements()
head(nhs_data_lookup, 10)
# }

Run the code above in your browser using DataLab