> For the complete documentation index, see [llms.txt](https://www.csvpath.org/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://www.csvpath.org/getting-started/the-flightpath-data-examples/headers.md).

# Headers

{% hint style="warning" %}
**Try these examples yourself.** They are built into FlightPath Data. You can download FlightPath Data free from [Microsoft](https://apps.microsoft.com/detail/9P9PBPKZ4JDF) or [Apple](https://apps.apple.com/us/app/flightpath-data/id6745823097) or [Github](https://github.com/dk107dk/flightpath)[Github](https://github.com/dk107dk/flightpath)
{% endhint %}

## Using headers

Headers are the names of values in a CSV or Excel file. In a delimited file, any given line may not have values for the headers. And headers can change or be found at any point in a delimited file.

CsvPath Framework has many functions to help you work with headers. Most of the functions are oriented towards creating validation rules. Some of the header functions are quite unique. For example, in CsvPath Framework, you can reset the headers to the values of the current line at any time.

These examples will help you start validating and upgrading your CSV and Excel files using the header functions to create rules.

<figure><img src="/files/1YpcFvxa9otJSJJa6Ssw" alt=""><figcaption></figcaption></figure>

* [Collect matching lines](/getting-started/the-flightpath-data-examples/headers/collect-matching-lines.md)
* [Replace values](/getting-started/the-flightpath-data-examples/headers/replace-values.md)
* [Insert and append](/getting-started/the-flightpath-data-examples/headers/insert-and-append.md)
* [No blanks](/getting-started/the-flightpath-data-examples/headers/no-blanks.md)
* [Reset headers](/getting-started/the-flightpath-data-examples/headers/reset-headers.md)
* [Name check](/getting-started/the-flightpath-data-examples/headers/name-check.md)
* [Position check](/getting-started/the-flightpath-data-examples/headers/position-check.md)
* [More header checks](/getting-started/the-flightpath-data-examples/headers/more-header-checks.md)
* [End](/getting-started/the-flightpath-data-examples/headers/end.md)


---

# 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 dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter:

```
GET https://www.csvpath.org/getting-started/the-flightpath-data-examples/headers.md?ask=<question>
```

The question should be specific, self-contained, and written in natural language.
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.
