june.groups.university.Universities¶
-
class
june.groups.university.
Universities
(universities: List[june.groups.university.University]) -
__init__
(universities: List[june.groups.university.University]) Initialize self. See help(type(self)) for accurate signature.
-
_make_member_ids_dict
(members) Makes a dictionary with the ids of the members.
-
add
(group)
-
clear
()
-
classmethod
for_box_mode
()
-
classmethod
for_geography
()
-
classmethod
for_super_areas
(super_areas: june.geography.geography.SuperAreas, universities_filename: str = PosixPath('/home/sadie/JUNE/data/input/universities/uk_universities.csv'), max_distance_to_super_area=20) Initializes universities from super areas. By looking at the coordinates of each university in the filename, we initialize those universities who are close to any of the super areas.
- super_areas:
an instance of SuperAreas
- universities_filename:
path to the university data
-
classmethod
from_file
()
-
get_from_id
(id)
-
get_spec
() → str Returns the speciailization of the super group.
-
property
group_spec
-
property
member_ids
-