---
title: "read(from:)"
framework: createmlcomponents
role: symbol
role_heading: Instance Method
path: "createmlcomponents/tabularestimator/read(from:)"
---

# read(from:)

Reads the encoded transformer from a file.

## Declaration

```swift
func read(from url: URL) throws -> Self.Transformer
```

## Parameters

- `url`: A file URL.

## Return Value

Return Value The decoded transformer.

## See Also

### Reading and writing

- [write(_:to:overwrite:)](createmlcomponents/tabularestimator/write(_:to:overwrite:).md)
- [Transformer](createmlcomponents/tabularestimator/transformer.md)
