All functions

add_labels()

Add variable labels for data set.

ageadjust()

Calculate the age standardized rate using the direct method.

calc_age()

Calculate the actual age between two dates

canregs

Example Population-Based Cancer Registry Data (canregs)

check_canreg()

Check the class of 'canreg'

check_group_vars()

Check the legality of group vars passed by dot dot dot

classify_areacode()

Classify Area Codes

classify_childhood()

Classify pediatric tumors according to the ICCC3 standards.

classify_icd10()

Classify ICD10 Codes to Cancer Categories.

cmerge()

Merge list

count_canreg()

Count canreg data.

cr_clean()

Clean canreg data.

cr_merge()

Merge elements from objects of class canregs, fbswicds, or asrs

cr_reframe()

Reframe data of class canregs or fbswicds

cr_select()

Select elements from objects with class "canregs", or "fbswicds"

create_age_rate()

Create age specific rate

create_asr()

Calculate Age-Standardized Rate (ASR)

create_quality()

Create quality indicators

create_ratio()

Title

create_report()

Create report from report templates

cumrate()

Calculate the cumulative rate.

cumrisk()

Calculate the cumulative risk.

cutage()

Cut age into groups.

draw_bar()

Draw bar chart.

draw_barchart()

Draw group bar chart.

draw_dumbbell()

Plot dumbbell chart.

draw_line() draw_linechart()

Draw line chart

draw_pyramid()

Draw population pyramids.

draw_pyramid(<fbswicd>)

Draw pyramids from object of fbswicd.

drop_others()

Drop other cancer in cancer categories.

drop_total()

Drop the total cancer

estimate_pop()

Estimating population structure using interpolation method.

expand_age_pop()

Expand age groups population.

expand_lifetable()

Expand five-year(abridged) life table to one-year(complete) life table.

has_rows()

Check if the data frame has rows after filtering

ls_reframe_vars()

List names of variables could be used cr_reframe function.

ls_std_vars()

list all standard population names available

ls_summary_vars()

List names of variables produced by the summary function.

lt()

Calculate life table from mortality rates.

post_sex_specific_cancer()

post

pre_deal_fbswicd()

Prepare the fbswicd data before other calculation

pre_deal_pop()

Reframe the population data according to vars passed by dot dot dot.

pyramid()

Plot population pyramid

quality

Quality Indicators from the China Cancer Registry Annual Report

read_canreg()

Read cancer registration data in the format reported to the National Cancer Center.

show_registry()

Get the areacodes of the registry

std_lang()

Standardize language input

summary(<canreg>) summary(<canregs>)

Summary object of class 'canreg'

tidy_age()

Tidy age description.

tidy_sex()

Tidy gender variable

tidy_var()

Convert variable according to the Standard for dataset of CR in China

truncrate()

Calculate truncated age standardized rate.

var_map_list()

Generate variable mapping list

write_areacode()

Write Six-digit administrative division code to the user defined dict.

write_registry()

Write registry attributes to the user-defined dictionary.