-
Notifications
You must be signed in to change notification settings - Fork 31
/
_write_manifest.qmd
114 lines (84 loc) · 1.69 KB
/
_write_manifest.qmd
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
---
title: "Write manifest.json files"
date: "`r Sys.time()`"
output: html_document
---
This purpose of this script is write a manifest.json file for each item of content.
```{r setup}
knitr::opts_chunk$set(warning = FALSE, message = FALSE)
library(rsconnect)
library(quarto)
```
## 1 ETL
### 1.1 Raw Data Refresh
```{r}
writeManifest(
appDir = "content/01-etl/01-raw-data-refresh",
appPrimaryDoc = "document.qmd",
quarto = quarto_path()
)
print("Complete 🎉")
```
### 1.2 Tidy data
```{r}
writeManifest(
appDir = "content/01-etl/02-tidy-data",
appPrimaryDoc = "document.qmd",
quarto = quarto_path()
)
print("Complete 🎉")
```
## 2 Model
### 2.1 Train and Deploy Model
```{r}
writeManifest(
appDir = "content/02-model/01-train-and-deploy-model",
appPrimaryDoc = "document.qmd",
quarto = quarto_path()
)
print("Complete 🎉")
```
### 2.2 Model Card
```{r}
writeManifest(
appDir = "content/02-model/02-model-card",
appPrimaryDoc = "document.qmd",
quarto = quarto_path()
)
print("Complete 🎉")
```
### 2.3 Model Metrics
```{r}
writeManifest(
appDir = "content/02-model/03-model-metrics",
appPrimaryDoc = "document.qmd",
quarto = quarto_path()
)
print("Complete 🎉")
```
## 3 App
### 3.1 Client App
```{r}
writeManifest(
appDir = "content/03-app/01-client-app",
appFiles = "app.R"
)
print("Complete 🎉")
```
### 3.2 Connect Widgets Dashboard
```{r}
writeManifest(
appDir = "content/03-app/02-connect-widgets-app",
appPrimaryDoc = "document.qmd",
quarto = quarto_path()
)
print("Complete 🎉")
```
### 3.2 Client App Dev
```{r}
writeManifest(
appDir = "content/03-app/03-client-app-dev",
appFiles = c("app.R")
)
print("Complete 🎉")
```