Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/jakubsob/plants
https://github.com/jakubsob/plants
Last synced: 23 days ago
JSON representation
- Host: GitHub
- URL: https://github.com/jakubsob/plants
- Owner: jakubsob
- Created: 2021-05-07T16:06:40.000Z (over 3 years ago)
- Default Branch: master
- Last Pushed: 2021-05-13T15:49:53.000Z (over 3 years ago)
- Last Synced: 2024-10-30T00:39:01.902Z (2 months ago)
- Language: R
- Size: 605 KB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# plants - 2021 Shiny Contest entry
Have ever wandered how you could make life of your plants better? If the answer is positive then this app is for you! It emerged from a simple idea: how can I make my plants feel more like at home?
The app allows you to browse for your plants and check weather in the places where they originate from. Now you can provide them conditions they would be subjected to just as if they were at home! You can learn about your plants along the way thanks to info tab powered by a database obtained from brilliant Trefle API, which is unfortunately no longer up.
The app is powered by shiny.react and shiny.fluent which allows to employ Microsoft Fluent UI.
The app is available at https://jakub-sobolewski.shinyapps.io/plants
## Interface
![home-view](./screenshots/home-view.png)
![info-view](./screenshots/info-view.png)
![map-view](./screenshots/map-view.png)
## Installation
The project uses `renv` for managing dependencies. In order to restore project's environment use:
```r
renv::restore()
```and run the app with:
```r
shiny::runApp()
```## Configuration
For testing purposes you can use `test` version of the app:
```r
Sys.setenv(R_CONFIG_ACTIVE = "test")
```It reveals button that adds plants in order to speed up testing.
The app uses OpenWeatherMap. In order to be able to retrieve the data you need to have an API key. Store the key in `.Renviron` file or set for each session:
```r
Sys.setenv(OWM_API_KEY=)
```