Project

General

Profile

Task #7960

Create format ids for R, MATLAB, Python and SAS code

Added by Jing Tao almost 6 years ago. Updated almost 6 years ago.

Status:
Closed
Priority:
Normal
Assignee:
Category:
Metacat
Target version:
Start date:
2017-01-04
Due date:
% Done:

100%

Milestone:
None
Product Version:
*
Story Points:
Sprint:

Description

Here are format ids:

application/R

R script file format
DATA

R

application/MATLAB

MATLAB code file format
DATA

m

application/Python

Python script file format
DATA

py

application/SAS

SAS programming file format
DATA

sas

Please feel to free to modify them.

History

#1 Updated by Rob Nahf almost 6 years ago

I've seen other media types associated with scripts, for example "application/x-matlab", "application/x-python" but don't know whether these things are community standards.

#2 Updated by Bryce Mecum almost 6 years ago

Note that there is a discussion happening via email, subject '[coredev] New format ids', and on Slack in DataONEorg/ci.

#3 Updated by Jing Tao almost 6 years ago

After the meeting, the new proposal is:

application/R
R script
DATA

R

application/MATLAB
MATLAB source code
DATA

m

Already in use, do not change formatId

application/x-python
Python script
DATA

py

application/SAS
SAS source code
DATA

sas

#4 Updated by Chris Jones almost 6 years ago

Hi Jing,

I just have some minor suggestions:

application/R
R programming language script
DATA

R

application/MATLAB
MATLAB programming language script
DATA

m

Already in use, do not change formatId

application/x-python
Python programming language script
DATA

py

application/SAS
SAS programming language script
DATA

sas

Basically, just slightly more descriptive names.

#5 Updated by Jing Tao almost 6 years ago

Those changes were committed to d1_common_java trunk/2.3 branch and dataone-cn-metacat trunk/2.8 branch.

#6 Updated by Jing Tao almost 6 years ago

  • % Done changed from 0 to 30
  • Status changed from New to In Progress

#7 Updated by Jing Tao almost 6 years ago

  • % Done changed from 30 to 100
  • Status changed from In Progress to Closed

They are in the production cn now.

Also available in: Atom PDF

Add picture from clipboard (Maximum size: 14.8 MB)