Skip to content

Commit cc81537

Browse files
committed
Add Rmd post and it works
1 parent 0c20cd9 commit cc81537

File tree

3 files changed

+86
-0
lines changed

3 files changed

+86
-0
lines changed
+39
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,39 @@
1+
---
2+
layout: post
3+
title: "Predicting Poverty"
4+
author: "Gustavo Castillo"
5+
date: "2024-04-07"
6+
output:
7+
md_document:
8+
variant: gfm
9+
preserve_yaml: true
10+
knit: (function(inputFile, encoding) {
11+
rmarkdown::render(inputFile,
12+
encoding = encoding,
13+
output_file = file.path(paste0(
14+
"/Users/upar/Library/CloudStorage/[email protected]/Mon Drive/00-SCHOOL-G/0-University_1/0-Semestres PEG/2024-10/Complexity Global School/guscastilloa.github.io/_posts/",
15+
Sys.Date(),
16+
'-',
17+
substr(basename(inputFile), 1, nchar(basename(inputFile)) - 4),
18+
'.md'
19+
)
20+
)
21+
)
22+
})
23+
---
24+
25+
# Introduction
26+
27+
``` r
28+
data(iris)
29+
```
30+
31+
# Data
32+
33+
``` r
34+
plot(iris$Species)
35+
```
36+
37+
![](/assets/img/posts/2024/predicting_poverty/unnamed-chunk-3-1.png)<!-- -->
38+
39+
## Descriptive Data

_posts/predicting_poverty.Rmd

+47
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,47 @@
1+
---
2+
layout: post
3+
title: "Predicting Poverty"
4+
author: "Gustavo Castillo"
5+
date: "`r Sys.Date()`"
6+
output:
7+
md_document:
8+
variant: gfm
9+
preserve_yaml: true
10+
knit: (function(inputFile, encoding) {
11+
rmarkdown::render(inputFile,
12+
encoding = encoding,
13+
output_file = file.path(paste0(
14+
"/Users/upar/Library/CloudStorage/[email protected]/Mon Drive/00-SCHOOL-G/0-University_1/0-Semestres PEG/2024-10/Complexity Global School/guscastilloa.github.io/_posts/",
15+
Sys.Date(),
16+
'-',
17+
substr(basename(inputFile), 1, nchar(basename(inputFile)) - 4),
18+
'.md'
19+
)
20+
)
21+
)
22+
})
23+
---
24+
25+
```{r, echo=FALSE}
26+
knitr::opts_knit$set(
27+
base.dir = "/Users/upar/Library/CloudStorage/[email protected]/Mon Drive/00-SCHOOL-G/0-University_1/0-Semestres PEG/2024-10/Complexity Global School/guscastilloa.github.io",
28+
base.url = "/")
29+
knitr::opts_chunk$set(fig.path = "assets/img/posts/2024/predicting_poverty/")
30+
31+
```
32+
33+
# Introduction
34+
35+
```{r}
36+
data(iris)
37+
```
38+
39+
40+
# Data
41+
42+
```{r}
43+
plot(iris$Species)
44+
```
45+
46+
47+
## Descriptive Data
Loading

0 commit comments

Comments
 (0)