c d e f g
| library(Nippon) | |
| data(prefectures) | |
| kakasi(head(prefectures$name)) | |
| #> <NA> <NA> 蟯ゥ謇狗恁 螳ョ蝓守恁 <NA> <NA> | |
| #> "NA" "NA" "gyouukenkujin" "touyoyushujin" "NA" "NA" | |
| head(prefectures$name) | |
| #> [1] "北海道" "青森県" "岩手県" "宮城県" "秋田県" "山形県" |
| d2 <- data_frame(orig_id = sapply(l_union@polygons, function(x) x@ID)) %>% | |
| mutate(target_id = str_split(str_to_lower(orig_id), " ")) %>% | |
| rowwise() %>% | |
| summarise(orig_id, target_id = target_id[1]) | |
| d2[13,"target_id"] <- "hokkaido" | |
| d_ordered <- left_join(d, d2, by = c("pref_alpha" = "target_id")) | |
| rownames(d_ordered) <- d_ordered$orig_id |
| --- | |
| - hosts: HOST | |
| vars: | |
| grafana_version: 2.5.0 | |
| arch: amd64 | |
| grafana_filename: grafana_{{ grafana_version }}_{{ arch }}.deb | |
| tasks: | |
| - name: Verify version | |
| command: dpkg-query -W --showformat='${version}' grafana |
| --- | |
| - hosts: localhost | |
| connection: local | |
| tasks: | |
| - name: add apt repo | |
| apt_repository: repo='ppa:ubuntu-lxc/lxd-stable' | |
| - name: install lxc and lxd | |
| apt: name=lxd state=latest update_cache=yes cache_valid_time=600 |
test gist for bl.ocks.org
| --- preseed-14.04.txt 2014-03-27 21:01:09.000000000 +0900 | |
| +++ preseed-16.04.txt 2016-02-05 21:01:44.000000000 +0900 | |
| @@ -1,4 +1,4 @@ | |
| -#### Contents of the preconfiguration file (for squeeze) | |
| +#### Contents of the preconfiguration file (for xenial) | |
| ### Localization | |
| # Preseeding only locale sets language, country and locale. | |
| d-i debian-installer/locale string en_US | |
| @@ -8,16 +8,15 @@ d-i debian-installer/locale string en_US | |
| #d-i debian-installer/country string NL |
| --- | |
| title: "A dplyr test" | |
| author: "yutannihilation" | |
| date: "`r Sys.Date()`" | |
| output: | |
| html_document: | |
| keep_md: true | |
| --- | |
| ## Package version and locale |