Skip to content

ngarivictor/code_test

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

2 Commits
 
 
 
 
 
 
 
 

Repository files navigation

Consider a dataset providing information on the functionality of infrastructure resources, for each water point it includes the name of village it is in and its functional state.

Implement a data processing module which takes a dataset URL as input and returns:

-The number of water points that are functional

-The number of water points per community

-The rank for each community by the percentage of broken water points

There should be a top level object or function ? calculate("http://...").., which returns a data structure with the above information, something like { number_functional: ..., number_water_points: { communityA: ..., }, community_ranking: ... }

Sample test results Successful Sample Response https://github.com/ngarivictor/code_test/blob/master/output.txt

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages