map_resource_use_categories {packDAMipd}R Documentation

Function to to read the text form of resource use and replace it with standard texts of resoure use ie. some one can describe GP visit as GP surgery visit, surgery visit or general practioners visit etc. Here all these texts should be given in a excel or csv file and then corresponidng standard form will be read from the file and will be replaced.

Description

Function to to read the text form of resource use and replace it with standard texts of resoure use ie. some one can describe GP visit as GP surgery visit, surgery visit or general practioners visit etc. Here all these texts should be given in a excel or csv file and then corresponidng standard form will be read from the file and will be replaced.

Usage

map_resource_use_categories(
  the_data,
  service_actual,
  new_column,
  mapped_data,
  mapped_use,
  analysis,
  replace_only,
  relevant_column = NULL,
  check_value_relevant = NULL,
  nhs_use_column = NULL,
  check_value_nhs_use = NULL
)

Arguments

the_data

the data where the observations are held

service_actual

columna name of the actual service use

new_column

the name of the column where the mapped resource use to be

mapped_data

data where the service name and mapped service name has been stored

mapped_use

columan name of mapped resource use in mapped_data

analysis

base case or secondary

replace_only

if we want to replace only certain resource use

relevant_column

the name of the column where the mapped resource use is indicated as relevant or not

check_value_relevant

how is the mapped resource is indicated as relevant by a value

nhs_use_column

the name of the column where the mapped resource use comes under NHS or not

check_value_nhs_use

value that is used to indicated the nhs use

Value

the data with added sum


[Package packDAMipd version 1.1.0 Index]