Load library

The jsonlite package is a JSON parser/generator optimized for the web. Its main strength is that it implements a bidirectional mapping between JSON data and the most important R data types. Thereby we can convert between R objects and JSON without loss of type or information, and without the need for any manual data munging. This is ideal for interacting with web APIs, or to build pipelines where data structures seamlessly flow in and out of R using JSON

library(jsonlite)

Get the Structure of the Data Fram

The structure of the data frame can be seen by using str() function.

str(df)
## List of 4
##  $ status     : chr "OK"
##  $ copyright  : chr "Copyright (c) 2021 The New York Times Company.  All Rights Reserved."
##  $ num_results: int 20
##  $ results    :'data.frame': 20 obs. of  22 variables:
##   ..$ uri           : chr [1:20] "nyt://article/403842eb-83bb-59f6-95b7-c45edae86e23" "nyt://article/2ae993b9-4f65-52ac-873f-8e927081d8c2" "nyt://article/19351eb6-3a41-585f-a9f6-7ed484a019f3" "nyt://article/f4c1e42f-f3d2-589d-983c-b3dbca86781b" ...
##   ..$ url           : chr [1:20] "https://www.nytimes.com/2021/04/10/us/coronavirus-michigan-gretchen-whitmer.html" "https://www.nytimes.com/2021/04/10/us/caron-nazario-windsor-police-virginia.html" "https://www.nytimes.com/2021/04/10/us/politics/kristine-hostetter-capitol.html" "https://www.nytimes.com/2021/04/08/health/coronavirus-mrna-kariko.html" ...
##   ..$ id            : num [1:20] 1e+14 1e+14 1e+14 1e+14 1e+14 ...
##   ..$ asset_id      : num [1:20] 1e+14 1e+14 1e+14 1e+14 1e+14 ...
##   ..$ source        : chr [1:20] "New York Times" "New York Times" "New York Times" "New York Times" ...
##   ..$ published_date: chr [1:20] "2021-04-10" "2021-04-10" "2021-04-10" "2021-04-08" ...
##   ..$ updated       : chr [1:20] "2021-04-11 00:29:31" "2021-04-10 17:10:36" "2021-04-11 00:27:18" "2021-04-10 12:02:04" ...
##   ..$ section       : chr [1:20] "U.S." "U.S." "U.S." "Health" ...
##   ..$ subsection    : chr [1:20] "" "" "Politics" "" ...
##   ..$ nytdsection   : chr [1:20] "u.s." "u.s." "u.s." "health" ...
##   ..$ adx_keywords  : chr [1:20] "Coronavirus (2019-nCoV);Disease Rates;Shutdowns (Institutional);Vaccination and Immunization;Politics and Gover"| __truncated__ "Police Brutality, Misconduct and Shootings;Suits and Litigation (Civil);United States Defense and Military Forc"| __truncated__ "Teachers and School Employees;Storming of the US Capitol (Jan, 2021);Right-Wing Extremism and Alt-Right;Content"| __truncated__ "RNA (Ribonucleic Acid);Vaccination and Immunization;Coronavirus (2019-nCoV);Research;Content Type: Personal Pro"| __truncated__ ...
##   ..$ column        : logi [1:20] NA NA NA NA NA NA ...
##   ..$ byline        : chr [1:20] "By Julie Bosman and Mitch Smith" "By Mike Ives and Maria Cramer" "By Matthew Rosenberg" "By Gina Kolata" ...
##   ..$ type          : chr [1:20] "Article" "Article" "Article" "Article" ...
##   ..$ title         : chr [1:20] "Michigan’s Virus Cases Are Out of Control, Putting Gov. Gretchen Whitmer in a Bind" "Black Army Medic Pepper-Sprayed in Traffic Stop Accuses Officers of Assault" "A Teacher Marched to the Capitol. When She Got Home, the Fight Began." "Kati Kariko Helped Shield the World From the Coronavirus" ...
##   ..$ abstract      : chr [1:20] "Ms. Whitmer, a Democrat, locked down her state over the din of protests last year. Now she is trying a differen"| __truncated__ "Second Lt. Caron Nazario was in uniform when two Windsor, Va., police officers ordered him to stop his car, poi"| __truncated__ "Kristine Hostetter was a beloved fourth-grade teacher. Then came the pandemic, the election and the Jan. 6 riot in Washington." "Collaborating with devoted colleagues, Dr. Kariko laid the groundwork for the mRNA vaccines turning the tide of the pandemic." ...
##   ..$ des_facet     :List of 20
##   .. ..$ : chr [1:5] "Coronavirus (2019-nCoV)" "Disease Rates" "Shutdowns (Institutional)" "Vaccination and Immunization" ...
##   .. ..$ : chr [1:4] "Police Brutality, Misconduct and Shootings" "Suits and Litigation (Civil)" "United States Defense and Military Forces" "Black People"
##   .. ..$ : chr [1:6] "Teachers and School Employees" "Storming of the US Capitol (Jan, 2021)" "Right-Wing Extremism and Alt-Right" "Content Type: Personal Profile" ...
##   .. ..$ : chr [1:6] "RNA (Ribonucleic Acid)" "Vaccination and Immunization" "Coronavirus (2019-nCoV)" "Research" ...
##   .. ..$ : chr [1:2] "Deaths (Obituaries)" "Royal Families"
##   .. ..$ : chr [1:7] "Drug Abuse and Traffic" "Addiction (Psychology)" "Law and Legislation" "Research" ...
##   .. ..$ : chr [1:3] "Homosexuality and Bisexuality" "Politics and Government" "Discrimination"
##   .. ..$ : chr [1:4] "Sexual Harassment" "Workplace Hazards and Violations" "Computers and the Internet" "Content Type: Personal Profile"
##   .. ..$ : chr [1:5] "Assaults" "Shopping and Retail" "Social Media" "Video Recordings, Downloads and Streaming" ...
##   .. ..$ : chr [1:4] "Campaign Finance" "Political Action Committees" "Presidential Election of 2024" "United States Politics and Government"
##   .. ..$ : chr [1:6] "Coronavirus (2019-nCoV)" "Hygiene and Cleanliness" "Coronavirus Risks and Safety Concerns" "Cleansers, Detergents and Soaps" ...
##   .. ..$ : chr [1:7] "Coronavirus Risks and Safety Concerns" "Content Type: Service" "Travel and Vacations" "Summer (Season)" ...
##   .. ..$ : chr [1:2] "Coronavirus (2019-nCoV)" "Deaths (Fatalities)"
##   .. ..$ : chr [1:2] "Volcanoes" "Evacuations and Evacuees"
##   .. ..$ : chr [1:4] "Sex" "Prostitution" "Pornography" "Social Media"
##   .. ..$ : chr [1:2] "Police Brutality, Misconduct and Shootings" "Antifa Movement (US)"
##   .. ..$ : chr [1:5] "Space and Astronomy" "Physics" "Particle Accelerators" "Large Hadron Collider" ...
##   .. ..$ : chr [1:4] "Race and Ethnicity" "Whites" "United States Politics and Government" "News and News Media"
##   .. ..$ : chr "Royal Families"
##   .. ..$ : chr [1:7] "Tax Preparers and Preparation" "Federal Taxes (US)" "Income Tax" "Content Type: Service" ...
##   ..$ org_facet     :List of 20
##   .. ..$ : chr(0) 
##   .. ..$ : chr(0) 
##   .. ..$ : chr "American Phoenix Project"
##   .. ..$ : chr [1:4] "University of Pennsylvania" "BioNTech SE" "Pfizer Inc" "Moderna Inc"
##   .. ..$ : chr(0) 
##   .. ..$ : chr "Columbia University"
##   .. ..$ : chr "Law and Justice (Poland)"
##   .. ..$ : chr "Google Inc"
##   .. ..$ : chr "Pier 1 Imports Inc"
##   .. ..$ : chr [1:3] "Republican Party" "Republican National Committee" "Mar-a-Lago (Palm Beach, Fla)"
##   .. ..$ : chr "Centers for Disease Control and Prevention"
##   .. ..$ : chr(0) 
##   .. ..$ : chr(0) 
##   .. ..$ : chr(0) 
##   .. ..$ : chr "OnlyFans"
##   .. ..$ : chr "United States Marshals Service"
##   .. ..$ : chr [1:2] "Fermi National Accelerator Laboratory" "Brookhaven National Laboratory"
##   .. ..$ : chr [1:2] "Fox News Channel" "Anti-Defamation League"
##   .. ..$ : chr(0) 
##   .. ..$ : chr [1:3] "American Institute of Certified Public Accountants" "Internal Revenue Service" "National Conference of CPA Practitioners"
##   ..$ per_facet     :List of 20
##   .. ..$ : chr "Whitmer, Gretchen"
##   .. ..$ : chr [1:3] "Nazario, Caron" "Crocker, Daniel (Windsor, Va, Police Officer)" "Gutierrez, Joe (Windsor, Va, Police Officer)"
##   .. ..$ : chr [1:2] "Hostetter, Kristine" "Hostetter, Alan"
##   .. ..$ : chr [1:3] "Kariko, Katalin (1955- )" "Weissman, Drew (1961- )" "Langer, David (1963- )"
##   .. ..$ : chr [1:2] "Philip, Duke of Edinburgh" "Elizabeth II, Queen of Great Britain"
##   .. ..$ : chr "Hart, Carl L"
##   .. ..$ : chr(0) 
##   .. ..$ : chr(0) 
##   .. ..$ : chr "Hunter, Debra (1967- )"
##   .. ..$ : chr "Trump, Donald J"
##   .. ..$ : chr "Walensky, Rochelle"
##   .. ..$ : chr(0) 
##   .. ..$ : chr "Putin, Vladimir V"
##   .. ..$ : chr(0) 
##   .. ..$ : chr(0) 
##   .. ..$ : chr "Reinoehl, Michael (1972-2020)"
##   .. ..$ : chr(0) 
##   .. ..$ : chr "Carlson, Tucker"
##   .. ..$ : chr [1:2] "Elizabeth II, Queen of Great Britain" "Philip, Duke of Edinburgh"
##   .. ..$ : chr(0) 
##   ..$ geo_facet     :List of 20
##   .. ..$ : chr "Michigan"
##   .. ..$ : chr "Windsor (Va)"
##   .. ..$ : chr [1:2] "San Clemente (Calif)" "Orange County (Calif)"
##   .. ..$ : chr(0) 
##   .. ..$ : chr "Great Britain"
##   .. ..$ : chr(0) 
##   .. ..$ : chr "Poland"
##   .. ..$ : chr(0) 
##   .. ..$ : chr "Jacksonville (Fla)"
##   .. ..$ : chr(0) 
##   .. ..$ : chr(0) 
##   .. ..$ : chr(0) 
##   .. ..$ : chr "Russia"
##   .. ..$ : chr [1:2] "Caribbean Area" "St Vincent and the Grenadines"
##   .. ..$ : chr(0) 
##   .. ..$ : chr "Washington (State)"
##   .. ..$ : chr(0) 
##   .. ..$ : chr(0) 
##   .. ..$ : chr "Great Britain"
##   .. ..$ : chr(0) 
##   ..$ media         :List of 20
##   .. ..$ :'data.frame':  1 obs. of  6 variables:
##   .. .. ..$ type                    : chr "image"
##   .. .. ..$ subtype                 : chr "photo"
##   .. .. ..$ caption                 : chr "Gov. Gretchen Whitmer got her first Pfizer vaccine dose in Detroit this week."
##   .. .. ..$ copyright               : chr "Matthew Hatcher/Getty Images"
##   .. .. ..$ approved_for_syndication: int 1
##   .. .. ..$ media-metadata          :List of 1
##   .. .. .. ..$ :'data.frame':    3 obs. of  4 variables:
##   .. .. .. .. ..$ url   : chr [1:3] "https://static01.nyt.com/images/2021/04/10/us/10virus-michigan-sub/10virus-michigan-sub-thumbStandard.jpg" "https://static01.nyt.com/images/2021/04/10/us/10virus-michigan-sub/10virus-michigan-sub-mediumThreeByTwo210.jpg" "https://static01.nyt.com/images/2021/04/10/us/10virus-michigan-sub/10virus-michigan-sub-mediumThreeByTwo440.jpg"
##   .. .. .. .. ..$ format: chr [1:3] "Standard Thumbnail" "mediumThreeByTwo210" "mediumThreeByTwo440"
##   .. .. .. .. ..$ height: int [1:3] 75 140 293
##   .. .. .. .. ..$ width : int [1:3] 75 210 440
##   .. ..$ :'data.frame':  0 obs. of  0 variables
##   .. ..$ :'data.frame':  1 obs. of  6 variables:
##   .. .. ..$ type                    : chr "image"
##   .. .. ..$ subtype                 : chr "photo"
##   .. .. ..$ caption                 : chr "Kristen Hostetter, a fourth-grade teacher, marching in Washington. "
##   .. .. ..$ copyright               : chr "via Instagram"
##   .. .. ..$ approved_for_syndication: int 0
##   .. .. ..$ media-metadata          :List of 1
##   .. .. .. ..$ :'data.frame':    3 obs. of  4 variables:
##   .. .. .. .. ..$ url   : chr [1:3] "https://static01.nyt.com/images/2021/04/09/multimedia/00riot-teacher-kristine/00riot-teacher-kristine-thumbStandard.jpg" "https://static01.nyt.com/images/2021/04/09/multimedia/00riot-teacher-kristine/00riot-teacher-kristine-mediumThreeByTwo210.jpg" "https://static01.nyt.com/images/2021/04/09/multimedia/00riot-teacher-kristine/00riot-teacher-kristine-mediumThreeByTwo440.jpg"
##   .. .. .. .. ..$ format: chr [1:3] "Standard Thumbnail" "mediumThreeByTwo210" "mediumThreeByTwo440"
##   .. .. .. .. ..$ height: int [1:3] 75 140 293
##   .. .. .. .. ..$ width : int [1:3] 75 210 440
##   .. ..$ :'data.frame':  1 obs. of  6 variables:
##   .. .. ..$ type                    : chr "image"
##   .. .. ..$ subtype                 : chr "photo"
##   .. .. ..$ caption                 : chr "Katalin Kariko at her home in Jenkintown, Pa., in February. Dr. Kariko’s early research into mRNA eventually le"| __truncated__
##   .. .. ..$ copyright               : chr "Hannah Yoon"
##   .. .. ..$ approved_for_syndication: int 1
##   .. .. ..$ media-metadata          :List of 1
##   .. .. .. ..$ :'data.frame':    3 obs. of  4 variables:
##   .. .. .. .. ..$ url   : chr [1:3] "https://static01.nyt.com/images/2021/04/02/science/00virus-kariko-1/00virus-kariko-1-thumbStandard.jpg" "https://static01.nyt.com/images/2021/04/02/science/00virus-kariko-1/00virus-kariko-1-mediumThreeByTwo210.jpg" "https://static01.nyt.com/images/2021/04/02/science/00virus-kariko-1/00virus-kariko-1-mediumThreeByTwo440.jpg"
##   .. .. .. .. ..$ format: chr [1:3] "Standard Thumbnail" "mediumThreeByTwo210" "mediumThreeByTwo440"
##   .. .. .. .. ..$ height: int [1:3] 75 140 293
##   .. .. .. .. ..$ width : int [1:3] 75 210 440
##   .. ..$ :'data.frame':  1 obs. of  6 variables:
##   .. .. ..$ type                    : chr "image"
##   .. .. ..$ subtype                 : chr "photo"
##   .. .. ..$ caption                 : chr "Philip in 1966. He was often seen in public dressed in full military regalia, an emblem of his high-ranking tit"| __truncated__
##   .. .. ..$ copyright               : chr "Campress, via Associated Press"
##   .. .. ..$ approved_for_syndication: int 1
##   .. .. ..$ media-metadata          :List of 1
##   .. .. .. ..$ :'data.frame':    3 obs. of  4 variables:
##   .. .. .. .. ..$ url   : chr [1:3] "https://static01.nyt.com/images/2016/08/03/world/philip-obituary-1966/philip-obituary-3-thumbStandard.jpg" "https://static01.nyt.com/images/2016/08/03/world/philip-obituary-1966/philip-obituary-3-mediumThreeByTwo210.jpg" "https://static01.nyt.com/images/2016/08/03/world/philip-obituary-1966/philip-obituary-3-mediumThreeByTwo440.jpg"
##   .. .. .. .. ..$ format: chr [1:3] "Standard Thumbnail" "mediumThreeByTwo210" "mediumThreeByTwo440"
##   .. .. .. .. ..$ height: int [1:3] 75 140 293
##   .. .. .. .. ..$ width : int [1:3] 75 210 440
##   .. ..$ :'data.frame':  1 obs. of  6 variables:
##   .. .. ..$ type                    : chr "image"
##   .. .. ..$ subtype                 : chr "photo"
##   .. .. ..$ caption                 : chr "Carl Hart of Columbia University says that most of the millions of Americans who use illegal drugs have overwhe"| __truncated__
##   .. .. ..$ copyright               : chr "Simbarashe Cha for The New York Times"
##   .. .. ..$ approved_for_syndication: int 1
##   .. .. ..$ media-metadata          :List of 1
##   .. .. .. ..$ :'data.frame':    3 obs. of  4 variables:
##   .. .. .. .. ..$ url   : chr [1:3] "https://static01.nyt.com/images/2021/04/11/nyregion/11carlhart/00carlhart-thumbStandard.jpg" "https://static01.nyt.com/images/2021/04/11/nyregion/11carlhart/00carlhart-mediumThreeByTwo210.jpg" "https://static01.nyt.com/images/2021/04/11/nyregion/11carlhart/00carlhart-mediumThreeByTwo440.jpg"
##   .. .. .. .. ..$ format: chr [1:3] "Standard Thumbnail" "mediumThreeByTwo210" "mediumThreeByTwo440"
##   .. .. .. .. ..$ height: int [1:3] 75 140 293
##   .. .. .. .. ..$ width : int [1:3] 75 210 440
##   .. ..$ :'data.frame':  1 obs. of  6 variables:
##   .. .. ..$ type                    : chr "image"
##   .. .. ..$ subtype                 : chr "photo"
##   .. .. ..$ caption                 : chr "The town of Krasnik has become central to a debate over traditional and modern values in Poland."
##   .. .. ..$ copyright               : chr "Kasia Strek for The New York Times"
##   .. .. ..$ approved_for_syndication: int 1
##   .. .. ..$ media-metadata          :List of 1
##   .. .. .. ..$ :'data.frame':    3 obs. of  4 variables:
##   .. .. .. .. ..$ url   : chr [1:3] "https://static01.nyt.com/images/2021/04/03/world/xxpoland-lgbt-01/xxpoland-lgbt-01-thumbStandard-v2.jpg" "https://static01.nyt.com/images/2021/04/03/world/xxpoland-lgbt-01/xxpoland-lgbt-01-mediumThreeByTwo210-v2.jpg" "https://static01.nyt.com/images/2021/04/03/world/xxpoland-lgbt-01/xxpoland-lgbt-01-mediumThreeByTwo440-v2.jpg"
##   .. .. .. .. ..$ format: chr [1:3] "Standard Thumbnail" "mediumThreeByTwo210" "mediumThreeByTwo440"
##   .. .. .. .. ..$ height: int [1:3] 75 140 293
##   .. .. .. .. ..$ width : int [1:3] 75 210 440
##   .. ..$ :'data.frame':  1 obs. of  6 variables:
##   .. .. ..$ type                    : chr "image"
##   .. .. ..$ subtype                 : chr "photo"
##   .. .. ..$ caption                 : chr ""
##   .. .. ..$ copyright               : chr "Kholood Eid for The New York Times"
##   .. .. ..$ approved_for_syndication: int 1
##   .. .. ..$ media-metadata          :List of 1
##   .. .. .. ..$ :'data.frame':    3 obs. of  4 variables:
##   .. .. .. .. ..$ url   : chr [1:3] "https://static01.nyt.com/images/2021/04/02/opinion/02nitfeld2/02nitfeld2-thumbStandard.jpg" "https://static01.nyt.com/images/2021/04/02/opinion/02nitfeld2/02nitfeld2-mediumThreeByTwo210.jpg" "https://static01.nyt.com/images/2021/04/02/opinion/02nitfeld2/02nitfeld2-mediumThreeByTwo440.jpg"
##   .. .. .. .. ..$ format: chr [1:3] "Standard Thumbnail" "mediumThreeByTwo210" "mediumThreeByTwo440"
##   .. .. .. .. ..$ height: int [1:3] 75 140 293
##   .. .. .. .. ..$ width : int [1:3] 75 210 440
##   .. ..$ :'data.frame':  1 obs. of  6 variables:
##   .. .. ..$ type                    : chr "image"
##   .. .. ..$ subtype                 : chr "photo"
##   .. .. ..$ caption                 : chr "Debra Hunter said she felt remorse and guilt from “one very poor decision” that cost her three children nearly "| __truncated__
##   .. .. ..$ copyright               : chr "Heather Reed Sprague"
##   .. .. ..$ approved_for_syndication: int 1
##   .. .. ..$ media-metadata          :List of 1
##   .. .. .. ..$ :'data.frame':    3 obs. of  4 variables:
##   .. .. .. .. ..$ url   : chr [1:3] "https://static01.nyt.com/images/2021/04/09/us/09xp-cough/09xp-cough-thumbStandard.jpg" "https://static01.nyt.com/images/2021/04/09/us/09xp-cough/09xp-cough-mediumThreeByTwo210.jpg" "https://static01.nyt.com/images/2021/04/09/us/09xp-cough/09xp-cough-mediumThreeByTwo440.jpg"
##   .. .. .. .. ..$ format: chr [1:3] "Standard Thumbnail" "mediumThreeByTwo210" "mediumThreeByTwo440"
##   .. .. .. .. ..$ height: int [1:3] 75 140 293
##   .. .. .. .. ..$ width : int [1:3] 75 210 440
##   .. ..$ :'data.frame':  1 obs. of  6 variables:
##   .. .. ..$ type                    : chr "image"
##   .. .. ..$ subtype                 : chr "photo"
##   .. .. ..$ caption                 : chr "Republicans in the party would like to maintain the energy that propelled former President Donald J. Trump with"| __truncated__
##   .. .. ..$ copyright               : chr "Erin Schaff/The New York Times"
##   .. .. ..$ approved_for_syndication: int 1
##   .. .. ..$ media-metadata          :List of 1
##   .. .. .. ..$ :'data.frame':    3 obs. of  4 variables:
##   .. .. .. .. ..$ url   : chr [1:3] "https://static01.nyt.com/images/2021/04/11/us/politics/11RNC-RETREAT-print1a/10RNC-RETREAT1-thumbStandard.jpg" "https://static01.nyt.com/images/2021/04/11/us/politics/11RNC-RETREAT-print1a/10RNC-RETREAT1-mediumThreeByTwo210.jpg" "https://static01.nyt.com/images/2021/04/11/us/politics/11RNC-RETREAT-print1a/10RNC-RETREAT1-mediumThreeByTwo440.jpg"
##   .. .. .. .. ..$ format: chr [1:3] "Standard Thumbnail" "mediumThreeByTwo210" "mediumThreeByTwo440"
##   .. .. .. .. ..$ height: int [1:3] 75 140 293
##   .. .. .. .. ..$ width : int [1:3] 75 210 440
##   .. ..$ :'data.frame':  1 obs. of  6 variables:
##   .. .. ..$ type                    : chr "image"
##   .. .. ..$ subtype                 : chr "photo"
##   .. .. ..$ caption                 : chr "A hotel room in Long Beach, Wash., being fogged with sanitizer. “There’s really no evidence that anyone has eve"| __truncated__
##   .. .. ..$ copyright               : chr "Celeste Noche for The New York Times"
##   .. .. ..$ approved_for_syndication: int 1
##   .. .. ..$ media-metadata          :List of 1
##   .. .. .. ..$ :'data.frame':    3 obs. of  4 variables:
##   .. .. .. .. ..$ url   : chr [1:3] "https://static01.nyt.com/images/2021/04/08/science/08VIRUS-SURFACES1/08VIRUS-SURFACES1-thumbStandard.jpg" "https://static01.nyt.com/images/2021/04/08/science/08VIRUS-SURFACES1/08VIRUS-SURFACES1-mediumThreeByTwo210.jpg" "https://static01.nyt.com/images/2021/04/08/science/08VIRUS-SURFACES1/08VIRUS-SURFACES1-mediumThreeByTwo440.jpg"
##   .. .. .. .. ..$ format: chr [1:3] "Standard Thumbnail" "mediumThreeByTwo210" "mediumThreeByTwo440"
##   .. .. .. .. ..$ height: int [1:3] 75 140 293
##   .. .. .. .. ..$ width : int [1:3] 75 210 440
##   .. ..$ :'data.frame':  1 obs. of  6 variables:
##   .. .. ..$ type                    : chr "image"
##   .. .. ..$ subtype                 : chr "photo"
##   .. .. ..$ caption                 : chr ""
##   .. .. ..$ copyright               : chr "Rose Wong"
##   .. .. ..$ approved_for_syndication: int 1
##   .. .. ..$ media-metadata          :List of 1
##   .. .. .. ..$ :'data.frame':    3 obs. of  4 variables:
##   .. .. .. .. ..$ url   : chr [1:3] "https://static01.nyt.com/images/2021/04/07/well/07parenting-travel-safe/07parenting-travel-safe-thumbStandard.jpg" "https://static01.nyt.com/images/2021/04/07/well/07parenting-travel-safe/07parenting-travel-safe-mediumThreeByTwo210.jpg" "https://static01.nyt.com/images/2021/04/07/well/07parenting-travel-safe/07parenting-travel-safe-mediumThreeByTwo440.jpg"
##   .. .. .. .. ..$ format: chr [1:3] "Standard Thumbnail" "mediumThreeByTwo210" "mediumThreeByTwo440"
##   .. .. .. .. ..$ height: int [1:3] 75 140 293
##   .. .. .. .. ..$ width : int [1:3] 75 210 440
##   .. ..$ :'data.frame':  1 obs. of  6 variables:
##   .. .. ..$ type                    : chr "image"
##   .. .. ..$ subtype                 : chr "photo"
##   .. .. ..$ caption                 : chr "Graves from 2020 and 2021 at the Rubezhnoye cemetry on the outskirts of Samara, Russia."
##   .. .. ..$ copyright               : chr "Emile Ducke for The New York Times"
##   .. .. ..$ approved_for_syndication: int 1
##   .. .. ..$ media-metadata          :List of 1
##   .. .. .. ..$ :'data.frame':    3 obs. of  4 variables:
##   .. .. .. .. ..$ url   : chr [1:3] "https://static01.nyt.com/images/2021/03/31/world/00russia-deaths1/merlin_185548035_3205b01f-a038-4e05-9a5a-9e51"| __truncated__ "https://static01.nyt.com/images/2021/03/31/world/00russia-deaths1/merlin_185548035_3205b01f-a038-4e05-9a5a-9e51"| __truncated__ "https://static01.nyt.com/images/2021/03/31/world/00russia-deaths1/merlin_185548035_3205b01f-a038-4e05-9a5a-9e51"| __truncated__
##   .. .. .. .. ..$ format: chr [1:3] "Standard Thumbnail" "mediumThreeByTwo210" "mediumThreeByTwo440"
##   .. .. .. .. ..$ height: int [1:3] 75 140 293
##   .. .. .. .. ..$ width : int [1:3] 75 210 440
##   .. ..$ :'data.frame':  1 obs. of  6 variables:
##   .. .. ..$ type                    : chr "image"
##   .. .. ..$ subtype                 : chr "photo"
##   .. .. ..$ caption                 : chr "Smoke and ash billow from La Soufriere on St. Vincent on Friday."
##   .. .. ..$ copyright               : chr "Robertson S. Henry/Reuters"
##   .. .. ..$ approved_for_syndication: int 1
##   .. .. ..$ media-metadata          :List of 1
##   .. .. .. ..$ :'data.frame':    3 obs. of  4 variables:
##   .. .. .. .. ..$ url   : chr [1:3] "https://static01.nyt.com/images/2021/04/09/world/09VOLCANO-TOP-SUB/09VOLCANO-TOP-SUB-thumbStandard.jpg" "https://static01.nyt.com/images/2021/04/09/world/09VOLCANO-TOP-SUB/merlin_186187077_e5ee721f-ff09-4c7c-9a4c-39c"| __truncated__ "https://static01.nyt.com/images/2021/04/09/world/09VOLCANO-TOP-SUB/merlin_186187077_e5ee721f-ff09-4c7c-9a4c-39c"| __truncated__
##   .. .. .. .. ..$ format: chr [1:3] "Standard Thumbnail" "mediumThreeByTwo210" "mediumThreeByTwo440"
##   .. .. .. .. ..$ height: int [1:3] 75 140 293
##   .. .. .. .. ..$ width : int [1:3] 75 210 440
##   .. ..$ :'data.frame':  1 obs. of  6 variables:
##   .. .. ..$ type                    : chr "image"
##   .. .. ..$ subtype                 : chr "photo"
##   .. .. ..$ caption                 : chr ""
##   .. .. ..$ copyright               : chr "Camila Falquez for The New York Times"
##   .. .. ..$ approved_for_syndication: int 1
##   .. .. ..$ media-metadata          :List of 1
##   .. .. .. ..$ :'data.frame':    3 obs. of  4 variables:
##   .. .. .. .. ..$ url   : chr [1:3] "https://static01.nyt.com/images/2021/04/11/fashion/00findom1/00findom1-thumbStandard.jpg" "https://static01.nyt.com/images/2021/04/11/fashion/00findom1/00findom1-mediumThreeByTwo210.jpg" "https://static01.nyt.com/images/2021/04/11/fashion/00findom1/00findom1-mediumThreeByTwo440.jpg"
##   .. .. .. .. ..$ format: chr [1:3] "Standard Thumbnail" "mediumThreeByTwo210" "mediumThreeByTwo440"
##   .. .. .. .. ..$ height: int [1:3] 75 140 293
##   .. .. .. .. ..$ width : int [1:3] 75 210 440
##   .. ..$ :'data.frame':  0 obs. of  0 variables
##   .. ..$ :'data.frame':  1 obs. of  6 variables:
##   .. .. ..$ type                    : chr "image"
##   .. .. ..$ subtype                 : chr "photo"
##   .. .. ..$ caption                 : chr "“This is our Mars rover landing moment,” said Chris Polly, a physicist at the Fermi National Accele"| __truncated__
##   .. .. ..$ copyright               : chr "Reidar Hahn/Fermilab, via US Department of Energy"
##   .. .. ..$ approved_for_syndication: int 0
##   .. .. ..$ media-metadata          :List of 1
##   .. .. .. ..$ :'data.frame':    3 obs. of  4 variables:
##   .. .. .. .. ..$ url   : chr [1:3] "https://static01.nyt.com/images/2021/04/09/science/07FERMILAB2/07FERMILAB2-thumbStandard-v2.jpg" "https://static01.nyt.com/images/2021/04/09/science/07FERMILAB2/07FERMILAB2-mediumThreeByTwo210-v2.jpg" "https://static01.nyt.com/images/2021/04/09/science/07FERMILAB2/07FERMILAB2-mediumThreeByTwo440-v2.jpg"
##   .. .. .. .. ..$ format: chr [1:3] "Standard Thumbnail" "mediumThreeByTwo210" "mediumThreeByTwo440"
##   .. .. .. .. ..$ height: int [1:3] 75 140 293
##   .. .. .. .. ..$ width : int [1:3] 75 210 440
##   .. ..$ :'data.frame':  1 obs. of  6 variables:
##   .. .. ..$ type                    : chr "image"
##   .. .. ..$ subtype                 : chr "photo"
##   .. .. ..$ caption                 : chr "Tucker Carlson, in an appearance on Fox News on Thursday, argued that the Democratic Party was “trying to repla"| __truncated__
##   .. .. ..$ copyright               : chr "Richard Drew/Associated Press"
##   .. .. ..$ approved_for_syndication: int 1
##   .. .. ..$ media-metadata          :List of 1
##   .. .. .. ..$ :'data.frame':    3 obs. of  4 variables:
##   .. .. .. .. ..$ url   : chr [1:3] "https://static01.nyt.com/images/2021/04/09/us/politics/09new-washington-briefing-great-replacement/09new-washin"| __truncated__ "https://static01.nyt.com/images/2021/04/09/us/politics/09new-washington-briefing-great-replacement/merlin_18490"| __truncated__ "https://static01.nyt.com/images/2021/04/09/us/politics/09new-washington-briefing-great-replacement/merlin_18490"| __truncated__
##   .. .. .. .. ..$ format: chr [1:3] "Standard Thumbnail" "mediumThreeByTwo210" "mediumThreeByTwo440"
##   .. .. .. .. ..$ height: int [1:3] 75 140 293
##   .. .. .. .. ..$ width : int [1:3] 75 210 440
##   .. ..$ :'data.frame':  1 obs. of  6 variables:
##   .. .. ..$ type                    : chr "image"
##   .. .. ..$ subtype                 : chr "photo"
##   .. .. ..$ caption                 : chr "Queen Elizabeth II and Prince Philip in 1951."
##   .. .. ..$ copyright               : chr "Yousuf Karsh"
##   .. .. ..$ approved_for_syndication: int 0
##   .. .. ..$ media-metadata          :List of 1
##   .. .. .. ..$ :'data.frame':    3 obs. of  4 variables:
##   .. .. .. .. ..$ url   : chr [1:3] "https://static01.nyt.com/images/2021/03/17/opinion/00brit1/00brit1-thumbStandard.jpg" "https://static01.nyt.com/images/2021/03/17/opinion/00brit1/00brit1-mediumThreeByTwo210.jpg" "https://static01.nyt.com/images/2021/03/17/opinion/00brit1/00brit1-mediumThreeByTwo440.jpg"
##   .. .. .. .. ..$ format: chr [1:3] "Standard Thumbnail" "mediumThreeByTwo210" "mediumThreeByTwo440"
##   .. .. .. .. ..$ height: int [1:3] 75 140 293
##   .. .. .. .. ..$ width : int [1:3] 75 210 440
##   .. ..$ :'data.frame':  1 obs. of  6 variables:
##   .. .. ..$ type                    : chr "image"
##   .. .. ..$ subtype                 : chr "photo"
##   .. .. ..$ caption                 : chr ""
##   .. .. ..$ copyright               : chr "Brian Britigan"
##   .. .. ..$ approved_for_syndication: int 1
##   .. .. ..$ media-metadata          :List of 1
##   .. .. .. ..$ :'data.frame':    3 obs. of  4 variables:
##   .. .. .. .. ..$ url   : chr [1:3] "https://static01.nyt.com/images/2021/04/10/business/09Adviser-illo/09Adviser-illo-thumbStandard.jpg" "https://static01.nyt.com/images/2021/04/10/business/09Adviser-illo/09Adviser-illo-mediumThreeByTwo210.jpg" "https://static01.nyt.com/images/2021/04/10/business/09Adviser-illo/09Adviser-illo-mediumThreeByTwo440.jpg"
##   .. .. .. .. ..$ format: chr [1:3] "Standard Thumbnail" "mediumThreeByTwo210" "mediumThreeByTwo440"
##   .. .. .. .. ..$ height: int [1:3] 75 140 293
##   .. .. .. .. ..$ width : int [1:3] 75 210 440
##   ..$ eta_id        : int [1:20] 0 0 0 0 0 0 0 0 0 0 ...