CancerRegistryOfNorway / nordcanpreprocessing

Other
0 stars 0 forks source link

Include entity definitions (entity labels) #33

Closed CotterpinDoozer closed 1 year ago

CotterpinDoozer commented 2 years ago

This page https://metadata.kreftregisteret.no/variables/detail/814?tabIndex=4 contains an overview of the entity descriptions/labels for all entities used in NORDCAN. An xls-file can be downloaded from this site to be used in ELVIS - needs to be updated before each new version.

The English names of the entities should be available in nordcan.R - both on request and, for instance, when we export the comparison graphs, so that it for instance says "90: colon" instead of just "90".

CotterpinDoozer commented 1 year ago

Issue: Include entity definitions (entity labels) Huidong comment: need to talk with Siri. Estimate time: 1+ hours

CotterpinDoozer commented 1 year ago

We wish for labels for each entity for these files:

CotterpinDoozer commented 1 year ago

Something to consider: entities and labels might change over time. How to keep this updated with a minimum of manual work?

CotterpinDoozer commented 1 year ago

We might have some problems here with the length of the descriptions, and we need to discuss how to handle this. The file needs to be attached to nordcan.R.

How to keep track of changes: store as csv-file and use version control in GitLab?

HuidongTian commented 1 year ago

Updated.

https://github.com/CancerRegistryOfNorway/nordcancore/blob/master/data-raw/entity_label.csv https://github.com/CancerRegistryOfNorway/nordcanepistats/blob/master/R/compare_statistics_tables.R#L397

AnnaSkog commented 1 year ago

We must remember to change the heading in nordcan.R from "## Plot the comparison in figures (.png)." to "## Plot the comparison in figures (.jpg)."