parse_json: Parse a json file

Description Usage Arguments Value Examples

View source: R/parse_json.R

Description

parse_json parse a json file based on specific configuration.

Usage

1
parse_json(path = NULL, type = NULL, input_argument = NULL)

Arguments

path

String that specify file location

type

String. Specify the parsing type. Possible values: comments (a json file comes from get_comments), media (a json file comes from get_media), or profiles (a json file comes from get_profiles).

input_argument

String. Specify the first argument you use in function get_comments, get_media, and get_profiles. Possible values: username, tag, location, or none.

Value

A tibble

Examples

1
2
3
4
## Not run: 
parse_json("x/x.json", type = "profiles", input_argument = "none")

## End(Not run)

technaut-education/instascraper documentation built on June 13, 2021, 7:42 a.m.