Jonkman Microblog
  • Login
Show Navigation
  • Public

    • Public
    • Network
    • Groups
    • Popular
    • People

Conversation

Notices

  1. Gwmngilfen (gwmngilfen@fosstodon.org)'s status on Wednesday, 22-Aug-2018 13:41:17 EDT Gwmngilfen Gwmngilfen

    Do any #rstats people have good solutions for grabbing data from JSON APIs into a data.frame where the results have an unequal number of fields? And to complicate, some fields are further nested frames?

    I'm slowly figuring out a solution that loops over each URL, and then merges using plyr::rbind.fill() - but that doesn't like the nested frames. Looking at flattening the structure now, but I figured I'd check I'm on a good track...

    #rstats #data #json #api #MessyData

    In conversation Wednesday, 22-Aug-2018 13:41:17 EDT from fosstodon.org permalink
  • Help
  • About
  • FAQ
  • TOS
  • Privacy
  • Source
  • Version
  • Contact

Jonkman Microblog is a social network, courtesy of SOBAC Microcomputer Services. It runs on GNU social, version 1.2.0-beta5, available under the GNU Affero General Public License.

Creative Commons Attribution 3.0 All Jonkman Microblog content and data are available under the Creative Commons Attribution 3.0 license.

Switch to desktop site layout.