> For the complete documentation index, see [llms.txt](https://docs.ngsurvey.com/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://docs.ngsurvey.com/ar/form-management/data-export/data-imports.md).

# استيراد البيانات

## 👪 **ما الغرض من استيراد البيانات؟**

باستخدام استيراد البيانات يمكنك إضافة مستجيبين إلى استبيان موجود إما عبر ملف CSV خارجي أو عن طريق نسخ المستجيبين الموجودين من استبيانات أخرى في النظام. يمكن أيضًا استخدام استيراد البيانات لنقل المستجيبين بسهولة من أداة أخرى إلى ngSurvey.

## 📋نسخ المستجيبين من استبيان آخر

باستخدام ميزة النسخ يمكنك نسخ إجابات المستجيبين الموجودة من استبيان إلى الاستبيان الحالي. من الممكن ترشيح المستجيبين المصدر إذا كان للاستبيان المصدر فلاتر مُنشأة، فيمكنك تطبيق هذه الفلاتر لنسخ مجموعة فرعية فقط من بيانات الاستبيان المصدر إلى الاستبيان الهدف.

يمكنك أيضًا اختيار تعريف معرف مستجيب مخصص باستخدام الوسم {respondentid}. يتيح لك ذلك وسم المستجيبين المستوردين في الاستبيان الهدف أثناء نسخهم.

![](https://848173432-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F-M8fLhS0bmfBRyq0HdUm%2Fuploads%2Fwjb315Ato1r4Zn8Kl6yD%2Fimage.png?alt=media\&token=85d5e85a-c44a-40ae-b783-05b54164076f)&#x20;

## 🚀استيراد البيانات من CSV&#x20;

لكي تستورد البيانات ستحتاج إلى تنسيق بياناتك الحالية في ملف CSV نصي، ويمكن أن يكون منسقًا على النحو التالي.

![](https://848173432-files.gitbook.io/~/files/v0/b/gitbook-legacy-files/o/assets%2F-M8fLhS0bmfBRyq0HdUm%2F-Mgt2PUuYPeZQMV5KWeO%2F-Mgt3gZOefIpa0xyMwKr%2Fimage.png?alt=media\&token=bafd45f7-3501-447b-94cd-231fa3fac5ad)

## 📑تطابق الأسئلة / الإجابات&#x20;

بمجرد رفع الملف أو تحديد إعدادات النسخ سيحاول ngSurvey مطابقة أعمدة رأس الصف الأول في CSV تلقائيًا مع الأسئلة أو الإجابات المتاحة داخل استبيانك. سيستخدم نص السؤال، نص الإجابة أو الأسماء المستعارة للتقارير لربط العناصر.

![](https://848173432-files.gitbook.io/~/files/v0/b/gitbook-legacy-files/o/assets%2F-M8fLhS0bmfBRyq0HdUm%2F-Mgt3l7UKIIokNa9PmCU%2F-Mgt4DTWIzGSx7KAc3kH%2Fimage.png?alt=media\&token=30d078c8-402b-4e3c-9298-4befff654caa)

باستخدام خيار No mapping يمكنك تخطي عمود معين في CSV؛ هذا العمود لن يتم استيراده كجزء من مجموعة البيانات. بجانب الأسئلة والإجابات يمكنك أيضًا مطابقة حقول خاصة بالمستجيب مع CSV.

![](https://848173432-files.gitbook.io/~/files/v0/b/gitbook-legacy-files/o/assets%2F-M8fLhS0bmfBRyq0HdUm%2F-Mgt3l7UKIIokNa9PmCU%2F-Mgt4_KZasqRWzLs5Q6U%2Fimage.png?alt=media\&token=f159db24-a581-4486-a2e8-1f115cc215d3)

{% hint style="info" %}
إذا قمت بـ [تصدير البيانات](/ar/form-management/data-export/data-exports.md) من استبيان باستخدام [تنسيق CSV الافتراضي](/ar/form-management/data-export/data-exports/csv-excel.md) وعند استيرادها ستتمكن من إعادة استيراد تلك البيانات في نفس الاستبيان أو في استبيان يحتوي على أسئلة/إجابات مشابهة دون الحاجة لإعادة مطابقة البيانات. إذا كنت تنسخ بيانات من استبيان مستنسخ فسيتمكن ngSurvey أيضًا من مطابقة معظم أو كل الأسئلة/الإجابات تلقائيًا.
{% endhint %}


---

# Agent Instructions
This documentation is published with GitBook. GitBook is the documentation platform designed so that both humans and AI agents can read, navigate, and reason over technical content effectively. Learn more at gitbook.com.

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

Perform an HTTP GET request on the following URL with the `ask` and `goal` query parameters:

```
GET https://docs.ngsurvey.com/ar/form-management/data-export/data-imports.md?ask=<question>&goal=<user_goal>
```

`ask` is the immediate question: it should be specific, self-contained, and written in natural language.
`goal` is what the user is ultimately trying to achieve, the reason they need the answer. Sharing it helps GitBook give you a better, more relevant answer. A goal is most helpful when it describes the outcome the user wants rather than restating the question. For example, with `ask=how do I create an API token`, a goal like `automate deployments from our CI pipeline` lets GitBook tailor the answer to that use case.

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.
