feed_shinyCV: Provide your own external datas to shinyCV.

Description Usage Arguments Examples

Description

Feed a shinyCV with datas. This function passes all the datas provided by the user to the cv viewer. Launch preview_shinyCV to see the results.

Usage

1
2
feed_shinyCV(profile, about, skills, languages, network, formations, projects,
  tasks, publications, publications_screenshots, talks, courses, internships)

Arguments

profile

The profile object should be a list containing, in the same order:

  • my_name: the name, a string like "John Test"

  • my_position: the current position, a string like "student"

  • my_age: the age, a numeric value like 10

  • my_interests: interests, a vector like:

    c("Computer Sciences", "Biology", "Physiology",
      "Mathematics", "Neurosciences", "Web-development")
  • my_website: the website url, a string like "http://google.com"

  • my_teaser: the teaser, a long string (see view_shinyCV examples)

  • my_image: the profile image, a list of 3 fields:

    1. src: the image source, "your_path/your_image"

    2. class: should be set to "profile-user-img img-responsive img-circle"

    3. alt: "User profile picture"

None of this field is mandatory.

about

The about object should be a dataframe containing, in the same order:

  • my_phone: the phone number, a string like "+44 650 36 47"

  • my_mail: the mail adress, a string like "bobatgmail.com"

  • my_location: the location, a string like "Los Angeles"

  • my_linkedin: the linkedin profile, a string like "https://www.linkedin.com/feed/"

  • my_twitter: the twitter profile, a string like "https://twitter.com"

  • my_facebook: the facebook profile, a string like "https://www.facebook.com"

  • my_github: the github profile, a string like "https://github.com"

None of this field is mandatory.

skills

The skills object should be a dataframe containing, in the same order:

  • variable: the skill name, a character vector like c("R", "Shiny", "HTML")

  • value: the corresponding value between 0 and 100, a numeric vector like c("90", "90", "80")

Each field is mandatory to create the corresponding graph.

languages

The languages object should be a dataframe containing, in the same order:

  • variable: the language name, a character vector like c("French", "English", "Spanish")

  • value: the corresponding value between 0 and 100, a numeric vector like c("90", "90", "80")

Each field is mandatory to create the corresponding progress bar.

network

The network object should be a dataframe containing, in the same order:

  • title: the titles of your connections, a character vector like c("Dr.", "Pr.", "")

  • sex: the sexes of your connections, a character vector like c("male", "female", "female")

  • name: the names of your connections, a character vector like c("Janine", "Huguette", "Jean Raymond")

  • mail: the mail adresses of your connections, a character vector like c("janineatgmail.com", "huguetteatgmail.com", "raymondatgmail.com")

  • phone: the phone number list of your connections, a character vector like c("+44 650 36 47", "+44 650 36 47", "+44 650 36 47")

Only name is mandatory.

formations

The formations object should be a dataframe containing, in the same order:

  • title: the titles of your formations, a character vector like c("Bachelor Degree", "Master Degree", "PhD in Biostatistics")

  • topic: the main topic of your formations, a character vector like c("database", "", "")

  • from: the starting dates of your formations, a character vector like rep("1900-01-01", 3)

  • to: the end dates of your formations, a character vector like rep("1900-01-01", 3)

  • summary: a quick summary of your formations, a character vector like c("My bachelor degree", "My master degree", "My PhD")

  • place: the locations of your formations, a character vector like rep("Somewhere", 3)

  • supervisor: your supervisors, a character vector like rep("Somebody", 3)

  • grade: your grades between 0 and 5, a numeric vector like c(3, 4, 5)

  • extra: provide some extra links, a character vector like c("http://link1", "http://link2", "http://link3")

All fields are mandatory, except extra.

projects

The projects object should be a dataframe containing, in the same order:

  • title: the titles of your projects, a character vector like c("My project 1", "My_project 2", "My project 3", "My project 4")

  • position: the positions you had during your projects, a character vector like c("Big Boss", "Slave", "Big Boss", "Slave")

  • overview: the overview of your projects, a character vector like rep("an amazing project", 4)

  • supervisors: the names of your supervisors, a character vector like rep("Jean Eude", 4)

  • place: the places, a character vector like rep("Somewhere", 4)

All fields are mandatory.

tasks

The tasks object is related to your projects. It should be a list containing dataframes, in the same order:

  • project1: a dataframe containing, in the same order:

    1. name: the task name, for example c("task 1", "task 2")

    2. status: the task status, for example rep("wip", 2)

