almartin82 / njschooldata

a simple, consistent interface for accessing NJ DOE school data in R
Other
11 stars 4 forks source link

Percentile rank aggregations #155

Closed chiouey closed 3 years ago

chiouey commented 3 years ago

Aggregated assessment data by charter/all public are not included in the ranking to calculate peer percentiles. This function uses the calculated percentiles and their corresponding mean scale score / proficiency % value as a lookup table to find the closest percentile value.

proposed changes

test

testthat::test_file("tests/testthat/test_peer_percentile.R")