Import data
BraDypUS can import records from external files. Open Import data from the sidebar (editor privilege or higher required).

Supported formats
| Format | Use for |
|---|---|
| CSV | Tabular data — one row per record, first row as column headers |
| JSON | Array of objects, field names as keys |
| GeoJSON | Geographic features — geometries are imported as geodata |
| Photos + index | Bulk photo import with a CSV index file |
Importing CSV or JSON
The import wizard has three steps:
Step 1 — Setup: Select the import type, target table, and upload the file. Click Preview to continue.
Step 2 — Configure: BraDypUS reads the first rows and shows a mapping form.

- Map each source column to a target field (or mark it as "ignore").
- Choose a key field: the table field used to match incoming rows against existing records. If a record with that value already exists it is updated (upsert); otherwise a new record is inserted.
An empty cell imported into a numeric, boolean or date column is stored as NULL
Step 3 — Result: A summary shows how many records were inserted, updated, and how many rows could not be matched.
Transactional import
The entire import runs in a single database transaction. If any row causes an error, all changes are rolled back and no data is written. Fix the file and try again.
Large files
A CSV file is read one row at a time, so its size no longer limits the import: memory use stays flat whether the file has a hundred rows or a million. (A JSON file still has to be decoded as a whole, so very large files are better supplied as CSV.) The import is still a single transaction, which means that an interrupted or refused import leaves nothing behind. Since matching is by the key field, running the same file again is always safe: existing records are updated, not duplicated. The time a very large import takes is bounded by the server's request time limit (max_execution_time and the web server / proxy timeouts); split the file if it is hit.
Importing GeoJSON
- Select the target table (must have geodata enabled).
- Upload a
.geojsonor.jsonfile with aFeatureCollection. - Select which GeoJSON property to use as the match key, and which table field to match it against.
- Each matched record's geodata field is replaced with the feature geometry. Non-matching features are skipped.
CSV delimiter (comma, semicolon, tab) is detected automatically from the file.
Photo import
- Prepare a ZIP archive containing the image files.
- Prepare a CSV index file with at least two columns:
filename(the name inside the ZIP) andrecord_id(the id of the record to attach to). - Upload both files. BraDypUS validates the index, warns about any missing filenames, and links each photo to its record.
Imported photos go through the same max size / format conversion settings as a normal file upload.
Error handling
If the import transaction fails, no data is written. The error report shows which row caused the failure so you can correct the source file and retry.