I'm new to Markdown, and I want to create a PDF report that has separate paragraphs (or pages will be even better) for each row of data in a data frame. There is a similar post here, but I can't seem to replicate the answer.
Here is my sample data frame:
df <- data.frame(
Company = c("Uber", "AT&T", "Ford"),
Stock.Ticker = c("UBER", "T", "F"),
Price = c(61, 26, 11),
Date = c("01/11/2021","01/13/2021","1/21/2021"),
Description = c("Uber Technologies, Inc. develops and operates proprietary technology applications.",
"AT&T Inc. provides telecommunication, media, and technology services worldwide.",
"Ford Motor Company designs, manufactures, markets, and services a range of Ford trucks, cars, sport utility vehicles.")
)
The output I'm looking for is:
[Uber Technologies, Inc. develops and operates proprietary technology applications.] [Uber]'s stock ticker is [UBER]. As of [01/11/2021], the stock price is $[61].
[AT&T Inc. provides telecommunication, media, and technology services worldwide.] [AT&T]'s stock ticker is [T]. As of [01/13/2021], the stock price is $[26].
[Ford Motor Company designs, manufactures, markets, and services a range of Ford trucks, cars, sport utility vehicles.] [fORD]'s stock ticker is [f]. As of [01/21/2021], the stock price is $[11].