If multiple districts with overlapping school_ids are the input of friendly_school_names(), only one corresponding school name is returned. this is fixed here by grouping by district_id and school_id and can be tested with testthat::test_file("tests/testthat/test_lookup.R")
If multiple districts with overlapping
school_id
s are the input offriendly_school_names()
, only one corresponding school name is returned. this is fixed here by grouping by district_id and school_id and can be tested with testthat::test_file("tests/testthat/test_lookup.R")