Retrieve the revision history of a pathway.

getPathwayHistory(pathway, timestamp)

Arguments

pathway

WikiPathways identifier (WPID) for the pathway to download, e.g. WP4

timestamp

(integer) Limit by time, only history items after the given time, e.g., 20180201 for revisions since Feb 1st, 2018. Any length of timestamp is accepted, upto 14 digits, e.g., 2018, 201802, 20180201063011, etc.

Value

A list of revisions, including user and comment

Examples

{ getPathwayHistory('WP554',20180201) }
#> [[1]] #> [[1]]$revision #> [1] "96004" #> #> [[1]]$comment #> [1] "Changed MIM conversion between gene and metabolite to arrow." #> #> [[1]]$user #> [1] "DeSl" #> #> [[1]]$timestamp #> [1] "20180215093320" #> #> #> [[2]] #> [[2]]$revision #> [1] "96005" #> #> [[2]]$comment #> [1] "Removed licence number" #> #> [[2]]$user #> [1] "DeSl" #> #> [[2]]$timestamp #> [1] "20180215093540" #> #> #> [[3]] #> [[3]]$revision #> [1] "96328" #> #> [[3]]$comment #> [1] "remove old WP category" #> #> [[3]]$user #> [1] "Mkutmon" #> #> [[3]]$timestamp #> [1] "20180308093233" #> #> #> [[4]] #> [[4]]$revision #> [1] "105430" #> #> [[4]]$comment #> [1] "Modified description" #> #> [[4]]$user #> [1] "Khanspers" #> #> [[4]]$timestamp #> [1] "20190808043049" #> #> #> [[5]] #> [[5]]$revision #> [1] "105866" #> #> [[5]]$comment #> [1] "Modified description" #> #> [[5]]$user #> [1] "Khanspers" #> #> [[5]]$timestamp #> [1] "20190815232854" #> #> #> [[6]] #> [[6]]$revision #> [1] "106817" #> #> [[6]]$comment #> [1] "HMDB identifier normalization" #> #> [[6]]$user #> [1] "MaintBot" #> #> [[6]]$timestamp #> [1] "20190917132944" #> #> #> [[7]] #> [[7]]$revision #> [1] "107377" #> #> [[7]]$comment #> [1] "Ontology Term : 'hypertension' added !" #> #> [[7]]$user #> [1] "AlexanderPico" #> #> [[7]]$timestamp #> [1] "20191002222406" #> #> #> [[8]] #> [[8]]$revision #> [1] "107642" #> #> [[8]]$comment #> [1] "" #> #> [[8]]$user #> [1] "Khanspers" #> #> [[8]]$timestamp #> [1] "20191024180602" #> #>