shiny webapp

RenukaRajendra
Level 2
shiny webapp

Can we access the dataset of a project in shiny webapp in live mode , but the dataset present in different project? If anybody have idea , plz share 

0 Kudos
1 Reply
SarinaS
Dataiker

Hi @RenukaRajendra,

If I'm understanding correctly, it sounds like you are wondering if there is a way to pull a dataset from another project in a R shiny webapp. 

From the R api, you can use the syntax <PROJECT_KEY>.<DATASET_KEY> to access a dataset from another project, where DKU_TSHIRTS is a project outside of the one I am in, and crm_history is a dataset that exists in the DKU_TSHIRTS project: 

mydataset <- dkuReadDataset("DKU_TSHIRTS.crm_history", samplingMethod="head", nbRows=100000)


Let me know if you have any questions about this! 

Thanks,
Sarina