Skip to content

Instantly share code, notes, and snippets.

@lverweijen
lverweijen / statline.R
Last active June 4, 2020 20:44
Query on statline
opendata_service <- ODataQuery$new("http://beta-odata4.cbs.nl/")
entity_datasets <- opendata_service$path("Datasets")$select("Identifier", "Title")
datasets <- entity_datasets$all(simplifyVector = TRUE)
head(datasets)
entity_81589NED <- opendata_service$path("CBS")$path("81589NED")$path("Observations")
dataset_81589NED <- entity_81589NED$all(simplifyVector = TRUE)
head(dataset_81589NED)
@lverweijen
lverweijen / leadervimbug.vim
Created May 16, 2016 18:43
Debugging vim-leader-guide
fun! SetupVAM()
let c = get(g:, 'vim_addon_manager', {})
let g:vim_addon_manager = c
" let c.plugin_root_dir = split(&rtp, ',', 0)[0] . '/vim-addons'
let c.plugin_root_dir = '/tmp'
let c.log_to_buf = 1
let c.auto_install = 0
let &rtp.=(empty(&rtp)?'':',').c.plugin_root_dir.'/vim-addon-manager'
if !isdirectory(c.plugin_root_dir.'/vim-addon-manager/autoload')
execute '!git clone --depth=1 git://github.com/MarcWeber/vim-addon-manager '
### Keybase proof
I hereby claim:
* I am lverweijen on github.
* I am laurentverweijen (https://keybase.io/laurentverweijen) on keybase.
* I have a public key whose fingerprint is BF16 2CB2 57C4 0E51 31C6 B7B9 AF29 48D4 4A4D 6E3B
To claim this, I am signing this object: