osuosl / orvsd_central

5 stars 2 forks source link

Associating Districts with Sites #169

Closed dean closed 9 years ago

dean commented 9 years ago

This adds the command assoc_sites_districts to manage.py, which tries to logically assign sites to districts based on either names being contained in each other or the levenshtein distance between names being 3 or less.

Results on my dev environment:

School Matching:
School: Sand Ridge Charter School and Site: Sand Ridge matched.
School: Elkton Charter School and Site: Elkton matched.
School: Newberg Senior High School and Site: Newberg matched.

District Matching:
District: Eugene SD 4J or Site: Eugene contained in the other.
District: Vernonia SD 47J or Site: Vernonia contained in the other.
District: Greater Albany Public SD 8J or Site: Greater Albany Public contained in the other.

Remaining Sites:
    Pps Virtualscholars Sandbox
    Test25
    Flvs 25
    Yamhilljdep
    Lanejdep
    Pps Virtualscholars
    Southjettyycep
    Connect
    Test27
    Silvertonhigh Moodle27
    Linnjdep
    Test Pps Virtualscholars
    Skmoodle
    Traskriverycep
    Youngsbayjdep
    Newport
    Test22
    Farrellycep
dean commented 9 years ago

For some reason git thinks I want to merge 30 something commits, but it's incorrect. @Kennric r?

Kennric commented 9 years ago

+1