Skip to content

Files

Latest commit

71fa87d · Jan 24, 2025

History

History
29 lines (22 loc) · 1.57 KB

chart-observations-default-values.md

File metadata and controls

29 lines (22 loc) · 1.57 KB
id title date version mimeType links source wikigdrive
1pWG1xFZ_-nRK864dudkGxbyLgAzlfHPsdu2clCou-mM
Chart Observations Default Values
2020-02-27T21:04:46.860Z
42
text/x-markdown
0008bcbb1563384efe0a28ada6f97e9432e65f10

What we mean by "default"

When importing a file of observations, each observation needs to have a column for the observed date, user_id, etc. An example can be found in the Example 1 spceifying metadata for every obs result tab of this example. Using default values, we can specify some of these fields in one column without needing to specify them for every observation. This way, we can drastically reduce the size of the file. An example of how the file is condensed can be found in the Example 1 using default metadata tab.

Default observation format

Using the wildcard in the header will tell the import to use that column as the default. If column has a default value set, then that value will be substituted in for any observations that don't have a value set for it.

Example:

{{% pre %}}


@obs.*.observed_datetime

{{% /pre %}}

This format will tell the import that any values in this column can be applied to any of the observations in the file.