Skip to content

Commit b1aeaac

Browse files
Start Version for Project.
1 parent c3cc5f5 commit b1aeaac

File tree

8 files changed

+1703
-8
lines changed

8 files changed

+1703
-8
lines changed

.DS_Store

2 KB
Binary file not shown.

.pre-commit-config.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@ repos:
1313
rev: v5.0.0
1414
hooks:
1515
- id: check-added-large-files
16-
args: [--maxkb=25]
16+
args: [--maxkb=150]
1717
- id: check-case-conflict
1818
- id: check-merge-conflict
1919
- id: check-vcs-permalinks

src/.DS_Store

0 Bytes
Binary file not shown.

src/project_mbb/.DS_Store

6 KB
Binary file not shown.

src/project_mbb/analysis/task_analysis_template.py

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -2,9 +2,10 @@
22

33
import pandas as pd
44
import pytask
5-
from template_project.analysis.model_template import fit_logit_model
6-
from template_project.analysis.predict_template import predict_prob_by_age
7-
from template_project.config import BLD, SRC, TEMPLATE_GROUPS
5+
6+
from project_mbb.analysis.model_template import fit_logit_model
7+
from project_mbb.analysis.predict_template import predict_prob_by_age
8+
from project_mbb.config import BLD, SRC, TEMPLATE_GROUPS
89

910
# In practical scenarios, fitting multiple models for different formulas is common. With
1011
# pytask, we can iterate over these formulas to fit each model using the same code block

src/project_mbb/data/stats4schools_smoking_template.csv

Lines changed: 1692 additions & 0 deletions
Large diffs are not rendered by default.

src/project_mbb/data_management/task_data_management_template.py

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2,8 +2,9 @@
22

33
import pandas as pd
44
import pytask
5-
from template_project.config import BLD, SRC
6-
from template_project.data_management.stats4schools_smoking_template import (
5+
6+
from project_mbb.config import BLD, SRC
7+
from project_mbb.data_management.stats4schools_smoking_template import (
78
clean_stats4schools_smoking,
89
)
910

src/project_mbb/final/task_final_template.py

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -3,8 +3,9 @@
33
import pandas as pd
44
import pyreadr
55
import pytask
6-
from template_project.config import BLD, SRC, TEMPLATE_GROUPS
7-
from template_project.final.plot_template import plot_regression_by_age
6+
7+
from project_mbb.config import BLD, SRC, TEMPLATE_GROUPS
8+
from project_mbb.final.plot_template import plot_regression_by_age
89

910
for language in ["python", "r"]:
1011
extension = "pickle" if language == "python" else "rds"

0 commit comments

Comments
 (0)