The first list is thus related to the first project and so on... Tasks objects are not mandatory but can help to describe your the related project.

publications

The publications object should be a dataframe containing, in the same order:

  • reference: the titles of your projects, a character vector like rep("Your name et al., Journal Title, 2018", 3)

  • abstract: the overview of your projects, a character vector like

    rep("Lorem ipsum dolor sit amet, consectetur
             adipiscing elit, sed do eiusmod tempor
             incididunt ut labore et dolore magna aliqua.
             Ut enim ad minim veniam, quis nostrud exercitation
             ullamco laboris nisi ut aliquip ex ea commodo
             consequat. Duis aute irure dolor in reprehenderit in
             voluptate velit esse cillum dolore eu fugiat nulla pariatur.
             Excepteur sint occaecat cupidatat non proident, sunt in
             culpa qui officia deserunt mollit anim id est laborum.", 3)
  • pubmed_link: the places, a character vector like rep("https://www.ncbi.nlm.nih.gov/pubmed", 3)

Only reference is mandatory.

publications_screenshots

The publications screenshots object is related to publications and should be a list containing, in the same order:

  • list1: a list containing:

    1. src: the screenshot source, "your_path/your_image"

    2. class: should be set to "img-responsive pad"

    3. style: should be set to "height: 100px; display: block; margin-left: auto; margin-right: auto;"

List 1 is thus related to the first publication and so on ...

talks

The talks object should be a dataframe containing, in the same order:

  • title: the titles of your conferences, a character vector like rep("My Talk", 5)

  • from: the starting dates of your conferences, a character vector like rep("1900-01-01", 5)

  • to: the end date of your conferences, a character vector like rep("1900-01-01", 5)

  • summary: the summaries of your talks, a character vector like

    rep("Lorem ipsum dolor sit amet, consectetur
             adipiscing elit, sed do eiusmod tempor
             incididunt ut labore et dolore magna aliqua.
             Ut enim ad minim veniam, quis nostrud exercitation
             ullamco laboris nisi ut aliquip ex ea commodo
             consequat. Duis aute irure dolor in reprehenderit in
             voluptate velit esse cillum dolore eu fugiat nulla pariatur.
             Excepteur sint occaecat cupidatat non proident, sunt in
             culpa qui officia deserunt mollit anim id est laborum.", 3)
  • place: the locations of your conferences, a character vector like rep("Somewhere", 5)

  • price: if you get awards or not, a character vector like c(rep("yes", 3), rep("no", 2))

  • website: the website of these conferences, rep("http://google.com", 5)

All fields are mandatory, except website and to.

courses

The courses object should be a dataframe containing, in the same order:

  • title: the courses titles, a character vector like rep("My course", 4)

  • topic: the topics titles, a character vector like rep("my topic", 4)

  • nb_students: the number of students, a numeric vector like c(10, 100, 4, 250)

  • nb_hours: the duration of each course, a numeric vector like c(5, 45, 8, 45)

  • from: the starting dates, rep("1900-01-01", 4)

  • to: the end dates, rep("1900-01-01", 4)

  • place: the locations, rep("Somewhere", 4)

  • supervisor: the supervisors rep("Somebody", 4)

  • syllabus: the syllabi rep("http://google.com", 4)

All fields are mandatory, except syllabus and to.

internships

The internships object should be a dataframe containing, in the same order:

  • title: the courses titles, a character vector like rep("My course", 4)

  • topic: the topics titles, a character vector like rep("my topic", 4)

  • from: the starting dates, rep("1900-01-01", 4)

  • to: the end dates, rep("1900-01-01", 4)

  • place: the locations, rep("Somewhere", 4)

  • supervisor: the supervisors rep("Somebody", 4)

  • level: the level of your students, c("bachelor", "master", "PhD", "PostDoc")

  • advert: the advert rep("http://google.com", 4)

All fields are mandatory, except advert and to.

Examples

1
2
3
4
5
6
# load an example dataset
generate_datas_shinyCV()

feed_shinyCV(temp_profile, temp_about, temp_skills, temp_languages, temp_network, temp_formations,
             temp_projects, temp_tasks, temp_publications, temp_publications_screenshots,
             temp_talks, temp_courses, temp_internships)

DivadNojnarg/shinyCV documentation built on May 6, 2019, 8:35 p.m.