Skip to content

Update data pros_respiratory diseaseasked by Brenda.Rmd #3

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Open
wants to merge 1 commit into
base: main
Choose a base branch
from
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
10 changes: 6 additions & 4 deletions models/data pros_respiratory diseaseasked by Brenda.Rmd
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ output:
html_document: default
---

# Data cleaning and descriptive analysis of respiratori disease dataset
# Data cleaning and descriptive analysis of respiratory disease dataset

#1- import all the packages

Expand All @@ -24,9 +24,9 @@ library(stringr)
library(stringdist)
library(text2vec)

#creation of fontions
#creation of funtions

#creata a fonction
#create a function

harmonize_characters <- function(var) {
var <- str_to_lower(var)
Expand All @@ -39,9 +39,11 @@ harmonize_characters <- function(var) {
```

#2- IMPORT THE DATASET AND DATA DESCRIPTION
# Provide file path for data

```{r warning=FALSE, include=FALSE}
dataset <- read_excel("C:/Users/ekinz/OneDrive/Desktop/Respiratory diseases database eng_final.xlsx")
datapath <- "LOCAL/FILEPATH"
dataset <- read_excel(datapath)
```

#3. DATA PREPROCESSING AND CLEANING
Expand Down