pierucci / rgho Goto Github PK
View Code? Open in Web Editor NEW:globe_with_meridians:Access WHO Global Health Observatory Data From R
Home Page: https://pierucci.org/rgho/
:globe_with_meridians:Access WHO Global Health Observatory Data From R
Home Page: https://pierucci.org/rgho/
Error : object ‘timeout’ is not exported by 'namespace:memoise'
ERROR: lazy loading failed for package ‘rgho’
See #16.
Do not do that before pierucci/heemod#119 is on CRAN.
Needed to start #7 (check it doesn't introduces regressions).
With @keywords internal
.
Maybe using option()
.
Move imports.R
there and add package description.
Should test that length > something.
Always changes proxy settings after the first trial.
http://adv-r.had.co.nz/S3.html
When implementing a vector class, you should implement these methods: length, [, [<-, [[, [[<-, c. (If [ is implemented rev, head, and tail should all work).
So that errors in packages relying on rgho can be more easily tracked (see pierucci/heemod#118).
Like in install.packages()
.
get_gho_codes("DATASOURCE")
Error: length(x) == length(labels) is not TRUE
Because:
xml2
keeps crashing in strange ways.Fix: add format=json
to API calls.
Instead of the mess right now...
The GHO data can change with time, so memoised functions should forget their result after a while to avoid returning stale data.
This is only an issue on sessions that last for days.
memoise(a, ~timeout(10))
It shouldn't change much because requests are already memoised. But on the other hand fast execution is necessary for heemod
.
The slow part may be in the XML parsing.
In clean_json()
, when verbose = TRUE
.
With prefix.
Don't memoise result if request returns an error.
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.