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
5e21f82d
Commit
5e21f82d
authored
Mar 06, 2023
by
Pepe Márquez Romero
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
final script remoto
parent
ef256262
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
1 addition
and
1 deletion
+1
-1
valid_variables_script2.R
valid_variables_script2.R
+1
-1
No files found.
valid_variables_script2.R
View file @
5e21f82d
...
@@ -218,7 +218,7 @@ check_values_format <- function(valid_columns, codebook_param){
...
@@ -218,7 +218,7 @@ check_values_format <- function(valid_columns, codebook_param){
if
(
row_names
[
i
]
==
"NA"
)
if
(
row_names
[
i
]
==
"NA"
)
next
next
if
(
!
row_names
[
i
]
%in%
value_format
){
if
(
!
row_names
[
i
]
%in%
value_format
){
variables_out_of_range
<-
paste
(
variables_out_of_range
,
current_column
,
sep
=
" "
)
variables_out_of_range
<-
paste
(
variables_out_of_range
,
current_column
,
"the range should be:"
,
possible_values
,
sep
=
" "
)
print
(
paste
(
current_column
,
"does not follow the established format"
,
sep
=
" "
))
print
(
paste
(
current_column
,
"does not follow the established format"
,
sep
=
" "
))
print
(
paste
(
"It should follow the following format:"
,
possible_values
))
print
(
paste
(
"It should follow the following format:"
,
possible_values
))
print
(
paste
(
"Instead of:"
,
paste
(
row_names
,
collapse
=
" "
)))
print
(
paste
(
"Instead of:"
,
paste
(
row_names
,
collapse
=
" "
)))
...
...
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