this is for holding javascript data
Nick McKay edited A flexible container for paleoclimate data.tex
over 9 years ago
Commit id: a35fd3b97d8b84b33730674e19ffb99be0c36fed
deletions | additions
diff --git a/A flexible container for paleoclimate data.tex b/A flexible container for paleoclimate data.tex
index 212fa10..98dbecf 100644
--- a/A flexible container for paleoclimate data.tex
+++ b/A flexible container for paleoclimate data.tex
...
\end{enumerate}
LiPD encodes these data and metadata into a structured hierarchy that allows explicit description of any aspect of the dataset at any level of the data (Figure 1). LiPD serializes this hierarchy using JSON-LD, using nests of lists and key-value pairs. LiPD would describe the geospatial metadata of site like this:
\verb|"geo": {|\break
\verb| \begin{verbtim}
"geo": {|
"latitude":
{|\break
\verb| {|
"units":
"decimalDegrees",|\break
\verb| "decimalDegrees",|
"value":
62.08|\break
\verb| },|\break
\verb| 62.08|
},|
"longitude":
{|\break
\verb| {|
"units":
"decimalDegrees",|\break
\verb| "decimalDegrees",|
"value":
-17.82|\break
\verb| },|\break
\verb| -17.82|
},|
"elevation":
{|\break
\verb| {|
"units":
"masl",|\break
\verb| "masl",|
"value":
-1938.0|\break
\verb| }|\break
\verb| -1938.0|
}|
"ocean":
"Atlantic"|\break
\verb| "Atlantic"|
"siteName":
"RAPiD-12-1K"|\break
\verb| "RAPiD-12-1K"|
}
|\break |\
\end{verbtim}
LiPD does not store the actual tabular data in the JSON-LD format, as this becomes increasingly verbose and inefficient with large data tables. Rather, the tabular data are stored in headerless comma separated value (CSV) files that are referenced and described by the JSON-LD file, like this: