Closed edarin closed 3 years ago
@edarin This looks great to me. It works when I run it locally. Have you tested it on the dev server?
P.S. Thanks for spotting the issue in getPopSql.R
!
@edarin In version_info.csv (woprUtils folder on WorldPop drive), I have changed SLE v2.0 to active = FALSE and I rebuilt sysdata.rda. This will prevent SLE v2.0 from being displayed on the production server when dev <- FALSE
in global.R.
@edarin I also removed the section of woprUtils/scripts/6 woprVision_global.R
that creates the agesex tables internally for wopr.
It answers to #24
It makes use of the API endpoint:
/v1/wopr/proportionsagesex?iso3=NGA&ver=1.2&id=null
@doug-leasure careful before merging as I set
dev
back toT
and SLE v2.0 is not yet approved by partners.