Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- library(c(XML,plyr))
- fileurl <- "http://ovc.catastro.meh.es/INSPIRE/wfsCP.aspx?service=wfs&request=getfeature&Typenames=cp.cadastralparcel&SRSname=EPSG::25830&bbox=233673,4015968,233761,4016008"
- doc <- xmlParse(fileurl,useInternalNodes = TRUE) ### xmlParse()- is to parse the xml content, the parsed content is stored into doc
- xL <- xmlToList(doc) ###is to convert xml doc into List
- data <- ldply(xL, data.frame)
- head(data)
Add Comment
Please, Sign In to add comment