# OpenCityDataLoader

> **Class** in `langchain_community`

📖 [View in docs](https://reference.langchain.com/python/langchain-community/document_loaders/open_city_data/OpenCityDataLoader)

Load from `Open City`.

## Signature

```python
OpenCityDataLoader(
    self,
    city_id: str,
    dataset_id: str,
    limit: int,
)
```

## Parameters

| Name | Type | Required | Description |
|------|------|----------|-------------|
| `city_id` | `str` | Yes | The Open City city identifier. |
| `dataset_id` | `str` | Yes | The Open City dataset identifier. |
| `limit` | `int` | Yes | The maximum number of documents to load. |

## Extends

- `BaseLoader`

## Constructors

```python
__init__(
    self,
    city_id: str,
    dataset_id: str,
    limit: int,
)
```

| Name | Type |
|------|------|
| `city_id` | `str` |
| `dataset_id` | `str` |
| `limit` | `int` |


## Properties

- `city_id`
- `dataset_id`
- `limit`

## Methods

- [`lazy_load()`](https://reference.langchain.com/python/langchain-community/document_loaders/open_city_data/OpenCityDataLoader/lazy_load)

---

[View source on GitHub](https://github.com/langchain-ai/langchain-community/blob/4b280287bd55b99b44db2dd849f02d66c89534d5/libs/community/langchain_community/document_loaders/open_city_data.py#L8)