TheRFrog / shinyNORRRM

Reproduce the CIPW Norm
GNU General Public License v3.0
2 stars 1 forks source link

How to format data for the input .csv #1

Open fearmemortals opened 1 year ago

fearmemortals commented 1 year ago

Hi there, thanks for making this handy CIPW norm tool.

I am having difficulty with my input data. It's formatted horizontally (Figure 1), but when I try to run the norm I get an error:

Error: arguments imply diffing number of rows: 1, 0

image Figure 1.

Could you please suggest what I can do to resolve this issue?

Thanks for your time.

fearmemortals commented 1 year ago

I appear to have worked out the right number of columns, however now I have a different error:

'Error: undefined columns selected'.

I recommend proving a template .csv with the documentation to facilitate use.

TheRFrog commented 1 year ago

Dear user,

Thanks for using shinyNORRRM. Please, find attached four templates in format .csv. In addition, those templates can be found at https://github.com/TheRFrog/shinyNORRRM/tree/main/inst/extdata

Again, thank you for using our software. Cheers, Reneé

Dr. Reneé González Guzmán CGEO-UNAM

P: 442 238 1104 ext 134 (tel:442%20238%201104%20ext%20134) A: Juriquilla (76230), Querétaro, México (https://maps.google.com/?q=Juriquilla%20(76230)%2C%20Quer%C3%A9taro%2C%20M%C3%A9xico) W: https://orcid.org/0000-0001-7773-6401

On Nov 26 2022, at 8:06 am, fearmemortals @.***> wrote:

I appear to have worked out the right number of columns, however now I have a different error: 'Error: undefined columns selected'. I recommend proving a template .csv with the documentation to facilitate use. — Reply to this email directly, view it on GitHub (https://github.com/TheRFrog/shinyNORRRM/issues/1#issuecomment-1328052777), or unsubscribe (https://github.com/notifications/unsubscribe-auth/AYUTUNAGXRROQSX4YWFDKG3WKIKP3ANCNFSM6AAAAAASL75CNA). You are receiving this because you are subscribed to this thread.

fearmemortals commented 1 year ago

Hi Dr. Guzman, thank you for your prompt reply.

The link you have provided to the templates is unfortunately 404. Additionally, I have previously found the TephraKam.csv file and used it with shinyNORRRM, however I still have the error:

Error: undefined columns selected.

Not sure what is the problem. Thanks for your help.

TheRFrog commented 1 year ago

Sorry for the issues.

The TephraKam dataset was modified from the original paper: https://doi.org/10.5194/essd-12-469-2020 to run in shinyNORRRM. It is important to download the templates from the GitHub repository at https://github.com/TheRFrog/shinyNORRRM/tree/main/inst/extdata

Thank you again fearmemortals

Cheers, Reneé

fearmemortals commented 1 year ago

Thanks for your help.

I can confirm that the norm works if I copy my data into one of your files (e.g., TephraKam.csv).

Thanks for your work on this plugin.