Skip to content

A simple R script that fetches GPS coordinates of a given location using geocode.xyz and then reports the weather using data from Meteorologisk institutt in Norway.

License

carldelfin/weather

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

12 Commits
 
 
 
 
 
 
 
 

Repository files navigation

weather.sh

A simple R script that fetches GPS coordinates of a given location using geocode.xyz and then reports the weather using data from Meteorologisk institutt in Norway.

Usage

The R package jsonlite is required in order to parse JSON data. Other than that, just download the script and run it. For ease of use, bind it to an alias in your .bashrc, for instance alias weather='Rscript ~/dotfiles/scripts/weather.R' and then call it using weather <City> (e.g., weather Stockholm).

About

A simple R script that fetches GPS coordinates of a given location using geocode.xyz and then reports the weather using data from Meteorologisk institutt in Norway.

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages