- removed error for
retrieve_PJSdata
when no additional arguments.
-
retrieve_PJSdata
now accepts additional arguments in dots. -
The build_query-functions now correctly calls
NVIpjsr::build_sql_select_year
andNVIpjsr::build_sql_select_code
. -
choose_PJS_levls
now correctly callsNVIpjsr::PJS_levels
. -
select_PJSdata_for_value
now correctly callsNVIpjsr::PJS_levels
.
-
NVIpjsr
now uses the internal pipe "|>" and therefore require R >= 4.1.0. -
simplified code for some functions.
Tools for retrieving, standardising, wrangling, preparing and reporting PJS data
and EOS data. NVIpjsr
was created by separating out PJS-functions from NVIdb
.
The following functions were copied from NVIdb v0.11.3
:
-
add_PJS_code_description
Translates PJS codes to descriptive text -
build_query_hensikt
Builds query for selecting data for hensikt from PJS -
build_query_one_disease
Builds query for selecting data for one disease from PJS -
build_query_outbreak
Builds query to select data for a disease outbreak from PJS -
build_sql_select_code
Builds sql modules to be included in select statements for selecting code -
build_sql_select_year
Builds sql modules to be included in select statements for selecting year(s) -
choose_PJS_levels
Choose columns from specified PJS-levels -
copy_PJS_code_2_text
Copy translation table for PJS codes to descriptive text -
exclude_from_PJSdata
Exclude rows from PJS-data -
login_by_credentials_PJS
Log in to PJS using stored credentials -
read_eos_data
Read EOS data from RaData -
read_PJS_code_2_text
Read translation table for PJS codes to descriptive text -
retrieve_PJSdata
Retrieves data from PJS -
select_PJSdata_for_value
Selects a subset of PJSdata based on code values -
set_disease_parameters
Sets disease selection parameters -
standardize_eos_data
Standardising EOS-data -
standardize_PJSdata
Standardising PJS-data -
transform_code_combinations
Transform combinations of code values into new values