Technical

Webservice for data package’ Python code generation

The EDI Data Portal now supports an additional code-generation service. Customized Python code can now be generated for all data tables, along with previously available R, Matlab, SAS and SPSS code. The generated Python code uses the Pandas module to generate Pandas “data frames” and produce some data summaries. The code can then be modified to perform user-specified analysis.

The idea for adding the Python code generation came from Stace Beaulieu  (Northeast U.S. Shelf Long-Term Ecological Research) and Mark Servilla and Duane Costa (EDI) provided sage advice on which of the many candidate Python data structures would be most useful.  John Porter (Virginia Coast Reserve Long-Term Ecological Research) added the Python code generation into the existing web service (http://www.vcrlter.virginia.edu/webservice/PASTAprog) and Duane Costa then modified the EDI Data Portal infrastructure so that code generation links automatically appear at the bottom of the listing for every EDI data package that includes one or more data tables.

Please contact John with any questions regarding the Python, R , SAS and SPSS stylesheets (email: jhp7e@virginia.edu, Dept. of Environmental Sciences, University of Virginia, Virginia Coast Reserve Long-Term Ecological Research).

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out /  Change )

Google photo

You are commenting using your Google account. Log Out /  Change )

Twitter picture

You are commenting using your Twitter account. Log Out /  Change )

Facebook photo

You are commenting using your Facebook account. Log Out /  Change )

Connecting to %s