Closed helendduncan closed 7 months ago
Proposed workflow change - including with data read in
data_sources = list(
ae2 = from_csv(“./ae2.csv”),
smr04 = smr04
)
Users specify if file or dataframe
Or specify if reading
features = c(
from_string(“{…}”),
from_json(“combine.json”)
)
jsonlite function will work the same for both string and file so for this issue it would be a case of tidying up the logging etc
Hi Helen — sorry just running through this very quickly before heading out to AIUK. Couple of very quick questions
from_string()
and from_file()
?Hi Helen — sorry just running through this very quickly before heading out to AIUK. Couple of very quick questions
- Could you construct an example where there are two features, one read from a JSON file and one read from a string and stick it in the docs? This is quite low priority, let me know if you'd like me to do it after we get this merged
- Did we decide on whether to use functions like
from_string()
andfrom_file()
?
jsonlite
function responds the same to string and files anyway
Add example and update logs for reading json string directly. Closes #58