R pour le SEO
Quelques fonctions R utiles pour les SEO
Charger une librairie library(dplyr) Charger un fichier apres=read.csv(file = « serps-2016-08-02.csv »,header=T, sep= »; »,encoding = « UTF-8 ») Sauvegarder un fichier write.table(listeSERPSNettoyee, file = « C:/Users/gflorin/Desktop/SERPS/Nettoye/obj_lndng.csv », sep = « ; », row.names = FALSE,append=FALSE,col.names = TRUE,na = « », quote = FALSE) Déduplication KeywordAvant <- unique(avant$Keyword) Convertir en dataFrame KeywordAvant <- as.data.frame(KeywordAvant) Renommer les colonnes colnames(urls) = c(« url ») Union R Si un champ : union(x, y) Si plusieurs champs Lire la suite…