-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathREADME.Rmd
85 lines (61 loc) · 3.79 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
---
output: github_document
---
<!-- README.md is generated from README.Rmd. Please edit that file -->
```{r, include = FALSE}
knitr::opts_chunk$set(
collapse = TRUE,
comment = "#>",
fig.path = "man/figures/README-",
out.width = "100%"
)
```
# helsinki - Helsinki open data R tools <a href="https://ropengov.github.io/helsinki/"><img src="man/figures/logo.png" align="right" height="139"/></a>
<!-- badges: start -->
[![rOG-badge](https://ropengov.github.io/rogtemplate/reference/figures/ropengov-badge.svg)](https://ropengov.org/)
[![R build status](https://github.com/rOpenGov/helsinki/workflows/R-CMD-check/badge.svg)](https://github.com/rOpenGov/helsinki/actions)
[![CRAN Status Badge](https://www.r-pkg.org/badges/version/helsinki)](https://www.r-pkg.org/pkg/helsinki)
[![Downloads total](http://cranlogs.r-pkg.org/badges/grand-total/helsinki)](https://cran.r-project.org/package=helsinki)
[![Downloads monthly](https://cranlogs.r-pkg.org/badges/helsinki)](https://www.r-pkg.org/pkg/helsinki)
[![Watch on GitHub][github-watch-badge]][github-watch]
[![Star on GitHub][github-star-badge]][github-star]
[![Follow on Twitter](https://img.shields.io/twitter/follow/ropengov.svg?style=social)](https://twitter.com/intent/follow?screen_name=ropengov)
<!-- badges: end -->
The goal of helsinki package is to provide tools in R to access and download open data from City of Helsinki and the Helsinki metropolitan area - the Finnish capital region.
## Installation
You can install the released version of helsinki from [CRAN](https://CRAN.R-project.org) with:
```{r, eval=FALSE}
install.packages("helsinki")
```
And the development version from [GitHub](https://github.com/) with:
```{r, eval=FALSE}
# install.packages("remotes)
library(remotes)
remotes::install_github("ropengov/helsinki")
```
## Using the package
Loading the package:
```{r example_load, eval=FALSE}
library(helsinki)
```
List available features from Helsinki Region Environmental Services HSY WFS API and then download the 15th feature from that list:
```{r example_get, eval=FALSE}
url <- "https://kartta.hsy.fi/geoserver/wfs"
hsy_features <- get_feature_list(base.url = url)
get_feature(base.url = url, typename = hsy_features$Name[15])
```
For more examples, check the [tutorial page](http://ropengov.github.io/helsinki/articles/helsinki_tutorial.html).
## Contributing
You are welcome to contact us:
* [Submit suggestions and bug reports](https://github.com/ropengov/helsinki/issues) (provide the output of `sessionInfo()` and `packageVersion("helsinki")` and preferably provide a [reproducible example](http://adv-r.had.co.nz/Reproducibility.html))
* [Send a pull request](https://github.com/ropengov/helsinki/)
* [Star us on the Github page](https://github.com/ropengov/helsinki/)
* [See our website](https://ropengov.org/community/) for additional contact information
## Acknowledgements
**Kindly cite this work** as follows: [Juuso Parkkinen](https://github.com/ouzor), [Joona Lehtomäki](https://github.com/jlehtoma), [Pyry Kantanen](https://github.com/pitkant), and [Leo Lahti](https://github.com/antagomir). helsinki - Helsinki open data R tools. URL: [http://ropengov.github.io/helsinki/](http://ropengov.github.io/helsinki/)
Alternatively, run `citation("helsinki")` in your R environment after installing this package or see the "Cite this repository" section of the package's GitHub repository.
We are grateful to all [contributors](https://github.com/rOpenGov/helsinki/graphs/contributors)! This project is part of [rOpenGov](https://ropengov.org).
[github-watch-badge]: https://img.shields.io/github/watchers/ropengov/helsinki.svg?style=social
[github-watch]: https://github.com/ropengov/helsinki/watchers
[github-star-badge]: https://img.shields.io/github/stars/ropengov/helsinki.svg?style=social
[github-star]: https://github.com/ropengov/helsinki/stargazers