Skip to content

Commit 342bd82

Browse files
committed
function that returns the system metadata of all versions of a PID
1 parent b83cca7 commit 342bd82

1 file changed

Lines changed: 16 additions & 0 deletions

File tree

R/sysmeta_all.R

Lines changed: 16 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,16 @@
1+
sysmeta_all <- function(mn, pid){
2+
mn <- mn
3+
pid <- pid
4+
5+
allPIDS <- get_all_versions(mn, pid)
6+
7+
allSysmeta <- list()
8+
i=0
9+
for(i in 1:length(all_vers)){
10+
allSysmeta[[i]] <- getSystemMetadata(mn, allPIDS[i])
11+
}
12+
13+
return(allSysmeta)
14+
}
15+
16+

0 commit comments

Comments
 (0)