A RetroSearch Logo

Home - News ( United States | United Kingdom | Italy | Germany ) - Football scores

Search Query:

Showing content from https://github.com/richfitz/datastorr.example below:

GitHub - richfitz/datastorr.example

Example use of datastorr

Example use of datastorr.

devtools::install_github("richfitz/datastorr")
devtools::install_github("richfitz/datastorr.example")

To start with there is no data present:

datastorr.example::mydata_versions()

Though there are versions on github:

datastorr.example::mydata_versions(local=FALSE)
## [1] "1.0.0" "1.0.1" "1.0.2"

Retrieve the data:

system.time(d <- mydata())
## 
Downloading: 580 B     
Downloading: 580 B     
Downloading: 580 B     
  |                                                                       
  |                                                                 |   0%
  |                                                                       
  |=================================================================| 100%
##    user  system elapsed
##   0.036   0.005   1.152

The progress bar looks a bit messed up but should work well interactively. The relevant time is the elapsed time, rather than user or system time.

The data in all its glory:

Subsequent calls are very fast:

system.time(d <- mydata())
##    user  system elapsed
##   0.001   0.000   0.002

The local versions:

datastorr.example::mydata_versions()

RetroSearch is an open source project built by @garambo | Open a GitHub Issue

Search and Browse the WWW like it's 1997 | Search results from DuckDuckGo

HTML: 3.2 | Encoding: UTF-8 | Version: 0.7.4