Skip to content

population command does not work #129

@JinIgarashi

Description

@JinIgarashi

--sex=female does not work. data will be always male even female is set.

command behaviour

# works correctly
rapida population download --country=RWA --download-path=/data/jin/data --sex=male
rapida population download --country=RWA --download-path=/data/jin/data --sex=male --age-group=active
rapida population download --country=RWA --download-path=/data/jin/data --sex=male --age-group=child
rapida population download --country=RWA --download-path=/data/jin/data --sex=male --age-group=elderly

# {ISO3}_male_total is downloaded.
rapida population download --country=RWA --download-path=/data/jin/data --sex=female
# {ISO3}_male_active is downloaded.
rapida population download --country=RWA --download-path=/data/jin/data --sex=female --age-group=active
# {ISO3}_male_child is downloaded.
rapida population download --country=RWA --download-path=/data/jin/data --sex=female --age-group=child
# {ISO3}_male_eldery is downloaded.
rapida population download --country=RWA --download-path=/data/jin/data --sex=female --age-group=elderly

Suggestion

  • without argument except country
rapida population download --country=RWA --download-path=/data/jin/data

currently, this download male_total file.
I suggest all data if a country can be downloaded if users only set --country

  • --country and --sex are set
rapida population download --country=RWA --download-path=/data/jin/data --sex=male

It can download male_child, make_active, male_elderly and male_total.

  • --country and --age-group are set
rapida population download --country=RWA --download-path=/data/jin/data --age-group=active

It can download male_active, female_active.

  • -- age-group can total option.

Currently no option to download total data

rapida population download --country=RWA --download-path=/data/jin/data --age-group=total
  • The below command show error. It should check arguments, and show correct error message if no country, sex and age-group are set.
rapida population download --download-path=/data/jin/data

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions