OHDSI Home | Forums | Wiki | Github

Na on the x-axis of the demographic plot in plpViewer

We have been experiencing Na’s on the x-axis of the Demographic Plot in the PLPViewer. It looks like the Na’s occur for patients above 99 years old.
I checked the source code and i looks like the age categories has been pre-specified to not contain people above 99 years. This is seen in the function called " plotDemographicSummary".

x$age ← factor(" 0-4"," 5-9"," 10-14", " 15-19"," 20-24"," 25-29"," 30-34"," 35-39"," 40-44", " 45-49"," 50-54"," 55-59"," 60-64"," 65-69"," 70-74", " 75-79"," 80-84"," 85-89"," 90-94"," 95-99","-1").

Is it possible to extend the age categories to also consider patients above 99 years @Rijnbeek and @jennareps ?

Thank you

@cssdenmark

Best Julie

1 Like
t