createrows {WikidataR} | R Documentation |
"CREATE" rows
Description
Add in empty lines for QuickStatements CREATE rows that mint new QIDs. This is a slightly messy quirk of the QuickStatements format that mints new QIDs via a line containing only "CREATE", so this function is a way to approximate that bevaviour in a tibble
Usage
createrows(items, vector)
Arguments
items |
a vector, data frame or tibble of items (which may or may not contain the keyword "CREATE") |
vector |
a vector of properties or values which may be expanded based on the items vector |
Value
if the vector is NULL, return NULL. Otherwise, if the "CREATE" keyword appears in the items vector, insert blank strings at those positions in the vector.
[Package WikidataR version 2.3.3 Index]