school_scraper.fsdschool module

Abstraction around a francophone school district school

class school_scraper.fsdschool.FSDSchool(df)[source]

Bases: object

Abstraction around school-specific data parsed from the school district’s website

Parameters

df – Panda’s dataframe containing school data parsed from the website

BUS_FIELD = 'Autobus'
MESSAGE_FIELD = 'Messages'
OPEN_FIELD = 'École'
SCHOOL_FIELD = "Nom de l'école"
property has_late_busses

True if 1 or more buses are late, False if all are running on time

Type

bool

property is_open

True if school is open, False if not

Type

bool

property messages

status messages associated with the school

Type

str

property name

name of the school

Type

str