This repository has been archived by the owner on Nov 29, 2024. It is now read-only.
generated from 360-info/quarto-scaffold
-
Notifications
You must be signed in to change notification settings - Fork 1
/
README.qmd
76 lines (51 loc) · 3.26 KB
/
README.qmd
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
---
format: gfm
360readme:
title: Antarctic sea ice map
summary: Visualises the complex layers of ice that make up Antarctica.
repo: report-antarctic-ice
share-url: https://antarcticamap.360visuals.org/antarctic-map
data-sources: |
<ul>
<li><a href="https://tc.copernicus.org/articles/7/375/2013/tc-7-375-2013.html">Bedmap2</a> project (<a href="https://doi.org/10.5194/tc-7-375-2013">Fretwell et al. 2013</a>)</li>
<li><a href="https://nsidc.org">National Sea and Ice Data Center</a></li>
</ul>
---
# {{< meta 360readme.title >}}
### [📋 Add graphic to your story]({{< meta 360readme.share-url >}}?edshare) • [📊 Get the data](data) • [💻 Reproduce the analysis](#-reproduce-the-analysis)
{{< meta 360readme.summary >}}
## ♻️ Use + Remix rights
![[Creative Commons Attribution 4.0](https://creativecommons.org/licenses/by/4.0)](https://mirrors.creativecommons.org/presskit/buttons/80x15/png/by.png)
These charts, as well as the analyses that underpin them, are available under a Creative Commons Attribution 4.0 licence. This includes commercial reuse and derivates.
<!-- Do any of the data sources fall under a different licence? If so, describe the licence and which parts of the data fall under it here! if most of it does, change the above and replace LICENCE.md too -->
Data in these charts comes from:
{{< meta 360readme.data-sources >}}
**Please attribute 360info and the data sources when you use and remix these visualisations.**
## 💻 Reproduce the analysis
### Quickstart: use the dev container
This project comes with a ready-to-use [dev container](https://code.visualstudio.com/docs/remote/containers) that includes everything you need to reproduce the analysis (or do a similar one of your own!), including [R](https://r-project.org) and [Quarto](https://quarto.org).
[![Open in GitHub Codespaces](https://github.com/codespaces/badge.svg)](https://codespaces.new/360-info/{{< meta 360readme.repo >}}?quickstart=1)
If you have Docker installed, you can build and run the container locally:
- Download or clone the project
- Open it in [Visual Studio Code](https://code.visualstudio.com)
- Run the **Remote-Containers: Reopen in Container** command
Once the container has launched (it might take a few minutes to set up the first time), you can run the analysis scripts with:
```sh
quarto render
```
Or look for the `.qmd` files to modify the analysis.
### Manual setup
To setup a development environment manually,
You'll need to:
- [Download and install Quarto](https://quarto.org/docs/get-started)
- [Download the install R](https://www.r-project.org)
- Satisfy the R package dependencies. In R:
* Install the [`renv`](https://rstudio.github.io/renv) package with `install.packages("renv")`,
* Then run `renv::restore()` to install the R package dependencies.
* (For problems satisfying R package dependencies, refer to [Quarto's documentation on virtual environments](https://quarto.org/docs/projects/virtual-environments.html).)
Now, render the `.qmd` files to the `/out` directory with:
```sh
quarto render
```
## ❓ Help
If you find any problems with our analysis or charts, please feel free to [create an issue](https://github.com/360-info/{{< meta 360readme.repo >}}/issues/new)!