Skip to content

Commit

Permalink
Deploying to gh-pages from @ 5ebee06 🚀
Browse files Browse the repository at this point in the history
  • Loading branch information
kazuyanagimoto committed Apr 26, 2024
1 parent e0946f5 commit 5e7eea3
Show file tree
Hide file tree
Showing 7 changed files with 29 additions and 29 deletions.
Binary file modified freeze.rds
Binary file not shown.
2 changes: 1 addition & 1 deletion index.html
Original file line number Diff line number Diff line change
Expand Up @@ -321,7 +321,7 @@ <h3 class="anchored" data-anchor-id="date-formatter">Date Formatter</h3>
<span id="cb6-2"><a href="#cb6-2" aria-hidden="true" tabindex="-1"></a> <span class="fu">format_date</span>(</span>
<span id="cb6-3"><a href="#cb6-3" aria-hidden="true" tabindex="-1"></a> <span class="at">start =</span> <span class="st">"date_start"</span>,</span>
<span id="cb6-4"><a href="#cb6-4" aria-hidden="true" tabindex="-1"></a> <span class="at">end =</span> <span class="st">"date_end"</span>,</span>
<span id="cb6-5"><a href="#cb6-5" aria-hidden="true" tabindex="-1"></a> <span class="at">format =</span> <span class="st">"%Y"</span>,</span>
<span id="cb6-5"><a href="#cb6-5" aria-hidden="true" tabindex="-1"></a> <span class="at">date_format =</span> <span class="st">"%Y"</span>,</span>
<span id="cb6-6"><a href="#cb6-6" aria-hidden="true" tabindex="-1"></a> <span class="at">sep =</span> <span class="st">"-&gt;"</span>,</span>
<span id="cb6-7"><a href="#cb6-7" aria-hidden="true" tabindex="-1"></a> <span class="at">sort_by =</span> <span class="st">"start"</span></span>
<span id="cb6-8"><a href="#cb6-8" aria-hidden="true" tabindex="-1"></a> ) <span class="sc">|&gt;</span></span>
Expand Down
36 changes: 18 additions & 18 deletions man/format_date.html
Original file line number Diff line number Diff line change
Expand Up @@ -250,9 +250,9 @@ <h3 class="anchored" data-anchor-id="usage">Usage</h3>
<pre><code class="language-R">format_date(
data,
start = "start",
end = "end",
sep = "-",
format = "%M %Y",
end = NULL,
sep = " - ",
date_format = "%M %Y",
colname_date = "date",
replace_na = "Present",
sort_by = "none",
Expand All @@ -265,71 +265,71 @@ <h3 class="anchored" data-anchor-id="arguments">Arguments</h3>
<table>
<tbody><tr>
<td style="white-space: nowrap; font-family: monospace; vertical-align: top">
<code id="format_date_:_data">data</code>
<code id="data">data</code>
</td>
<td>
Data frame for resume entry
</td>
</tr>
<tr>
<td style="white-space: nowrap; font-family: monospace; vertical-align: top">
<code id="format_date_:_start">start</code>
<code id="start">start</code>
</td>
<td>
Start date column name. Default is "start"
</td>
</tr>
<tr>
<td style="white-space: nowrap; font-family: monospace; vertical-align: top">
<code id="format_date_:_end">end</code>
<code id="end">end</code>
</td>
<td>
End date column name. Default is "end"
Optional. End date column name.
</td>
</tr>
<tr>
<td style="white-space: nowrap; font-family: monospace; vertical-align: top">
<code id="format_date_:_sep">sep</code>
<code id="sep">sep</code>
</td>
<td>
Separator between start and end date. Default is "-"
Separator between start and end date. Default is " - "
</td>
</tr>
<tr>
<td style="white-space: nowrap; font-family: monospace; vertical-align: top">
<code id="format_date_:_format">format</code>
<code id="date_format">date_format</code>
</td>
<td>
Date format. Default is "%M %Y"
</td>
</tr>
<tr>
<td style="white-space: nowrap; font-family: monospace; vertical-align: top">
<code id="format_date_:_colname_date">colname_date</code>
<code id="colname_date">colname_date</code>
</td>
<td>
Name for the generated date column. Default is "date"
</td>
</tr>
<tr>
<td style="white-space: nowrap; font-family: monospace; vertical-align: top">
<code id="format_date_:_replace_na">replace_na</code>
<code id="replace_na">replace_na</code>
</td>
<td>
Value to replace NA values. Default is "Present"
</td>
</tr>
<tr>
<td style="white-space: nowrap; font-family: monospace; vertical-align: top">
<code id="format_date_:_sort_by">sort_by</code>
<code id="sort_by">sort_by</code>
</td>
<td>
Sort by "none", "start" or "end". Default is "none"
</td>
</tr>
<tr>
<td style="white-space: nowrap; font-family: monospace; vertical-align: top">
<code id="format_date_:_decreasing">decreasing</code>
<code id="decreasing">decreasing</code>
</td>
<td>
Sort in decreasing order. Default is TRUE
Expand All @@ -347,13 +347,13 @@ <h3 class="anchored" data-anchor-id="examples">Examples</h3>
<div class="sourceCode cell-code" id="cb1"><pre class="sourceCode r code-with-copy"><code class="sourceCode r"><span id="cb1-1"><a href="#cb1-1" aria-hidden="true" tabindex="-1"></a><span class="fu">library</span>(typstcv)</span>
<span id="cb1-2"><a href="#cb1-2" aria-hidden="true" tabindex="-1"></a></span>
<span id="cb1-3"><a href="#cb1-3" aria-hidden="true" tabindex="-1"></a>work <span class="sc">|&gt;</span></span>
<span id="cb1-4"><a href="#cb1-4" aria-hidden="true" tabindex="-1"></a> <span class="fu">format_date</span>(<span class="at">format =</span> <span class="st">"%Y"</span>, <span class="at">sort_by =</span> <span class="st">"start"</span>) <span class="sc">|&gt;</span></span>
<span id="cb1-4"><a href="#cb1-4" aria-hidden="true" tabindex="-1"></a> <span class="fu">format_date</span>(<span class="at">end =</span> <span class="st">"end"</span>, <span class="at">date_format =</span> <span class="st">"%Y"</span>, <span class="at">sort_by =</span> <span class="st">"start"</span>) <span class="sc">|&gt;</span></span>
<span id="cb1-5"><a href="#cb1-5" aria-hidden="true" tabindex="-1"></a> <span class="fu">resume_entry</span>()</span></code><button title="Copy to Clipboard" class="code-copy-button"><i class="bi"></i></button></pre></div>
<div class="cell-output cell-output-stdout">
<pre><code>```{=typst}
#resume-entry(title: "Associate Professor",location: "Zürich, Switzerland",date: "1909-1911",description: "University of Zürich",)
#resume-entry(title: "Junior Professor",location: "Bern, Switzerland",date: "1908-1909",description: "University of Bern",)
#resume-entry(title: "Technical Assistant",location: "Bern, Switzerland",date: "1902-1908",description: "Federal Patent Office",)
#resume-entry(title: "Associate Professor",location: "Zürich, Switzerland",date: "1909 - 1911",description: "University of Zürich",)
#resume-entry(title: "Junior Professor",location: "Bern, Switzerland",date: "1908 - 1909",description: "University of Bern",)
#resume-entry(title: "Technical Assistant",location: "Bern, Switzerland",date: "1902 - 1908",description: "Federal Patent Office",)
```</code></pre>
</div>
</div>
Expand Down
10 changes: 5 additions & 5 deletions man/resume_entry.html
Original file line number Diff line number Diff line change
Expand Up @@ -261,39 +261,39 @@ <h3 class="anchored" data-anchor-id="arguments">Arguments</h3>
<table>
<tbody><tr>
<td style="white-space: nowrap; font-family: monospace; vertical-align: top">
<code id="resume_entry_:_data">data</code>
<code id="data">data</code>
</td>
<td>
A data frame with columns for title, location, date, and description
</td>
</tr>
<tr>
<td style="white-space: nowrap; font-family: monospace; vertical-align: top">
<code id="resume_entry_:_title">title</code>
<code id="title">title</code>
</td>
<td>
The column name for the title. Default is "title"
</td>
</tr>
<tr>
<td style="white-space: nowrap; font-family: monospace; vertical-align: top">
<code id="resume_entry_:_location">location</code>
<code id="location">location</code>
</td>
<td>
The column name for the location. Default is "location"
</td>
</tr>
<tr>
<td style="white-space: nowrap; font-family: monospace; vertical-align: top">
<code id="resume_entry_:_date">date</code>
<code id="date">date</code>
</td>
<td>
The column name for the date. Default is "date"
</td>
</tr>
<tr>
<td style="white-space: nowrap; font-family: monospace; vertical-align: top">
<code id="resume_entry_:_description">description</code>
<code id="description">description</code>
</td>
<td>
The column name for the description. Default is "description"
Expand Down
Loading

0 comments on commit 5e7eea3

Please sign in to comment.