Skip to content

Commit

Permalink
Fixing problem with naming examples.
Browse files Browse the repository at this point in the history
  • Loading branch information
danielfireman authored Nov 13, 2017
1 parent b2ccefb commit df55ce6
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -92,7 +92,7 @@ sch, _ := schema.LoadRemote("http://myfoobar/users/schema.json")

## Processing Tabular Data

Once you have the data, you would like to process using language data types. [schema.Uncast](https://godoc.org/github.com/frictionlessdata/tableschema-go/schema#example-Schema-Uncast) and [schema.UncastTable](https://godoc.org/github.com/frictionlessdata/tableschema-go/schema#example-Schema-UncastTable) are your friends on this journey.
Once you have the data, you would like to process using language data types. [schema.CastTable](https://godoc.org/github.com/frictionlessdata/tableschema-go/schema#example-Schema-CastTable) and [schema.CastRow](https://godoc.org/github.com/frictionlessdata/tableschema-go/schema#example-Schema-CastRow) are your friends on this journey.

```go
package main
Expand Down Expand Up @@ -215,7 +215,7 @@ func WriteSummary(summary []summaryEntry, path string) {

w.Write([]string{"Date", "AverageAge"})
for _, summ := range summary{
row, _ := sch.Uncast(summ)
row, _ := sch.UncastRow(summ)
w.Write(row)
}
}
Expand Down

0 comments on commit df55ce6

Please sign in to comment.