getwilds / cancerprof

API Client for State Cancer Profiles
http://getwilds.org/cancerprof/
Other
2 stars 3 forks source link

Update documentation for sex argument #117

Open cheryldietrich opened 2 months ago

cheryldietrich commented 2 months ago

Sex is listed a 'male', 'female' or 'both sexes' in the documentation. Input required is plural - 'males' or 'females'

incidence_cancer(area='NC', areatype="hsa", cancer = "Melanoma of the Skin", race = "all races (includes hispanic)", sex = "male", age = "all ages", stage = "all stages", year = "latest 5 year average")

'Error in handle_sex(sex) : Invalid sex input, please check the documentation for valid inputs'