-
Notifications
You must be signed in to change notification settings - Fork 1
/
README.Rmd
executable file
·154 lines (121 loc) · 4.19 KB
/
README.Rmd
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
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
---
output: github_document
---
<!-- README.md is generated from README.Rmd. Please edit that file -->
```{r, include = FALSE}
stopifnot(require(knitr))
options(width = 90)
knitr::opts_chunk$set(
collapse = TRUE,
comment = "#>",
fig.path = "man/figures/",
out.width = "100%"
)
```
# gisaimsr <img src="man/figures/logo.png" width = 180 alt="gisaimsr Logo" align="right" />
<!-- badges: start -->
```{r echo = FALSE}
version <- as.vector(read.dcf('DESCRIPTION')[, 'Version'])
version <- gsub('-', '.', version)
shds <- "https://img.shields.io/badge/"
b1 <- paste0(shds, "lifecycle-maturing-blue.svg")
oa <- "https://github.com/open-AIMS/gisaimsr/"
b3 <- paste0(oa, "workflows/R-CMD-check/badge.svg")
b4 <- paste0(oa, "actions")
b5 <- paste0(oa, "workflows/pkgdown/badge.svg")
b6 <- paste0(shds, "license-MIT + file LICENSE-lightgrey.svg")
b7 <- paste0(shds, "Package%20version-", version, "-orange.svg")
b8 <- paste0(shds, "Ask%20us-anything-1abc9c.svg")
b9 <- paste0(oa, "issues/new")
```
[![Lifecycle: maturing][b1]][b2]
[![R build status][b3]][b4]
![pkgdown][b5]
[![license][b6]](https://choosealicense.com/)
[![packageversion][b7]](commits/master)
[![Ask Us Anything!][b8]][b9]
![Open Source Love][b10]
[b1]: `r b1`
[b2]: https://www.tidyverse.org/lifecycle/#maturing
[b3]: `r b3`
[b4]: `r b4`
[b5]: `r b5`
[b6]: `r b6`
[b7]: `r b7`
[b8]: `r b8`
[b9]: `r b9`
[b10]: https://badges.frapsoft.com/os/v2/open-source.svg?v=103
<!-- badges: end -->
```{r echo = FALSE}
# links
gbio <- "https://open-AIMS.github.io/"
rbio <- "https://ropensci.github.io/"
pg <- paste0(gbio, "gisaimsr/")
rp <- "https://cran.r-project.org/package="
cc <- "http://creativecommons.org/licenses/"
cc1 <- paste0(cc, "by/")
l1 <- paste0(rp, "sf")
l2 <- paste0(cc1, "4.0/legalcode")
l3 <- paste0(pg, "reference/index.html")
l4 <- paste0(rp, "remotes")
l5 <- paste0(rbio, "dataaimsr/")
l6 <- paste0(pg, "articles/examples.html")
l10 <- paste0(rp, "ggmap")
l12 <- paste0(cc1, "3.0")
l14 <- paste0(cc, "by-sa/3.0")
```
## Overview
`gisaimsr` is a data package that provides the user with easy access to GIS
data (in [Simple Features data.frame][l1] format) that are focused on the
Great Barrier Reef. All datasets are based on the GDA2020 coordinate system.
## Available Datasets
Datasets are provided by Geoscience Australia (GA) and the Great Barrier Reef
Marine Park Authority (GBRMPA). All datasets are provided under the
[Creative Commons Attribution 4.0 International Licence][l2]. Please see our
LICENSE file for full further regarding usage and redistribution of these
datasets. See this [link][l3] for more information about each dataset.
[l1]: `r l1`
[l2]: `r l2`
[l3]: `r l3`
## Installation
At this stage `gisaimsr` is not hosted on CRAN R package network.
An alternative method of installation is to use the [`remotes`][l4] R package.
`remotes` can be installed using the following command:
```{r, eval = FALSE}
install.packages("remotes")
```
After `remotes` has been installed `gisaimsr` can be installed directly from GitHub using the following command:
```{r, eval = FALSE}
remotes::install_github("https://github.com/open-AIMS/gisaimsr")
```
This command will install the dependencies: [`sf`][l1] and [`dataaimsr`][l5].
Notice that the dependency `dataaimsr` can also be installed using `remotes`:
```{r, eval = FALSE}
remotes::install_github("https://github.com/ropensci/dataaimsr")
```
[l4]: `r l4`
[l5]: `r l5`
## Usage
See our on-line [vignette][l6]. Alternatively, you can build them locally in R:
```{r, eval = FALSE}
utils::browseVignettes("gisaimsr")
```
[l6]: `r l6`
## Further Information
Further information about `gisaimsr` can be seen on the on-line
[project page][l7].
`gisaimsr` is provided by the [Australian Institute of Marine Science][l8]
under the MIT License ([MIT][l9]).
[l7]: `r pg`
[l8]: https://www.aims.gov.au
[l9]: http://opensource.org/licenses/MIT
## AIMS R package logos
Our R package logos use a watercolour map of Australia, obtained with the
[ggmap][l10] R package, which downloads original map tiles provided by
[Stamen Design][l11], under [CC BY 3.0][l12], with data from
[OpenStreetMap][l13], under [CC BY SA][l14].
[l10]: `r l10`
[l11]: http://stamen.com
[l12]: `r l12`
[l13]: http://openstreetmap.org
[l14]: `r l14`