iobis / obistools

Tools for data enhancement and quality control
https://iobis.github.io/obistools
Other
25 stars 6 forks source link

tree structure issue #32

Open pieterprovoost opened 7 years ago

pieterprovoost commented 7 years ago

This dataset should have 18 occurrences and thousands of Location events.

require(finch)
require(obistools)

archive <- dwca_read("http://arobis.cenpat-conicet.gob.ar:8081/archive.do?r=mleonina_adufem&v=1.0", read = TRUE, na.strings = "")
event <- archive$data$event.txt
occurrence <- archive$data$occurrence.txt
emof <- archive$data$extendedmeasurementorfact.txt
emof$eventID <- emof$id

flat <- flatten_occurrence(event, occurrence)
plot_map_leaflet(flat)

tree <- treeStructure(event, occurrence, emof)
exportTree(tree, "tree.html")

screen shot 2017-10-03 at 12 37 26

pieterprovoost commented 7 years ago

Fix tree structure in obistools