Skip to content

Commit

Permalink
Подчищаю хвосты по оптимизации
Browse files Browse the repository at this point in the history
  • Loading branch information
iMissile committed Apr 25, 2017
1 parent 9d6326b commit 1e56d4f
Show file tree
Hide file tree
Showing 4 changed files with 10 additions and 9 deletions.
1 change: 1 addition & 0 deletions 62 a_la_weathermap/ru-tex-pdf-examples.Rmd
Original file line number Diff line number Diff line change
Expand Up @@ -51,6 +51,7 @@ knitr::opts_chunk$set(dev='cairo_pdf') # решили проблему с ген
library(latex2exp)
library(ggplot2)
# library(printr) !!!!
# library(hrbrthemes)
```

## R Markdown
Expand Down
6 changes: 2 additions & 4 deletions 67 MTS DPI/emulate_data.R
Original file line number Diff line number Diff line change
Expand Up @@ -46,10 +46,8 @@ if(FALSE){
}

# èìïîðòèðóåì http eDR ôàéëû -----------------------------------------
http_df <- http_list %>%
purrr::map(read_delim, delim=',')

df <- reduce(http_df, rbind) %>%
df <- http_list %>%
purrr::map_df(read_delim, delim=',', .id = NULL) %>%
repair_names() %>%
sample_frac(0.2) # è ñðàçó ñëó÷àéíûì îáðàçîì óðåæåì îáúåì

Expand Down
9 changes: 4 additions & 5 deletions 67 MTS DPI/xDR_analysis.Rmd
Original file line number Diff line number Diff line change
Expand Up @@ -40,22 +40,21 @@ library(RColorBrewer)
# Reading and combining many tidy data files in R, Jun 13, 2016 in science
# http://serialmentor.com/blog/2016/6/13/reading-and-combining-many-tidy-data-files-in-R
http_list <- dir(path="./", pattern="edr_BASE-edr_http_format.*", full.names=TRUE)
http_list <- dir(path="./", pattern="edr_BASE-edr_http_format_.*", full.names=TRUE)
```

Импортируемый список файлов:
`r http_list`

```{r message=FALSE, warning=FALSE}
http_df <- http_list %>%
purrr::map(read_delim, delim=',')
df <- http_list %>%
purrr::map_df(read_delim, delim=',', .id = NULL) %>%
repair_names()
```


```{r}
df <- reduce(http_df, rbind) %>%
repair_names()
# преобразования -----------------------------------------
# очистим имена колонок от кривых символов
Expand Down
3 changes: 3 additions & 0 deletions 71 report_samples/mystyles.sty
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
\usepackage{fontspec}
\setmainfont{Linux Libertine O}
\usepackage[english,russian]{babel}

0 comments on commit 1e56d4f

Please sign in to comment.