> For the complete documentation index, see [llms.txt](https://docs.sov.ai/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://docs.sov.ai/api-reference/utils/client-side-s3.md).

# Client Side S3

**Module:** `sovai.utils.client_side_s3`

## Functions

### `map_identifier()`

```python
def map_identifier(
    input_values,
    input_identifier = 'ticker',
    output_identifier = 'cik',
    trailing_zero_removal = True,
)
```

Map from one identifier to another using the df\_codes DataFrame. Handles string, single-item list, and multiple-item lists as input. Uses vectorization for improved performance.

**Parameters**

| Parameter               | Type | Description                                                             |
| ----------------------- | ---- | ----------------------------------------------------------------------- |
| `input_values`          | —    | The input identifier value(s) to map from (string, list, or array-like) |
| `input_identifier`      | —    | The type of input identifier (default: 'ticker')                        |
| `output_identifier`     | —    | The type of output identifier (default: 'cik')                          |
| `trailing_zero_removal` | —    | If True, convert CIK to int (default: True)                             |

**Returns**

: Mapped identifier value(s), same type as input

***
