Skip to content

db add relations #54

@swploum

Description

@swploum

db add relations seems to only work with SampleFeatures that have SampleFeatureCode 'Site'. All below are sites that are defined as a stream gage or water quality station.


> db_add_relations(db = db,edgelist = relationshipTree, 
                  from_column = "SampleFeatureCode", 
                 relationtype_column = "RelationshipCV", 
               to_column = "RelatedFeatureCode") 
Error in db_add_relations(db = db, edgelist = relationshipTree, 
from_column = "SampleFeatureCode",  
following sites are missing. add with db_describe_site. c("-50", "C5", "50", "100", "150", "200", "250", "300", "350", "400", "450", "500", "550", "600", "650", "700", "750", "800", "850", "900", "950", "1000", "1050", "1100", "1150", "1200", "1250", "1300", "1350", "0", "C6")
--
 
> | >
>

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions