Skip to content

Commit

Permalink
fix
Browse files Browse the repository at this point in the history
  • Loading branch information
mblue9 committed Sep 26, 2024
1 parent 5676176 commit 179bbd8
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion carpentry/instructors.qmd
Original file line number Diff line number Diff line change
Expand Up @@ -65,7 +65,7 @@ read_instructors <- function(file_path) {

```{r}
# Import data from the TSV file and format
instructors <- read_instructors("carpentry_instructors.tsv")
instructors <- read_instructors("carpentries_instructors.tsv")
# Add 'Location' by combining city and country for geocoding
instructors <- instructors |>
Expand Down
2 changes: 1 addition & 1 deletion carpentry/workshops.qmd
Original file line number Diff line number Diff line change
Expand Up @@ -70,7 +70,7 @@ read_workshops <- function(file_path) {

```{r}
# Add 'region' using countrycode for World Bank regions
workshops <- read_workshops("carpentry_workshops.tsv") %>%
workshops <- read_workshops("carpentries_workshops.tsv") %>%
mutate(Location = paste(city, country, sep = ", ")) %>%
mutate(region = countrycode(country, origin = "country.name", destination = "region"))
Expand Down

0 comments on commit 179bbd8

Please sign in to comment.