Skip to content

Commit

Permalink
convert lon&lat to numeric
Browse files Browse the repository at this point in the history
  • Loading branch information
iramosgutierrez committed Feb 18, 2025
1 parent aafe8e0 commit de5c6f3
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion miembros.qmd
Original file line number Diff line number Diff line change
Expand Up @@ -41,7 +41,10 @@ write.csv(coords.table, file = "institutioncoords.csv",
# combine both table by its affiliation and add coordinates (POINTS)
member.table.coords <- merge(member.table, coords.table, all.x = TRUE) |>
subset(!is.na(lon))
subset(!is.na(lon))
member.table.coords$lon <- as.numeric(member.table.coords$lon)
member.table.coords$lat <- as.numeric(member.table.coords$lat)
# filter(!is.na(lon)) |>
# st_as_sf(coords = c("lon", "lat")) |>
member.table.coords$weblink <- paste0('<a href="',
Expand Down

0 comments on commit de5c6f3

Please sign in to comment.