根据字符串值提取数据

时间:2018-07-20 06:09:58

标签: r

我需要帮助从该字符串中提取数据,这是ga自定义维度。我有100000行,这是一个测试用例,所有数据都与此字符串相同。

结果

a)我只想在单词查询后提取值,这是3 bhk尝试grepl,但没有用

b)我想分解所有双引号示例过滤器,实体,搜索ID的值......直到traffic_sourcemedium并将所有结果存储在不同的列中

{"filters":{"entity":{"search_city_id":"0b71e081339939e6a43a"}},"error":{},"query":"3 bhk","response":{"totalCount":0,"statusCode":"2XX","version":"A","data":{"templates":[],"filters":{"apartment_type_id":"4"},"modelFilters":{"SORTORDER":{"start":0,"end":1,"text":""},"BHK":{"start":1,"end":3,"text":"3 bhk"}}}},"service":"buy","experiments":{"map_marker":"true","seed_ab_new":"true","search_count":"false","crfv2":"true","moonDragon":"true"},"device":{"device":"desktop","browser":"chrome"},"url":"in_buy_real_estate_vadodara","previous_url":"","time_stamp":1531982158065,"huid":"c27cb9db8bb0fa372122849134fcf90c","uid":"81332890","sid":6,"count":2859,"algo_profile":"user_profile","algo_type":"MC","traffic_sourcemedium":"google / organic"}

0 个答案:

没有答案