Skip to content

Commit

Permalink
also to be fixed
Browse files Browse the repository at this point in the history
  • Loading branch information
maelle committed Aug 30, 2023
1 parent 0344650 commit f8e13fc
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 0 deletions.
2 changes: 2 additions & 0 deletions R/coords.R
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,7 @@
#' @param prefix the prefix to be appended to "lat-lng" columns (defaults to "" -no prefix-)
#' @export
#' @examples
#' \dontrun{
#' query='SELECT ?item ?itemLabel ?coords ?date
#' {
#' ?item wdt:P361 wd:Q1552;
Expand All @@ -14,6 +15,7 @@
#' '
#' tib=send_sparql(query)
#' transform_wikidata_coords(tib, "coords")
#' }
transform_wikidata_coords=function(data,coord_column, prefix=""){
f=function(x){
if(is.na(x[1])){x=c(NA,NA)}
Expand Down
2 changes: 2 additions & 0 deletions man/transform_wikidata_coords.Rd

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

0 comments on commit f8e13fc

Please sign in to comment.