X-Git-Url: https://projects.mako.cc/source/redirect-tools/blobdiff_plain/0f0cf080e5f46dd06086a6de771eb0f0c34e6da4..3a525ac0d1fcf0faf67a770f8a3cae007115d87a:/02-generate_spells.R diff --git a/02-generate_spells.R b/02-generate_spells.R index c2a2188..528091d 100644 --- a/02-generate_spells.R +++ b/02-generate_spells.R @@ -10,10 +10,8 @@ setwd(cur.dir) setwd(spells.data.dir) save(redirect.spells, file="redirect_spells.RData") -write.csv(redirect.spells, file="redirect_spells.tsv", sep="\t" +write.table(redirect.spells, file="redirect_spells.tsv", sep="\t", fileEncoding="UTF-8", row.names=FALSE) library(foreign) write.dta(redirect.spells, file="redirect_spells.dta") - -