JMP Public is a website for JMP users around the world to share their discoveries and explore interesting public data sets. With JMP 14.2 and later, you can easily publish interactive reports to JMP Public and share your finding with others, even if they don’t have JMP.
Later this year, with the release of JMP 15.0, we are going to be offering publishing capabilities similar to JMP Public for an organization’s proprietary data – in a private and secure environment. The relationship between JMP Server, JMP Live and JMP Public is shown in the figure below. But you don’t need to wait until the end of the year to start improving your publishing skills. Here are 10 tips to improve your publishing efficiency and to help automate routine publishing tasks.
P.S. I should note that this is a JSL-heavy blog post…
P.P.S. You can download my annotated published script at the end of this blog post as a good starting point for your own publish scripts.
For these 10 tips, we are going to look at a recent report I published to JMP Public, which explores an interesting data set made available from the US Food and Drug Administration’s Center for Drug Evaluation and Research (CDER). Check out the report on JMP Public:
// Create the web report element to hold the graphs and window. webreport = New Web Report(); // Add title and description for the index page. webreport << Index( Title( "Biomarkers in Labels (CDER)" ), description( "Source: <a href=\!"https://www.fda.gov/drugs/scienceresearch/ucm572698.htm\!">Table of Pharmacogenomic Biomarkers in Drug Labeling</a>" ) ); // Add graphs using add report message. You can also add a description if required. webreport << add report( graph1, title( "Number of Drugs Added Per Quarter by Therapeutic Area" ) ); webreport << add report( graph2, title( "Labeling Sections MCA" ) ); webreport << add report( graph3, title( "Therapeutic Area Packed Bar Chart" ) ); webreport << add report( win, title( "Links to Drug Detail Page (External)" ) );
url = webreport << publish( prompt( ifneeded ), replace( "PASTE PACKAGE ID HERE" ), public( 1 ) ); If( !Is Empty( url ), Web( url ) );
win = New Window( "Drug Information", V List Box() ); For Each Row(dt3, applicationNum = Char(:Application Number); drug = Char(:Drug Name); link=(EvalInsert("http://www.accessdata.fda.gov/scripts/cder/daf/index.cfm?event=overview.process&varApplNo=^applicationNum^")); button_expr = EvalInsert("\[one_button = button box("^drug^", web("^link^"), <<underlinestyle)]\"); eval(parse(button_expr)); win << append(V List Box()); win << append(one_button) );
I hope these 10 tips help with your own published scripts. If you haven’t tried publishing a report or collection of reports to JMP Public with a script, I encourage you to download my example script and data as a template. It’s pretty easy to replace the individual graphs with those of your own. The publish syntax doesn’t change that much. There is a lot more you can do with automation, and I hope to explore that more in the coming months.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.