Toniiiio / sivis

Turn browser clicks into reproducible scraping code.
10 stars 1 forks source link

Make target values optional in find_doc_type #4

Open Toniiiio opened 4 years ago

Toniiiio commented 4 years ago

find_doc_type requires the user to provide target values in order to specify the present document type.

Example: data("doc_json_in_code") find_doc_type(response_string = doc_json_in_code, target_values = "target_text")

Advantage of making the target values optional:

Disadvantage:

--> If the function is required in another context, adapt to a custom function for that context.