Skip to content

Commit 83beee2

Browse files
authored
Merge pull request ropensci#183 from Lextuga007/spelling
Minor changes for spelling and spacing
2 parents aea7f97 + 8e35e6f commit 83beee2

File tree

4 files changed

+5
-5
lines changed

4 files changed

+5
-5
lines changed

R/metadata_map.R

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@ select.list <- NULL
1616
#' Example inputs are provided within the package data, for the user to run this
1717
#' function in a demo mode.
1818
#' @param metadata_file This should be a csv download from HDRUK gateway
19-
#' (0_Dataset_Structural_Metadata.csv). Deafult is 'data/metadata.rda' - run
19+
#' (0_Dataset_Structural_Metadata.csv). Default is 'data/metadata.rda' - run
2020
#' '?metadata' to see how it was created.
2121
#' @param domain_file This should be a csv file created by the user, with each
2222
#' domain on a separate line, no header. Default is 'data/domain_list.rda'
@@ -121,7 +121,7 @@ metadata_map <- function(
121121
## Check if look_up_file and domain_file are compatible
122122
mistmatch <- setdiff(data$lookup$domain_code, df_plots$code$code)
123123
if (length(mistmatch) > 0) {
124-
cli_alert_danger("The look_up_file and domain_file are not compatabile. These look up codes are not listed in the domain codes:")
124+
cli_alert_danger("The look_up_file and domain_file are not compatible. These look up codes are not listed in the domain codes:")
125125
cat("\n")
126126
print(mistmatch)
127127
stop()

README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -86,7 +86,7 @@ Currently, the recommended way of retrieving these metadata files is to download
8686

8787
## Using a custom domain list input (recommended)
8888

89-
You can replace the default demo domains with research-specific domains. Remember any domain file input will have Codes 0,1,2 and 3 automatically appended to the start of the domain list, so do not include these in your domain list.
89+
You can replace the default demo domains with research-specific domains. Remember any domain file input will have Codes 0, 1, 2 and 3 automatically appended to the start of the domain list, so do not include these in your domain list.
9090

9191
## Using a custom lookup table input (advanced)
9292

man/metadata_map.Rd

Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

vignettes/mapmetadata.Rmd

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -47,7 +47,7 @@ You will see this in the R console:
4747

4848
`Press 'Esc' key to finish here, or press any other key to continue with mapping variables`
4949

50-
Pressing any key will move you to the mapping phase. Demo mode (run by `metadata_map()`) only processes the fist 20 data elements (variables) in the selected table.
50+
Pressing any key will move you to the mapping phase. Demo mode (run by `metadata_map()`) only processes the first 20 data elements (variables) in the selected table.
5151

5252
```
5353
Enter your initials: rs

0 commit comments

Comments
 (0)