Yewande91 / MaternalImmunisation

MaternalImmunisation
0 stars 0 forks source link

Demographics table #16

Open Yewande91 opened 4 years ago

Yewande91 commented 4 years ago

Create demographics table showing age ethnicity and at risk conditions by influenza season

For at risk conditions, goal is to show how many pregnancy did the woman have 0, 1 or 2+ at risk conditions and to do this for each season, same as in Table 1 https://www.sciencedirect.com/science/article/pii/S2590136220300012

Use Matimms_Data_dummydata1.csv in data-raw folder, first use Load.R file then Demographics.R

HorridTom commented 4 years ago

When I run Load.R and then Demographics.R I don't get any error message @Yewande91 so not sure what the problem is. I removed the install.packages calls at the top of each script as package installation should be handled separately.

HorridTom commented 4 years ago

What is the exact error message you get, on running which line?

HorridTom commented 4 years ago

On the dummy data I get this result - is this not what you expect?

image