# \[데이터] 데이터셋 불러오기

### 코드

```
@데이터 "데이터셋_이름" 불러오기
```

***

### 설명

저장된 데이터셋 이름을 기준으로 데이터를 불러올 때 사용해요.

***

### 주의사항

* 데이터셋 이름은 실제로 존재하는 이름이어야 해요.
* 불러오기 실패 시 이후의 코드도 동작하지 않을 수 있어요.

***

### 파이썬 대응 코드

```
df = load_by_data_name(data_name)
```

***

### 예시

{% code title="예시 코드" %}

```
인구데이터 = @데이터 "2022~2050 추계 인구" 불러오기
인구데이터 보여주기
```

{% endcode %}

{% code title="예시 코드의 결과" %}

```
[{
	연도: 2022
	총인구: 51672569
}, {
	연도: 2023
	총인구: 51712619
}, {
	연도: 2024
	총인구: 51751065
}, {
	연도: 2025
	총인구: 51684564
},
...
]
```

{% endcode %}

***

### 검색 키워드

데이터 불러오기


---

# Agent Instructions: Querying This Documentation

If you need additional information that is not directly available in this page, you can query the documentation dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter:

```
GET https://codebook.horang.it/data/undefined-1.md?ask=<question>
```

The question should be specific, self-contained, and written in natural language.
The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
