mikmart / fmir Goto Github PK
View Code? Open in Web Editor NEWEasily access up to date, open weather data, made available by the Finnish Meteorological Institute.
Home Page: https://mikmart.github.io/fmir/
License: Other
Easily access up to date, open weather data, made available by the Finnish Meteorological Institute.
Home Page: https://mikmart.github.io/fmir/
License: Other
The FMI API limits individual queries to certain maximum time spans based on the type of measurement frequency:
measurement interval | maximum time span |
---|---|
"real time" (10 minutes) | 168 hours = 7 days |
daily | 8 928 hours = 372 days |
monthly | 87 600 hours = 3 650 days |
If you want to pull data on a given interval for longer time spans than specified above, you'll have to split the query into several separate queries. This process could be done automatically either in fmi_query
or fmi_data
when the user supplies a starttime
and an endtime
that span an interval longer than what the API allows the for the given measurement interval.
This would allow for flexible access to query parameters, rather than having to parse a character string. Different "types" (i.e. "real-time", daily, monthly) could be subclasses of "methods" (i.e. simple, timevaluepair) which are subclasses of fmi_query
.
At least the place
argument should be vectorised to easily support multiple locations. Possible functionality:
fmi_query_params(list(place = c("Oulu", "Helsinki"))
# [1] "place=Oulu&place=Helsinki"
In preparation for supporting data formats other than "simple"
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.