> For the complete documentation index, see [llms.txt](https://docs.gospace.com/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://docs.gospace.com/integrations/mapping-your-data/how-to-map-your-occupancy-data.md).

# How to map your occupancy data

<figure><img src="https://2315052346-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FOW0EmyC5IqyMiB4AxcLq%2Fuploads%2FeaB6dxHoCLTINw9GZ4ZN%2FIMG_0048.jpeg?alt=media&amp;token=7054ae12-f5dd-4508-b3f0-4a02835c4e0b" alt="" width="375"><figcaption></figcaption></figure>

Here you have the following fields to map:

### Person ID field:

This needs to be the same value as what has been entered in your “Person ID“ field in your user import, to clarify this can be different to the user ID, but it is a field of which maps the occupancy records in your import, to the user in gospace. For reference please see [Users with teams](/integrations/mapping-your-data/map-your-directory/users-with-teams.md). If this is set to a different value to the Person ID field in your user import, then the occupancy will not be mapped to your users meaning your AI forecasting will not work. Put simply this should be the field of which maps the occupancy records to your users.

### Location fields:

* Location field: This is mapping the header in your integration of which the location is stored, this lets us know the user was in ***x location*** on which day.
  * Mapping: In the above screenshot you can see two gospace locations were mapped to values in the Location field. Therefore the admin has configured that the London Office in locations on gospace, is equivalent to any record named “London” in the ”EXTERNAL\_ID” field as an example. This ”EXTERNAL\_ID” is the location field selected previously. Consequently we are just mapping locations from occupancy data to gospace so we know which location in gospace the data is referring to.

Filters are configured the same as in [Users with teams](/integrations/mapping-your-data/map-your-directory/users-with-teams.md), and simply will only use the occupancy data of which matches the logic defined in your filter.


---

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

Perform an HTTP GET request on the following URL with the `ask` and `goal` query parameters:

```
GET https://docs.gospace.com/integrations/mapping-your-data/how-to-map-your-occupancy-data.md?ask=<question>&goal=<user_goal>
```

`ask` is the immediate question: it should be specific, self-contained, and written in natural language.
`goal` is what the user is ultimately trying to achieve, the reason they need the answer. Sharing it helps GitBook give you a better, more relevant answer. A goal is most helpful when it describes the outcome the user wants rather than restating the question. For example, with `ask=how do I create an API token`, a goal like `automate deployments from our CI pipeline` lets GitBook tailor the answer to that use case.

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.
