SanFranciscoSafety Class
Represents the San Francisco Safety public dataset.
This dataset contains fire department calls for service and 311 cases in San Francisco. For more information about this dataset, including column descriptions, different ways to access the dataset, and examples, see San Francisco Safety Data in the Microsoft Azure Open Datasets catalog.
Initialize filtering fields.
- Inheritance
-
azureml.opendatasets._city_safety.CitySafetySanFranciscoSafety
Constructor
SanFranciscoSafety(start_date: datetime = datetime.datetime(2001, 1, 1, 0, 0), end_date: datetime = datetime.datetime(2024, 10, 18, 0, 0), cols: List[str] | None = None, enable_telemetry: bool = True)
Parameters
Name | Description |
---|---|
start_date
|
The date at which to start loading data, inclusive. If None, the Default value: 2001-01-01 00:00:00
|
end_date
|
The date at which to end loading data, inclusive. If None, the Default value: 2024-10-18 00:00:00
|
cols
|
A list of columns names to load from the dataset. If None, all columns are loaded. For information on the available columns in this dataset, see San Francisco Safety Data. Default value: None
|
enable_telemetry
|
Whether to enable telemetry on this dataset. Default value: True
|
start_date
Required
|
start date you'd like to query inclusively. |
end_date
Required
|
end date you'd like to query inclusively. |
cols
Required
|
a list of column names you'd like to retrieve. None will get all columns. |
enable_telemetry
Required
|
whether to send telemetry |