Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Submit feedback
Sign in
Toggle navigation
H
Harmonize_Scripts
Project overview
Project overview
Details
Activity
Releases
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
Uncover
Harmonize_Scripts
Commits
e74c248e
Commit
e74c248e
authored
Mar 13, 2023
by
Pepe Márquez Romero
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
recurso nuevo UNAV y ASPEUR
parent
bae733c0
Changes
3
Show whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
18 additions
and
8 deletions
+18
-8
connection_parameters.R
connection_parameters.R
+13
-7
necessary_functions_connection.R
necessary_functions_connection.R
+1
-0
valid_variables_script_local.R
valid_variables_script_local.R
+4
-1
No files found.
connection_parameters.R
View file @
e74c248e
...
...
@@ -32,7 +32,8 @@ hospital_names <- c( #Añadir Los de Baskent y sacrocuore
"Inantro"
,
"UNSA"
,
"UZA"
,
"ULSS6"
"ULSS6"
,
"ASPEUR"
)
project_names
<-
c
(
...
...
@@ -67,7 +68,8 @@ project_names <- c(
"INANTRO"
,
"UnCoVer-BiH-Final"
,
"UZA"
,
"ULSS6"
"ULSS6"
,
"ASPEUR"
)
resource_names
<-
c
(
...
...
@@ -79,7 +81,7 @@ resource_names <- c(
"Resource_derived"
,
"20220919_IISFJD"
,
"20220919_IPC"
,
"
UNAV_rsc
"
,
"
20230311_UNAV_DB_2_3
"
,
"20220919_TU"
,
"20220919_AnkaraAdults"
,
"20220919_Konya"
,
...
...
@@ -102,7 +104,8 @@ resource_names <- c(
"20220919_INANTRO"
,
"20220919_UNSAInpatient"
,
"20220919_UZA"
,
"20220919_ULSS6"
"20220919_ULSS6"
,
"20220919_ASPEUR"
)
urls
<-
c
(
...
...
@@ -137,7 +140,8 @@ urls <- c(
"https://192.168.1.200:8007"
,
"https://192.168.1.200:8008"
,
"https://uncover.itg.be"
,
"https://opal.aulss6.veneto.it"
"https://opal.aulss6.veneto.it"
,
"https://uncover.itg.be"
)
users
<-
c
(
...
...
@@ -172,7 +176,8 @@ users <- c(
"user_analisis"
,
"user_analisis"
,
"emertens"
,
"user_analisis"
"user_analisis"
,
"emertens"
)
pass
<-
c
(
...
...
@@ -207,5 +212,6 @@ pass <- c(
"Ekfl07UUgz"
,
"Ekfl07UUgz"
,
"3^z4AV.)hG5~PT/]"
,
"Ekfl07UUgz"
"Ekfl07UUgz"
,
"3^z4AV.)hG5~PT/]"
)
necessary_functions_connection.R
View file @
e74c248e
...
...
@@ -44,6 +44,7 @@ connect <- function (){
UNSA -> 30
UZA -> 31
ULSS6 -> 32
ASPEUR -> 33
"
)
...
...
valid_variables_script_local.R
View file @
e74c248e
...
...
@@ -50,7 +50,7 @@ file_name <- readline("Introduce the name of the file to check the values: ")
harmonized_data
<-
""
if
(
grepl
(
".csv"
,
file_name
,
fixed
=
TRUE
)){
harmonized_data
<-
read.csv
(
file_name
)
harmonized_data
<-
read.csv
(
file_name
,
sep
=
";"
)
}
else
if
(
grepl
(
".xlsx"
,
file_name
,
fixed
=
TRUE
)){
harmonized_data
<-
read.xlsx
(
file_name
)
}
...
...
@@ -250,3 +250,6 @@ result<-check_valid_values(valid_colnames_with_data, codebook)
print
(
columns_not_valid
)
cat
(
result
)
#location <- paste(dir_name , "harmonized_data", "modified.csv", sep = "/")
#write.csv2(harmonized_data, location)
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment