Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Translation: Library Carpentry OpenRefine Episode 8 #163

Open
joelnitta opened this issue Aug 5, 2021 · 0 comments
Open

Translation: Library Carpentry OpenRefine Episode 8 #163

joelnitta opened this issue Aug 5, 2021 · 0 comments

Comments

@joelnitta
Copy link
Member

Translation: Library Carpentry OpenRefine Episode 8

Original lesson: https://librarycarpentry.org/lc-open-refine/08-writing-transformations/index.html


  • PO fileの編集についてはREADMEをご参照ください
  • あなたが翻訳し始めたと分かるように、翻訳を始める前にこのイシューを自分に割り振って(assign)、あるいはコメントを書いて下さい。
  • 翻訳が終わったら、プルリクエストを開いて、このイシューを参照・リンクして下さい。

i18n/po/lc-open-refine.ja.po

Lines 1432 to 1512 in bb59a56

#: lc-open-refine/_episodes/08-writing-transformations.md:1
# Front Matter
msgid "---\n"
"title: \"Writing Transformations\"\n"
"teaching: 5\n"
"exercises: 10\n"
"questions:\n"
"- \"Where do I write GREL expressions in the OpenRefine interface?\"\n"
"- \"How do I write a valid GREL expression?\"\n"
"objectives:\n"
"- \"Explain how to write one's own transformations using GREL\"\n"
"keypoints:\n"
"- \"You can alter data in OpenRefine based on specific instructions\"\n"
"- \"You can preview the results of your GREL expression\"\n"
"---"
msgstr ""
#: lc-open-refine/_episodes/08-writing-transformations.md:15
# header
msgid "## Writing transformations"
msgstr ""
#: lc-open-refine/_episodes/08-writing-transformations.md:17
msgid "To start writing transformations, select the column on which you wish to perform a transformation and choose ```Edit cells->Transform…```. In the screen that displays you have a place to write a transformation (the 'Expression' box) and then the ability to Preview the effect the transformation would have on 10 rows of your data."
msgstr ""
#: lc-open-refine/_episodes/08-writing-transformations.md:19
msgid "The transformation you type into the 'Expression' box has to be a valid GREL expression. The simplest expression is simply the word 'value' by itself - which simply means the value that is currently in the column - that is: make no change."
msgstr ""
#: lc-open-refine/_episodes/08-writing-transformations.md:21
msgid "GREL functions are written by giving a value of some kind (a text string, a date, a number etc.) to a GREL function. Some GREL functions take additional parameters or options which control how the function works. GREL supports two types of syntax:"
msgstr ""
#: lc-open-refine/_episodes/08-writing-transformations.md:23
# unordered list
msgid "* ```value.function(options)```"
msgstr ""
#: lc-open-refine/_episodes/08-writing-transformations.md:24
# unordered list
msgid "* ```function(value, options)```"
msgstr ""
#: lc-open-refine/_episodes/08-writing-transformations.md:26
msgid "Either is valid, and which is used is completely down to personal preference. In these notes the first syntax is used."
msgstr ""
#: lc-open-refine/_episodes/08-writing-transformations.md:28
msgid "Next to the 'Preview' option are options to view:"
msgstr ""
#: lc-open-refine/_episodes/08-writing-transformations.md:30
# unordered list
msgid "* 'History' - a list of transformations you've previously used with the option to reuse them immediately or to 'star' them for easy access"
msgstr ""
#: lc-open-refine/_episodes/08-writing-transformations.md:31
# unordered list
msgid "* 'Starred' - a list of transformations you've 'starred' via the 'History' view"
msgstr ""
#: lc-open-refine/_episodes/08-writing-transformations.md:32
# unordered list
msgid "* 'Help' - a list of all the GREL functions and brief information on how to use them"
msgstr ""
#: lc-open-refine/_episodes/08-writing-transformations.md:34
msgid ">## Put titles into Title Case\n"
">Use Facets and the GREL expression ```value.toTitlecase()``` to put the titles in Title Case\n"
">1. Facet by publisher\n"
">2. Select \"Akshantala Enterprises\" and \"Society of Pharmaceutical Technocrats\"\n"
">3. To select multiple values in the facet use the ```include``` link that appears to the right of the facet\n"
">4. See that the Titles for these are all in uppercase\n"
">5. Click the dropdown menu on the Title column\n"
">6. Choose ```Edit cells->Transform...```\n"
">7. In the Expression box type ```value.toTitlecase()```\n"
">8. In the Preview pane under value.toTitlecase() you can see what the effect of running this will be\n"
">9. Click ```OK```"
msgstr ""

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant